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 rollbackRollout
must be created. The format isprojects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The
DeliveryPipeline
for which the rollbackRollout
must be created. The format isprojects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
Returns
-
(::String) — Required. The
DeliveryPipeline
for which the rollbackRollout
must be created. The format isprojects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
#override_deploy_policy
def override_deploy_policy() -> ::Array<::String>
Returns
-
(::Array<::String>) — Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deploy_policy}
.
#override_deploy_policy=
def override_deploy_policy=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deploy_policy}
.
Returns
-
(::Array<::String>) — Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deploy_policy}
.
#release_id
def release_id() -> ::String
Returns
-
(::String) — Optional. ID of the
Release
to roll back to. If this isn't specified, the previous successfulRollout
to the specified target will be used to determine theRelease
.
#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 successfulRollout
to the specified target will be used to determine theRelease
.
Returns
-
(::String) — Optional. ID of the
Release
to roll back to. If this isn't specified, the previous successfulRollout
to the specified target will be used to determine theRelease
.
#rollback_config
def rollback_config() -> ::Google::Cloud::Deploy::V1::RollbackTargetConfig
Returns
-
(::Google::Cloud::Deploy::V1::RollbackTargetConfig) — Optional. Configs for the rollback
Rollout
.
#rollback_config=
def rollback_config=(value) -> ::Google::Cloud::Deploy::V1::RollbackTargetConfig
Parameter
-
value (::Google::Cloud::Deploy::V1::RollbackTargetConfig) — Optional. Configs for the rollback
Rollout
.
Returns
-
(::Google::Cloud::Deploy::V1::RollbackTargetConfig) — Optional. Configs for the rollback
Rollout
.
#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 theTarget
.
#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 theTarget
.
Returns
-
(::String) — Optional. If provided, this must be the latest
Rollout
that is on theTarget
.
#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
.