Class: Google::Cloud::ServiceUsage::V1::BatchEnableServicesRequest
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceUsage::V1::BatchEnableServicesRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/serviceusage/v1/serviceusage.rb
Overview
Request message for the BatchEnableServices
method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Parent to enable services on.
-
#service_ids ⇒ ::Array<::String>
The identifiers of the services to enable on the project.
Instance Attribute Details
#parent ⇒ ::String
Returns Parent to enable services on.
An example name would be:
projects/123
where 123
is the project number.
The BatchEnableServices
method currently only supports projects.
178 179 180 181 |
# File 'proto_docs/google/api/serviceusage/v1/serviceusage.rb', line 178 class BatchEnableServicesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service_ids ⇒ ::Array<::String>
Returns The identifiers of the services to enable on the project.
A valid identifier would be: serviceusage.googleapis.com
Enabling services requires that each service is public or is shared with the user enabling the service.
A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
178 179 180 181 |
# File 'proto_docs/google/api/serviceusage/v1/serviceusage.rb', line 178 class BatchEnableServicesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |