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.



766
767
768
# File 'lib/google/apis/apigee_v1/classes.rb', line 766

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

Instance Attribute Details

#graphql_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation

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



759
760
761
# File 'lib/google/apis/apigee_v1/classes.rb', line 759

def graphql_documentation
  @graphql_documentation
end

#oas_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation

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



764
765
766
# File 'lib/google/apis/apigee_v1/classes.rb', line 764

def oas_documentation
  @oas_documentation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



771
772
773
774
# File 'lib/google/apis/apigee_v1/classes.rb', line 771

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