Class: Google::Apis::ServicemanagementV1::EnableServiceRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::EnableServiceRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb 
Overview
Request message for EnableService method.
Instance Attribute Summary collapse
- 
  
    
      #consumer_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The identity of consumer resource which service enablement will be applied to.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EnableServiceRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of EnableServiceRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnableServiceRequest
Returns a new instance of EnableServiceRequest
      1250 1251 1252  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1250 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#consumer_id ⇒ String
The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms:
- "project:
" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id. Corresponds to the JSON property consumerId 
      1248 1249 1250  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1248 def consumer_id @consumer_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1255 1256 1257  | 
    
      # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1255 def update!(**args) @consumer_id = args[:consumer_id] if args.key?(:consumer_id) end  |