Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb
Overview
OperationConfig binds the resources in a proxy or remote service with the allowed REST methods and its associated quota enforcement.
Instance Attribute Summary collapse
-
#api_source ⇒ String
Required.
-
#attributes ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>
Custom attributes associated with the operation.
-
#operations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>
List of resource/method pairs for the proxy/remote service, upon which quota will applied.
-
#quota ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota
Quota contains the essential parameters needed that can be applied on a proxy/ remote service, resources and methods combination associated with this API product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationConfig
constructor
A new instance of GoogleCloudApigeeV1OperationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationConfig
Returns a new instance of GoogleCloudApigeeV1OperationConfig.
4047 4048 4049 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4047 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_source ⇒ String
Required. API proxy or remote service name with which the resources, methods,
and quota are associated.
Corresponds to the JSON property apiSource
4024 4025 4026 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4024 def api_source @api_source end |
#attributes ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>
Custom attributes associated with the operation.
Corresponds to the JSON property attributes
4029 4030 4031 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4029 def attributes @attributes end |
#operations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Operation>
List of resource/method pairs for the proxy/remote service, upon 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
4037 4038 4039 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4037 def operations @operations end |
#quota ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota
Quota contains the essential parameters needed that can be applied on a proxy/
remote service, resources and methods combination associated with this API
product. While setting of Quota is optional, setting it prevents requests from
exceeding the provisioned parameters.
Corresponds to the JSON property quota
4045 4046 4047 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4045 def quota @quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4052 4053 4054 4055 4056 4057 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4052 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 |