Class: Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/google/apis/servicemanagement_v1/representations.rb 
Overview
Request message for SubmitConfigSource method.
Instance Attribute Summary collapse
- 
  
    
      #config_source  ⇒ Google::Apis::ServicemanagementV1::ConfigSource 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents a source file which is used to generate the service configuration defined by
google.api.Service. - 
  
    
      #validate_only  ⇒ Boolean 
    
    
      (also: #validate_only?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SubmitConfigSourceRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SubmitConfigSourceRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ SubmitConfigSourceRequest
Returns a new instance of SubmitConfigSourceRequest.
      4337 4338 4339  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 4337 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#config_source ⇒ Google::Apis::ServicemanagementV1::ConfigSource
Represents a source file which is used to generate the service configuration
defined by google.api.Service.
Corresponds to the JSON property configSource
      4327 4328 4329  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 4327 def config_source @config_source end  | 
  
#validate_only ⇒ Boolean Also known as: validate_only?
Optional. If set, this will result in the generation of a google.api.Service
configuration based on the ConfigSource provided, but the generated config
and the sources will NOT be persisted.
Corresponds to the JSON property validateOnly
      4334 4335 4336  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 4334 def validate_only @validate_only end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4342 4343 4344 4345  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 4342 def update!(**args) @config_source = args[:config_source] if args.key?(:config_source) @validate_only = args[:validate_only] if args.key?(:validate_only) end  |