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

The request object for RollbackTarget.

Attributes

  • releaseId (type: String.t, default: nil) - Optional. ID of the Release to roll back to. If this isn't specified, the previous successful Rollout to the specified target will be used to determine the Release.
  • rollbackConfig (type: GoogleApi.CloudDeploy.V1.Model.RollbackTargetConfig.t, default: nil) - Optional. Configs for the rollback Rollout.
  • rolloutId (type: String.t, default: nil) - Required. ID of the rollback Rollout to create.
  • rolloutToRollBack (type: String.t, default: nil) - Optional. If provided, this must be the latest Rollout that is on the Target.
  • targetId (type: String.t, default: nil) - Required. ID of the Target that is being rolled back.
  • validateOnly (type: boolean(), default: nil) - Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.RollbackTargetRequest{
  releaseId: String.t() | nil,
  rollbackConfig: GoogleApi.CloudDeploy.V1.Model.RollbackTargetConfig.t() | nil,
  rolloutId: String.t() | nil,
  rolloutToRollBack: String.t() | nil,
  targetId: String.t() | nil,
  validateOnly: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.