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

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.2 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.10 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**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Protobuf-Timestamp)) --- Creation time of the rollout. Readonly.

### #create_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Protobuf-Timestamp)) --- Creation time of the rollout. Readonly.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Protobuf-Timestamp)) --- Creation time of the rollout. Readonly.

### #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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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**

- ([::Google::Cloud::ServiceManagement::V1::Rollout::RolloutStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-Rollout-RolloutStatus)) --- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

### #status=

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

**Parameter**

- **value** ([::Google::Cloud::ServiceManagement::V1::Rollout::RolloutStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-Rollout-RolloutStatus)) --- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
**Returns**

- ([::Google::Cloud::ServiceManagement::V1::Rollout::RolloutStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-Rollout-RolloutStatus)) --- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

### #traffic_percent_strategy

    def traffic_percent_strategy() -> ::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy

**Returns**

- ([::Google::Cloud::ServiceManagement::V1::Rollout::TrafficPercentStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/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.