View Source GoogleApi.CloudFunctions.V2.Model.UpgradeInfo (google_api_cloud_functions v0.37.0)

Information related to: A function's eligibility for 1st Gen to 2nd Gen migration Current state of migration for function undergoing migration.

Attributes

  • buildConfig (type: GoogleApi.CloudFunctions.V2.Model.BuildConfig.t, default: nil) - Describes the Build step of the function that builds a container to prepare for 2nd gen upgrade.
  • eventTrigger (type: GoogleApi.CloudFunctions.V2.Model.EventTrigger.t, default: nil) - Describes the Event trigger which has been setup to prepare for 2nd gen upgrade.
  • serviceConfig (type: GoogleApi.CloudFunctions.V2.Model.ServiceConfig.t, default: nil) - Describes the Cloud Run service which has been setup to prepare for 2nd gen upgrade.
  • upgradeState (type: String.t, default: nil) - UpgradeState of the function

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudFunctions.V2.Model.UpgradeInfo{
  buildConfig: GoogleApi.CloudFunctions.V2.Model.BuildConfig.t() | nil,
  eventTrigger: GoogleApi.CloudFunctions.V2.Model.EventTrigger.t() | nil,
  serviceConfig: GoogleApi.CloudFunctions.V2.Model.ServiceConfig.t() | nil,
  upgradeState: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.