Service Management V1 API - Class Google::Cloud::ServiceManagement::V1::Rollout (v1.2.0)

Reference documentation and code samples for the Service Management V1 API class Google::Cloud::ServiceManagement::V1::Rollout.

A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#created_by

def created_by() -> ::String
Returns
  • (::String) — The user who created the Rollout. Readonly.

#created_by=

def created_by=(value) -> ::String
Parameter
  • value (::String) — The user who created the Rollout. Readonly.
Returns
  • (::String) — The user who created the Rollout. Readonly.

#delete_service_strategy

def delete_service_strategy() -> ::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy
Returns
  • (::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy) — The strategy associated with a rollout to delete a ManagedService. Readonly.

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

#delete_service_strategy=

def delete_service_strategy=(value) -> ::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy
Parameter
  • value (::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy) — The strategy associated with a rollout to delete a ManagedService. Readonly.

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

Returns
  • (::Google::Cloud::ServiceManagement::V1::Rollout::DeleteServiceStrategy) — The strategy associated with a rollout to delete a ManagedService. Readonly.

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

#rollout_id

def rollout_id() -> ::String
Returns
  • (::String) — Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed.

    If not specified by client, the server will generate one. The generated id will have the form of

#rollout_id=

def rollout_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed.

    If not specified by client, the server will generate one. The generated id will have the form of

Returns
  • (::String) — Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed.

    If not specified by client, the server will generate one. The generated id will have the form of

#service_name

def service_name() -> ::String
Returns
  • (::String) — The name of the service associated with this Rollout.

#service_name=

def service_name=(value) -> ::String
Parameter
  • value (::String) — The name of the service associated with this Rollout.
Returns
  • (::String) — The name of the service associated with this Rollout.

#status

def status() -> ::Google::Cloud::ServiceManagement::V1::Rollout::RolloutStatus
Returns

#status=

def status=(value) -> ::Google::Cloud::ServiceManagement::V1::Rollout::RolloutStatus
Parameter
Returns

#traffic_percent_strategy

def traffic_percent_strategy() -> ::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy
Returns
  • (::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy) — Google Service Control selects service configurations based on traffic percentage.

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

#traffic_percent_strategy=

def traffic_percent_strategy=(value) -> ::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy
Parameter
  • value (::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy) — Google Service Control selects service configurations based on traffic percentage.

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

Returns
  • (::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy) — Google Service Control selects service configurations based on traffic percentage.

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