Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation

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

OpenAPI Specification documentation for a catalog item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OasDocumentation

Returns a new instance of GoogleCloudApigeeV1OasDocumentation.



6937
6938
6939
# File 'lib/google/apis/apigee_v1/classes.rb', line 6937

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

Instance Attribute Details

#formatString

Output only. The format of the input specification file contents. Corresponds to the JSON property format

Returns:

  • (String)


6930
6931
6932
# File 'lib/google/apis/apigee_v1/classes.rb', line 6930

def format
  @format
end

#specGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile

Documentation file contents for a catalog item. Corresponds to the JSON property spec



6935
6936
6937
# File 'lib/google/apis/apigee_v1/classes.rb', line 6935

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6942
6943
6944
6945
# File 'lib/google/apis/apigee_v1/classes.rb', line 6942

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