Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::Strategy (v1.6.0)

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

Strategy contains deployment strategy information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#canary

def canary() -> ::Google::Cloud::Deploy::V1::Canary
Returns
  • (::Google::Cloud::Deploy::V1::Canary) — Canary deployment strategy provides progressive percentage based deployments to a Target.

    Note: The following fields are mutually exclusive: canary, standard. If a field in that set is populated, all other fields in the set will automatically be cleared.

#canary=

def canary=(value) -> ::Google::Cloud::Deploy::V1::Canary
Parameter
  • value (::Google::Cloud::Deploy::V1::Canary) — Canary deployment strategy provides progressive percentage based deployments to a Target.

    Note: The following fields are mutually exclusive: canary, standard. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Deploy::V1::Canary) — Canary deployment strategy provides progressive percentage based deployments to a Target.

    Note: The following fields are mutually exclusive: canary, standard. If a field in that set is populated, all other fields in the set will automatically be cleared.

#standard

def standard() -> ::Google::Cloud::Deploy::V1::Standard
Returns
  • (::Google::Cloud::Deploy::V1::Standard) — Standard deployment strategy executes a single deploy and allows verifying the deployment.

    Note: The following fields are mutually exclusive: standard, canary. If a field in that set is populated, all other fields in the set will automatically be cleared.

#standard=

def standard=(value) -> ::Google::Cloud::Deploy::V1::Standard
Parameter
  • value (::Google::Cloud::Deploy::V1::Standard) — Standard deployment strategy executes a single deploy and allows verifying the deployment.

    Note: The following fields are mutually exclusive: standard, canary. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Deploy::V1::Standard) — Standard deployment strategy executes a single deploy and allows verifying the deployment.

    Note: The following fields are mutually exclusive: standard, canary. If a field in that set is populated, all other fields in the set will automatically be cleared.