Class: Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceusage_v1beta1/classes.rb,
 generated/google/apis/serviceusage_v1beta1/representations.rb,
 generated/google/apis/serviceusage_v1beta1/representations.rb
Overview
Request message for the BatchEnableServices method.
Instance Attribute Summary collapse
- 
  
    
      #service_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifiers of the services to enable on the project. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BatchEnableServicesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of BatchEnableServicesRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchEnableServicesRequest
Returns a new instance of BatchEnableServicesRequest
| 470 471 472 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 470 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#service_ids ⇒ Array<String>
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.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
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.
Corresponds to the JSON property serviceIds
| 468 469 470 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 468 def service_ids @service_ids end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 475 476 477 | # File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 475 def update!(**args) @service_ids = args[:service_ids] if args.key?(:service_ids) end |