Class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigOpenApiDocument

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigateway_v1beta/classes.rb,
generated/google/apis/apigateway_v1beta/representations.rb,
generated/google/apis/apigateway_v1beta/representations.rb

Overview

An OpenAPI Specification Document describing an API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApigatewayApiConfigOpenApiDocument

Returns a new instance of ApigatewayApiConfigOpenApiDocument.



252
253
254
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 252

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

Instance Attribute Details

#documentGoogle::Apis::ApigatewayV1beta::ApigatewayApiConfigFile

A lightweight description of a file. Corresponds to the JSON property document



250
251
252
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 250

def document
  @document
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



257
258
259
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 257

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