Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::RollbackTargetRequest (v0.19.1)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::RollbackTargetRequest.

The request object for RollbackTarget.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
Returns
  • (::String) — Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

#release_id

def release_id() -> ::String
Returns
  • (::String) — 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.

#release_id=

def release_id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#rollback_config

def rollback_config() -> ::Google::Cloud::Deploy::V1::RollbackTargetConfig
Returns

#rollback_config=

def rollback_config=(value) -> ::Google::Cloud::Deploy::V1::RollbackTargetConfig
Parameter
Returns

#rollout_id

def rollout_id() -> ::String
Returns
  • (::String) — Required. ID of the rollback Rollout to create.

#rollout_id=

def rollout_id=(value) -> ::String
Parameter
  • value (::String) — Required. ID of the rollback Rollout to create.
Returns
  • (::String) — Required. ID of the rollback Rollout to create.

#rollout_to_roll_back

def rollout_to_roll_back() -> ::String
Returns
  • (::String) — Optional. If provided, this must be the latest Rollout that is on the Target.

#rollout_to_roll_back=

def rollout_to_roll_back=(value) -> ::String
Parameter
  • value (::String) — Optional. If provided, this must be the latest Rollout that is on the Target.
Returns
  • (::String) — Optional. If provided, this must be the latest Rollout that is on the Target.

#target_id

def target_id() -> ::String
Returns
  • (::String) — Required. ID of the Target that is being rolled back.

#target_id=

def target_id=(value) -> ::String
Parameter
  • value (::String) — Required. ID of the Target that is being rolled back.
Returns
  • (::String) — Required. ID of the Target that is being rolled back.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.
Returns
  • (::Boolean) — Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.