Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GrpcOperationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1GrpcOperationConfig
- 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
Binds the resources in a proxy or remote service with the gRPC operation 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.
-
#methods_prop ⇒ Array<String>
List of unqualified gRPC method names for the proxy to which quota will be applied.
-
#quota ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota
Quota contains the essential parameters needed that can be applied on the resources, methods, API source combination associated with this API product.
-
#service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1GrpcOperationConfig
constructor
A new instance of GoogleCloudApigeeV1GrpcOperationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1GrpcOperationConfig
Returns a new instance of GoogleCloudApigeeV1GrpcOperationConfig.
5314 5315 5316 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_source ⇒ String
Required. Name of the API proxy with which the gRPC operation and quota are
associated.
Corresponds to the JSON property apiSource
5283 5284 5285 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5283 def api_source @api_source end |
#attributes ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>
Custom attributes associated with the operation.
Corresponds to the JSON property attributes
5288 5289 5290 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5288 def attributes @attributes end |
#methods_prop ⇒ Array<String>
List of unqualified gRPC method names for the proxy to which quota will be
applied. If this field is empty, the Quota will apply to all operations on the
gRPC service defined on the proxy. Example: Given a proxy that is configured
to serve com.petstore.PetService, the methods com.petstore.PetService.ListPets
and com.petstore.PetService.GetPet would be specified here as simply ["
ListPets", "GetPet"].
Corresponds to the JSON property methods
5298 5299 5300 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5298 def methods_prop @methods_prop end |
#quota ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota
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
5306 5307 5308 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5306 def quota @quota end |
#service ⇒ String
Required. gRPC Service name associated to be associated with the API proxy, on
which quota rules can be applied upon.
Corresponds to the JSON property service
5312 5313 5314 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5312 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5319 5320 5321 5322 5323 5324 5325 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 5319 def update!(**args) @api_source = args[:api_source] if args.key?(:api_source) @attributes = args[:attributes] if args.key?(:attributes) @methods_prop = args[:methods_prop] if args.key?(:methods_prop) @quota = args[:quota] if args.key?(:quota) @service = args[:service] if args.key?(:service) end |