Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation
- 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
-
#format ⇒ String
Output only.
-
#spec ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
Documentation file contents for a catalog item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OasDocumentation
constructor
A new instance of GoogleCloudApigeeV1OasDocumentation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OasDocumentation
Returns a new instance of GoogleCloudApigeeV1OasDocumentation.
6764 6765 6766 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6764 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
Output only. The format of the input specification file contents.
Corresponds to the JSON property format
6757 6758 6759 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6757 def format @format end |
#spec ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
Documentation file contents for a catalog item.
Corresponds to the JSON property spec
6762 6763 6764 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6762 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6769 6770 6771 6772 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6769 def update!(**args) @format = args[:format] if args.key?(:format) @spec = args[:spec] if args.key?(:spec) end |