# Service Usage V1 API - Class Google::Cloud::ServiceUsage::V1::EnableServiceResponse (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.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.1 0.2.1 0.1.4 Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::EnableServiceResponse.

Response message for the `EnableService` method.
This response message is assigned to the `response` field of the returned
Operation when that operation is done.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #service

    def service() -> ::Google::Cloud::ServiceUsage::V1::Service

**Returns**

- ([::Google::Cloud::ServiceUsage::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_usage-v1/latest/Google-Cloud-ServiceUsage-V1-Service)) --- The new state of the service after enabling.

### #service=

    def service=(value) -> ::Google::Cloud::ServiceUsage::V1::Service

**Parameter**

- **value** ([::Google::Cloud::ServiceUsage::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_usage-v1/latest/Google-Cloud-ServiceUsage-V1-Service)) --- The new state of the service after enabling.
**Returns**

- ([::Google::Cloud::ServiceUsage::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_usage-v1/latest/Google-Cloud-ServiceUsage-V1-Service)) --- The new state of the service after enabling.