Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse.
Response message for the BatchEnableServices
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
#failures
def failures() -> ::Array<::Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse::EnableFailure>
Returns
- (::Array<::Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse::EnableFailure>) — If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.
#failures=
def failures=(value) -> ::Array<::Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse::EnableFailure>
Parameter
- value (::Array<::Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse::EnableFailure>) — If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.
Returns
- (::Array<::Google::Cloud::ServiceUsage::V1::BatchEnableServicesResponse::EnableFailure>) — If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.
#services
def services() -> ::Array<::Google::Cloud::ServiceUsage::V1::Service>
Returns
- (::Array<::Google::Cloud::ServiceUsage::V1::Service>) — The new state of the services after enabling.
#services=
def services=(value) -> ::Array<::Google::Cloud::ServiceUsage::V1::Service>
Parameter
- value (::Array<::Google::Cloud::ServiceUsage::V1::Service>) — The new state of the services after enabling.
Returns
- (::Array<::Google::Cloud::ServiceUsage::V1::Service>) — The new state of the services after enabling.