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.



876
877
878
# File 'lib/google/apis/apigee_v1/classes.rb', line 876

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



864
865
866
# File 'lib/google/apis/apigee_v1/classes.rb', line 864

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



869
870
871
# File 'lib/google/apis/apigee_v1/classes.rb', line 869

def graphql_documentation
  @graphql_documentation
end

#oas_documentationGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation

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



874
875
876
# File 'lib/google/apis/apigee_v1/classes.rb', line 874

def oas_documentation
  @oas_documentation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



881
882
883
884
885
# File 'lib/google/apis/apigee_v1/classes.rb', line 881

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