class Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation
Represents the pairing of GraphQL operation types and the GraphQL operation name.
Attributes
operation[RW]
GraphQL operation name. The name and operation type will be used to apply quotas. If no name is specified, the quota will be applied to all GraphQL operations irrespective of their operation names in the payload. Corresponds to the JSON property `operation` @return [String]
operation_types[RW]
Required. GraphQL operation types. Valid values include `query` or `mutation`. Note: Apigee does not currently support `subscription` types. Corresponds to the JSON property `operationTypes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 3528 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 3533 def update!(**args) @operation = args[:operation] if args.key?(:operation) @operation_types = args[:operation_types] if args.key?(:operation_types) end