Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb 
Overview
The consumer policy rule that defines enabled services, groups, and categories.
Instance Attribute Summary collapse
- 
  
    
      #services  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The names of the services that are enabled.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleApiServiceusageV2alphaEnableRule 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleApiServiceusageV2alphaEnableRule.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleApiServiceusageV2alphaEnableRule
Returns a new instance of GoogleApiServiceusageV2alphaEnableRule.
      2549 2550 2551  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2549 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#services ⇒ Array<String>
The names of the services that are enabled. Example: services/storage.
googleapis.com.
Corresponds to the JSON property services
      2547 2548 2549  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2547 def services @services end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2554 2555 2556  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2554 def update!(**args) @services = args[:services] if args.key?(:services) end  |