Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb 
Overview
Documentation file contents for a catalog item.
Instance Attribute Summary collapse
- 
  
    
      #contents  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudApigeeV1DocumentationFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudApigeeV1DocumentationFile.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DocumentationFile
Returns a new instance of GoogleCloudApigeeV1DocumentationFile.
      4075 4076 4077  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 4075 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#contents ⇒ String
Required. The file contents. The max size is 4 MB.
Corresponds to the JSON property contents
NOTE: Values are automatically base64 encoded/decoded in the client library.
      4067 4068 4069  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 4067 def contents @contents end  | 
  
#display_name ⇒ String
Required. A display name for the file, shown in the management UI. Max length
is 255 characters.
Corresponds to the JSON property displayName
      4073 4074 4075  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 4073 def display_name @display_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4080 4081 4082 4083  | 
    
      # File 'lib/google/apis/apigee_v1/classes.rb', line 4080 def update!(**args) @contents = args[:contents] if args.key?(:contents) @display_name = args[:display_name] if args.key?(:display_name) end  |