Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::Stage.
Stage specifies a location to which to deploy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deploy_parameters
def deploy_parameters() -> ::Array<::Google::Cloud::Deploy::V1::DeployParameters>
Returns
- (::Array<::Google::Cloud::Deploy::V1::DeployParameters>) — Optional. The deploy parameters to use for the target in this stage.
#deploy_parameters=
def deploy_parameters=(value) -> ::Array<::Google::Cloud::Deploy::V1::DeployParameters>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::DeployParameters>) — Optional. The deploy parameters to use for the target in this stage.
Returns
- (::Array<::Google::Cloud::Deploy::V1::DeployParameters>) — Optional. The deploy parameters to use for the target in this stage.
#profiles
def profiles() -> ::Array<::String>
Returns
-
(::Array<::String>) — Skaffold profiles to use when rendering the manifest for this stage's
Target
.
#profiles=
def profiles=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Skaffold profiles to use when rendering the manifest for this stage's
Target
.
Returns
-
(::Array<::String>) — Skaffold profiles to use when rendering the manifest for this stage's
Target
.
#strategy
def strategy() -> ::Google::Cloud::Deploy::V1::Strategy
Returns
-
(::Google::Cloud::Deploy::V1::Strategy) — Optional. The strategy to use for a
Rollout
to this stage.
#strategy=
def strategy=(value) -> ::Google::Cloud::Deploy::V1::Strategy
Parameter
-
value (::Google::Cloud::Deploy::V1::Strategy) — Optional. The strategy to use for a
Rollout
to this stage.
Returns
-
(::Google::Cloud::Deploy::V1::Strategy) — Optional. The strategy to use for a
Rollout
to this stage.
#target_id
def target_id() -> ::String
Returns
-
(::String) — The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
#target_id=
def target_id=(value) -> ::String
Parameter
-
value (::String) — The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.
Returns
-
(::String) — The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather thanprojects/project/locations/location/targets/my-target
). The location of theTarget
is inferred to be the same as the location of theDeliveryPipeline
that contains thisStage
.