Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation

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

GraphQL documentation for a catalog item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1GraphqlDocumentation

Returns a new instance of GoogleCloudApigeeV1GraphqlDocumentation.



5263
5264
5265
# File 'lib/google/apis/apigee_v1/classes.rb', line 5263

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

Instance Attribute Details

#endpoint_uriString

Required. The GraphQL endpoint URI to be queried by API consumers. Max length is 2,083 characters. Corresponds to the JSON property endpointUri

Returns:

  • (String)


5256
5257
5258
# File 'lib/google/apis/apigee_v1/classes.rb', line 5256

def endpoint_uri
  @endpoint_uri
end

#schemaGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile

Documentation file contents for a catalog item. Corresponds to the JSON property schema



5261
5262
5263
# File 'lib/google/apis/apigee_v1/classes.rb', line 5261

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5268
5269
5270
5271
# File 'lib/google/apis/apigee_v1/classes.rb', line 5268

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