Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectorVersionInfraConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectorVersionInfraConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_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
Output only.
-
#deployment_model_migration_state ⇒ String
Output only.
-
#hpa_config ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig
Autoscaling config for connector deployment system metrics.
-
#internalclient_ratelimit_threshold ⇒ Fixnum
Output only.
-
#max_instance_request_concurrency ⇒ Fixnum
Output only.
-
#ratelimit_threshold ⇒ Fixnum
Output only.
-
#resource_limits ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceLimits
Resource limits defined for connection pods of a given connector type.
-
#resource_requests ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceRequests
Resource requests defined for connection pods of a given connector type.
-
#shared_deployment ⇒ String
Output only.
-
#tls_migration_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConnectorVersionInfraConfig
constructor
A new instance of GoogleCloudConnectorsV1ConnectorVersionInfraConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConnectorVersionInfraConfig
Returns a new instance of GoogleCloudConnectorsV1ConnectorVersionInfraConfig.
5762 5763 5764 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5762 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
5709 5710 5711 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5709 def connection_ratelimit_window_seconds @connection_ratelimit_window_seconds end |
#deployment_model ⇒ String
Output only. Indicates whether connector is deployed on GKE/CloudRun
Corresponds to the JSON property deploymentModel
5714 5715 5716 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5714 def deployment_model @deployment_model end |
#deployment_model_migration_state ⇒ String
Output only. Status of the deployment model migration.
Corresponds to the JSON property deploymentModelMigrationState
5719 5720 5721 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5719 def deployment_model_migration_state @deployment_model_migration_state end |
#hpa_config ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1HpaConfig
Autoscaling config for connector deployment system metrics.
Corresponds to the JSON property hpaConfig
5724 5725 5726 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5724 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
5729 5730 5731 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5729 def internalclient_ratelimit_threshold @internalclient_ratelimit_threshold end |
#max_instance_request_concurrency ⇒ Fixnum
Output only. Max instance request concurrency.
Corresponds to the JSON property maxInstanceRequestConcurrency
5734 5735 5736 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5734 def max_instance_request_concurrency @max_instance_request_concurrency end |
#ratelimit_threshold ⇒ Fixnum
Output only. Max QPS supported by the connector version before throttling of
requests.
Corresponds to the JSON property ratelimitThreshold
5740 5741 5742 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5740 def ratelimit_threshold @ratelimit_threshold end |
#resource_limits ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceLimits
Resource limits defined for connection pods of a given connector type.
Corresponds to the JSON property resourceLimits
5745 5746 5747 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5745 def resource_limits @resource_limits end |
#resource_requests ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ResourceRequests
Resource requests defined for connection pods of a given connector type.
Corresponds to the JSON property resourceRequests
5750 5751 5752 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5750 def resource_requests @resource_requests end |
#shared_deployment ⇒ String
Output only. The name of shared connector deployment.
Corresponds to the JSON property sharedDeployment
5755 5756 5757 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5755 def shared_deployment @shared_deployment end |
#tls_migration_state ⇒ String
Output only. Status of the TLS migration.
Corresponds to the JSON property tlsMigrationState
5760 5761 5762 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5760 def tls_migration_state @tls_migration_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5767 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) @deployment_model_migration_state = args[:deployment_model_migration_state] if args.key?(:deployment_model_migration_state) @hpa_config = args[:hpa_config] if args.key?(:hpa_config) @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold) @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency) @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) @tls_migration_state = args[:tls_migration_state] if args.key?(:tls_migration_state) end |