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
-
#connection_ratelimit_window_seconds ⇒ Fixnum
Output only.
-
#deployment_model ⇒ String
Optional.
-
#hpa_config ⇒ Google::Apis::ConnectorsV1::HpaConfig
Autoscaling config for connector deployment system metrics.
-
#internalclient_ratelimit_threshold ⇒ Fixnum
Output only.
-
#ratelimit_threshold ⇒ Fixnum
Output only.
-
#resource_limits ⇒ Google::Apis::ConnectorsV1::ResourceLimits
Resource limits defined for connection pods of a given connector type.
-
#resource_requests ⇒ Google::Apis::ConnectorsV1::ResourceRequests
Resource requests defined for connection pods of a given connector type.
-
#shared_deployment ⇒ String
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.
1164 1165 1166 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_ratelimit_window_seconds ⇒ Fixnum
Output only. The window used for ratelimiting runtime requests to connections.
Corresponds to the JSON property connectionRatelimitWindowSeconds
1126 1127 1128 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1126 def connection_ratelimit_window_seconds @connection_ratelimit_window_seconds end |
#deployment_model ⇒ String
Optional. Indicates whether connector is deployed on GKE/CloudRun
Corresponds to the JSON property deploymentModel
1131 1132 1133 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1131 def deployment_model @deployment_model end |
#hpa_config ⇒ Google::Apis::ConnectorsV1::HpaConfig
Autoscaling config for connector deployment system metrics.
Corresponds to the JSON property hpaConfig
1136 1137 1138 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1136 def hpa_config @hpa_config end |
#internalclient_ratelimit_threshold ⇒ Fixnum
Output only. Max QPS supported for internal requests originating from Connd.
Corresponds to the JSON property internalclientRatelimitThreshold
1141 1142 1143 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1141 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
1147 1148 1149 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1147 def ratelimit_threshold @ratelimit_threshold end |
#resource_limits ⇒ Google::Apis::ConnectorsV1::ResourceLimits
Resource limits defined for connection pods of a given connector type.
Corresponds to the JSON property resourceLimits
1152 1153 1154 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1152 def resource_limits @resource_limits end |
#resource_requests ⇒ Google::Apis::ConnectorsV1::ResourceRequests
Resource requests defined for connection pods of a given connector type.
Corresponds to the JSON property resourceRequests
1157 1158 1159 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1157 def resource_requests @resource_requests end |
#shared_deployment ⇒ String
Output only. The name of shared connector deployment.
Corresponds to the JSON property sharedDeployment
1162 1163 1164 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1162 def shared_deployment @shared_deployment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1169 def update!(**args) @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds) @deployment_model = args[:deployment_model] if args.key?(:deployment_model) @hpa_config = args[:hpa_config] if args.key?(:hpa_config) @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold) @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold) @resource_limits = args[:resource_limits] if args.key?(:resource_limits) @resource_requests = args[:resource_requests] if args.key?(:resource_requests) @shared_deployment = args[:shared_deployment] if args.key?(:shared_deployment) end |