Class: Google::Apis::ConnectorsV1::ConnectorVersionInfraConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ConnectorVersionInfraConfig
- 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
-
#internalclient_ratelimit_threshold ⇒ Fixnum
Output only.
-
#ratelimit_threshold ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorVersionInfraConfig
constructor
A new instance of ConnectorVersionInfraConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorVersionInfraConfig
Returns a new instance of ConnectorVersionInfraConfig.
1003 1004 1005 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#internalclient_ratelimit_threshold ⇒ Fixnum
Output only. Max QPS supported for internal requests originating from Connd.
Corresponds to the JSON property internalclientRatelimitThreshold
995 996 997 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 995 def internalclient_ratelimit_threshold @internalclient_ratelimit_threshold end |
#ratelimit_threshold ⇒ Fixnum
Output only. Max QPS supported by the connector version before throttling of
requests.
Corresponds to the JSON property ratelimitThreshold
1001 1002 1003 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1001 def ratelimit_threshold @ratelimit_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1008 1009 1010 1011 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1008 def update!(**args) @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold) @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold) end |