View Source GoogleApi.CloudDeploy.V1.Model.Release (google_api_cloud_deploy v0.6.0)

A Release resource in the Cloud Deploy API. A Release defines a specific Skaffold configuration instance that can be deployed.

Attributes

  • abandoned (type: boolean(), default: nil) - Output only. Indicates whether this is an abandoned release.
  • annotations (type: map(), default: nil) - User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
  • buildArtifacts (type: list(GoogleApi.CloudDeploy.V1.Model.BuildArtifact.t), default: nil) - List of artifacts to pass through to Skaffold command.
  • condition (type: GoogleApi.CloudDeploy.V1.Model.ReleaseCondition.t, default: nil) - Output only. Information around the state of the Release.
  • createTime (type: DateTime.t, default: nil) - Output only. Time at which the Release was created.
  • customTargetTypeSnapshots (type: list(GoogleApi.CloudDeploy.V1.Model.CustomTargetType.t), default: nil) - Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
  • deliveryPipelineSnapshot (type: GoogleApi.CloudDeploy.V1.Model.DeliveryPipeline.t, default: nil) - Output only. Snapshot of the parent pipeline taken at release creation time.
  • deployParameters (type: map(), default: nil) - Optional. The deploy parameters to use for all targets in this release.
  • description (type: String.t, default: nil) - Description of the Release. Max length is 255 characters.
  • etag (type: String.t, default: nil) - This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  • labels (type: map(), default: nil) - Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. Keys must start with a lowercase letter or international character. Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
  • name (type: String.t, default: nil) - Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}.
  • renderEndTime (type: DateTime.t, default: nil) - Output only. Time at which the render completed.
  • renderStartTime (type: DateTime.t, default: nil) - Output only. Time at which the render began.
  • renderState (type: String.t, default: nil) - Output only. Current state of the render operation.
  • skaffoldConfigPath (type: String.t, default: nil) - Filepath of the Skaffold config inside of the config URI.
  • skaffoldConfigUri (type: String.t, default: nil) - Cloud Storage URI of tar.gz archive containing Skaffold configuration.
  • skaffoldVersion (type: String.t, default: nil) - The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.
  • targetArtifacts (type: %{optional(String.t) => GoogleApi.CloudDeploy.V1.Model.TargetArtifact.t}, default: nil) - Output only. Map from target ID to the target artifacts created during the render operation.
  • targetRenders (type: %{optional(String.t) => GoogleApi.CloudDeploy.V1.Model.TargetRender.t}, default: nil) - Output only. Map from target ID to details of the render operation for that target.
  • targetSnapshots (type: list(GoogleApi.CloudDeploy.V1.Model.Target.t), default: nil) - Output only. Snapshot of the targets taken at release creation time.
  • uid (type: String.t, default: nil) - Output only. Unique identifier of the Release.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.Release{
  abandoned: boolean() | nil,
  annotations: map() | nil,
  buildArtifacts: [GoogleApi.CloudDeploy.V1.Model.BuildArtifact.t()] | nil,
  condition: GoogleApi.CloudDeploy.V1.Model.ReleaseCondition.t() | nil,
  createTime: DateTime.t() | nil,
  customTargetTypeSnapshots:
    [GoogleApi.CloudDeploy.V1.Model.CustomTargetType.t()] | nil,
  deliveryPipelineSnapshot:
    GoogleApi.CloudDeploy.V1.Model.DeliveryPipeline.t() | nil,
  deployParameters: map() | nil,
  description: String.t() | nil,
  etag: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  renderEndTime: DateTime.t() | nil,
  renderStartTime: DateTime.t() | nil,
  renderState: String.t() | nil,
  skaffoldConfigPath: String.t() | nil,
  skaffoldConfigUri: String.t() | nil,
  skaffoldVersion: String.t() | nil,
  targetArtifacts:
    %{optional(String.t()) => GoogleApi.CloudDeploy.V1.Model.TargetArtifact.t()}
    | nil,
  targetRenders:
    %{optional(String.t()) => GoogleApi.CloudDeploy.V1.Model.TargetRender.t()}
    | nil,
  targetSnapshots: [GoogleApi.CloudDeploy.V1.Model.Target.t()] | nil,
  uid: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.