Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DocumentationFile

Returns a new instance of GoogleCloudApigeeV1DocumentationFile.



4700
4701
4702
# File 'lib/google/apis/apigee_v1/classes.rb', line 4700

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentsString

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.

Returns:

  • (String)


4692
4693
4694
# File 'lib/google/apis/apigee_v1/classes.rb', line 4692

def contents
  @contents
end

#display_nameString

Required. A display name for the file, shown in the management UI. Max length is 255 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


4698
4699
4700
# File 'lib/google/apis/apigee_v1/classes.rb', line 4698

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4705
4706
4707
4708
# File 'lib/google/apis/apigee_v1/classes.rb', line 4705

def update!(**args)
  @contents = args[:contents] if args.key?(:contents)
  @display_name = args[:display_name] if args.key?(:display_name)
end