Class: Google::Apis::ServicemanagementV1::ConfigFile
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::ConfigFile
 
 
- 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
Generic specification of a source configuration file
Instance Attribute Summary collapse
- 
  
    
      #file_contents  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The bytes that constitute the file.
 - 
  
    
      #file_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The file name of the configuration file (full or relative path).
 - 
  
    
      #file_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of configuration file this represents.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ConfigFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ConfigFile.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ConfigFile
Returns a new instance of ConfigFile.
      881 882 883  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 881 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#file_contents ⇒ String
The bytes that constitute the file.
Corresponds to the JSON property fileContents
NOTE: Values are automatically base64 encoded/decoded in the client library.
      869 870 871  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 869 def file_contents @file_contents end  | 
  
#file_path ⇒ String
The file name of the configuration file (full or relative path).
Corresponds to the JSON property filePath
      874 875 876  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 874 def file_path @file_path end  | 
  
#file_type ⇒ String
The type of configuration file this represents.
Corresponds to the JSON property fileType
      879 880 881  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 879 def file_type @file_type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      886 887 888 889 890  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 886 def update!(**args) @file_contents = args[:file_contents] if args.key?(:file_contents) @file_path = args[:file_path] if args.key?(:file_path) @file_type = args[:file_type] if args.key?(:file_type) end  |