google_api_cloud_run v0.1.0 GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType View Source

ServiceSpecReleaseType contains the options for slowly releasing revisions. See ServiceSpec for more details.

Not currently supported by Cloud Run.

Attributes

  • configuration (GoogleApi.CloudRun.V1alpha1.Model.ConfigurationSpec.t): The configuration for this service. All revisions from this service must come from a single configuration. Defaults to nil.
  • revisions (list(String.t)): Revisions is an ordered list of 1 or 2 revisions. The first is the current revision, and the second is the candidate revision. If a single revision is provided, traffic will be pinned at that revision.

"@latest" is a shortcut for usage that refers to the latest created revision by the configuration. Defaults to nil.

  • rolloutPercent (integer()): RolloutPercent is the percent of traffic that should be sent to the candidate revision, i.e. the 2nd revision in the revisions list. Valid values are between 0 and 99 inclusive. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType{
  configuration: GoogleApi.CloudRun.V1alpha1.Model.ConfigurationSpec.t(),
  revisions: [String.t()],
  rolloutPercent: integer()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.