Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation

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

The documentation for a catalog item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiDocDocumentation

Returns a new instance of GoogleCloudApigeeV1ApiDocDocumentation.



827
828
829
# File 'lib/google/apis/apigee_v1/classes.rb', line 827

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

Instance Attribute Details

#async_api_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncApiDocumentation

AsyncAPI Specification documentation for a catalog item. Corresponds to the JSON property asyncApiDocumentation



815
816
817
# File 'lib/google/apis/apigee_v1/classes.rb', line 815

def async_api_documentation
  @async_api_documentation
end

#graphql_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation

GraphQL documentation for a catalog item. Corresponds to the JSON property graphqlDocumentation



820
821
822
# File 'lib/google/apis/apigee_v1/classes.rb', line 820

def graphql_documentation
  @graphql_documentation
end

#oas_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation

OpenAPI Specification documentation for a catalog item. Corresponds to the JSON property oasDocumentation



825
826
827
# File 'lib/google/apis/apigee_v1/classes.rb', line 825

def oas_documentation
  @oas_documentation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



832
833
834
835
836
# File 'lib/google/apis/apigee_v1/classes.rb', line 832

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