GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType (google_api_cloud_run v0.42.0) View Source

ServiceSpecReleaseType contains the options for slowly releasing revisions. See ServiceSpec for more details. Not currently supported by Cloud Run.


  • configuration (type: GoogleApi.CloudRun.V1alpha1.Model.ConfigurationSpec.t, default: nil) - The configuration for this service. All revisions from this service must come from a single configuration.
  • revisions (type: list(String.t), default: nil) - 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.
  • rolloutPercent (type: integer(), default: nil) - 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.