View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1GraphQLOperationConfig (google_api_apigee v0.46.0)

Binds the resources in a proxy or remote service with the GraphQL operation and its associated quota enforcement.

Attributes

  • apiSource (type: String.t, default: nil) - Required. Name of the API proxy endpoint or remote service with which the GraphQL operation and quota are associated.
  • attributes (type: list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Attribute.t), default: nil) - Custom attributes associated with the operation.
  • operations (type: list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1GraphQLOperation.t), default: nil) - Required. List of GraphQL name/operation type pairs for the proxy or remote service to which quota will be applied. If only operation types are specified, the quota will be applied to all GraphQL requests irrespective of the GraphQL name. Note: Currently, you can specify only a single GraphQLOperation. Specifying more than one will cause the operation to fail.
  • quota (type: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Quota.t, default: nil) - Quota parameters to be enforced for the resources, methods, and API source combination. If none are specified, quota enforcement will not be done.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1GraphQLOperationConfig{
  apiSource: String.t() | nil,
  attributes:
    [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Attribute.t()] | nil,
  operations:
    [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1GraphQLOperation.t()] | nil,
  quota: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Quota.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.