Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation
- 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
-
#endpoint_uri ⇒ String
Required.
-
#schema ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
Documentation file contents for a catalog item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1GraphqlDocumentation
constructor
A new instance of GoogleCloudApigeeV1GraphqlDocumentation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1GraphqlDocumentation
Returns a new instance of GoogleCloudApigeeV1GraphqlDocumentation.
5873 5874 5875 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5873 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_uri ⇒ String
Required. The GraphQL endpoint URI to be queried by API consumers. Max length
is 2,083 characters.
Corresponds to the JSON property endpointUri
5866 5867 5868 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5866 def endpoint_uri @endpoint_uri end |
#schema ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile
Documentation file contents for a catalog item.
Corresponds to the JSON property schema
5871 5872 5873 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5871 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5878 5879 5880 5881 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5878 def update!(**args) @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri) @schema = args[:schema] if args.key?(:schema) end |