Class: Google::Apis::ApigatewayV1::ApigatewayApiConfigOpenApiDocument
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1::ApigatewayApiConfigOpenApiDocument
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigateway_v1/classes.rb,
generated/google/apis/apigateway_v1/representations.rb,
generated/google/apis/apigateway_v1/representations.rb
Overview
An OpenAPI Specification Document describing an API.
Instance Attribute Summary collapse
-
#document ⇒ Google::Apis::ApigatewayV1::ApigatewayApiConfigFile
A lightweight description of a file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayApiConfigOpenApiDocument
constructor
A new instance of ApigatewayApiConfigOpenApiDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayApiConfigOpenApiDocument
Returns a new instance of ApigatewayApiConfigOpenApiDocument.
246 247 248 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ Google::Apis::ApigatewayV1::ApigatewayApiConfigFile
A lightweight description of a file.
Corresponds to the JSON property document
244 245 246 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 244 def document @document end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
251 252 253 |
# File 'generated/google/apis/apigateway_v1/classes.rb', line 251 def update!(**args) @document = args[:document] if args.key?(:document) end |