Class: Google::Apis::ConnectorsV1::ConnectorInfraConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectorInfraConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version
Instance Attribute Summary collapse
-
#ratelimit_threshold ⇒ Fixnum
Max QPS supported by the connector version before throttling of requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorInfraConfig
constructor
A new instance of ConnectorInfraConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorInfraConfig
Returns a new instance of ConnectorInfraConfig.
843 844 845 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ratelimit_threshold ⇒ Fixnum
Max QPS supported by the connector version before throttling of requests.
Corresponds to the JSON property ratelimitThreshold
841 842 843 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 841 def ratelimit_threshold @ratelimit_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
848 849 850 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 848 def update!(**args) @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold) end |