Class: Google::Apis::ApihubV1::GoogleCloudApihubV1OpenApiSpecDetails
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1OpenApiSpecDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.
Instance Attribute Summary collapse
-
#format ⇒ String
Output only.
-
#owner ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Owner
Owner details.
-
#version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1OpenApiSpecDetails
constructor
A new instance of GoogleCloudApihubV1OpenApiSpecDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1OpenApiSpecDetails
Returns a new instance of GoogleCloudApihubV1OpenApiSpecDetails.
3572 3573 3574 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
Output only. The format of the spec.
Corresponds to the JSON property format
3559 3560 3561 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3559 def format @format end |
#owner ⇒ Google::Apis::ApihubV1::GoogleCloudApihubV1Owner
Owner details.
Corresponds to the JSON property owner
3564 3565 3566 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3564 def owner @owner end |
#version ⇒ String
Output only. The version in the spec. This maps to info.version in OpenAPI
spec.
Corresponds to the JSON property version
3570 3571 3572 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3570 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3577 3578 3579 3580 3581 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 3577 def update!(**args) @format = args[:format] if args.key?(:format) @owner = args[:owner] if args.key?(:owner) @version = args[:version] if args.key?(:version) end |