class Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationConfig

Binds the resources in an API proxy or remote service with the allowed REST methods and associated quota enforcement.

Attributes

api_source[RW]

Required. Name of the API proxy or remote service with which the resources, methods, and quota are associated. Corresponds to the JSON property `apiSource` @return [String]

attributes[RW]

Custom attributes associated with the operation. Corresponds to the JSON property `attributes` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]

operations[RW]

List of resource/method pairs for the API proxy or remote service to which quota will applied. Note: Currently, you can specify only a single resource/method pair. The call will fail if more than one resource/method pair is provided. Corresponds to the JSON property `operations` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>]

quota[RW]

Quota contains the essential parameters needed that can be applied on the resources, methods, API source combination associated with this API product. While Quota is optional, setting it prevents requests from exceeding the provisioned parameters. Corresponds to the JSON property `quota` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 4751
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 4756
def update!(**args)
  @api_source = args[:api_source] if args.key?(:api_source)
  @attributes = args[:attributes] if args.key?(:attributes)
  @operations = args[:operations] if args.key?(:operations)
  @quota = args[:quota] if args.key?(:quota)
end