class Google::Apis::ConnectorsV1::Connection
Connection
represents an instance of connector.
Attributes
AuthConfig
defines details of a authentication type. Corresponds to the JSON property ‘authConfig` @return [Google::Apis::ConnectorsV1::AuthConfig]
Optional. Configuration for configuring the connection with an external system. Corresponds to the JSON property ‘configVariables` @return [Array<Google::Apis::ConnectorsV1::ConfigVariable>]
Required. Connector
version on which the connection is created. The format is: projects//locations/global/providers//connectors//versions/ Corresponds to the JSON property ‘connectorVersion` @return [String]
Output only. Created time. Corresponds to the JSON property ‘createTime` @return [String]
Optional. Description of the resource. Corresponds to the JSON property ‘description` @return [String]
Output only. Outbound domains/hosts needs to be allowlisted. Corresponds to the JSON property ‘egressBackends` @return [Array<String>]
Output only. GCR location where the envoy image is stored. formatted like: gcr. io/‘bucketName`/`imageName` Corresponds to the JSON property `envoyImageLocation` @return [String]
Output only. GCR location where the runtime image is stored. formatted like: gcr.io/‘bucketName`/`imageName` Corresponds to the JSON property `imageLocation` @return [String]
Optional. Resource
labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. cloud.google.com/compute/ docs/labeling-resources Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
Determines whether or no a connection is locked. If locked, a reason must be specified. Corresponds to the JSON property ‘lockConfig` @return [Google::Apis::ConnectorsV1::LockConfig]
Output only. Resource
name of the Connection
. Format: projects/‘project`/ locations/`location`/connections/`connection` Corresponds to the JSON property `name` @return [String]
Optional. Service account needed for runtime plane to access GCP resources. Corresponds to the JSON property ‘serviceAccount` @return [String]
Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. “projects/cloud-connectors-e2e- testing/locations/us-central1/namespaces/istio-system/services/istio- ingressgateway-connectors” Corresponds to the JSON property ‘serviceDirectory` @return [String]
ConnectionStatus
indicates the state of the connection. Corresponds to the JSON property ‘status` @return [Google::Apis::ConnectorsV1::ConnectionStatus]
Optional. Suspended indicates if a user has suspended a connection or not. Corresponds to the JSON property ‘suspended` @return [Boolean]
Optional. Suspended indicates if a user has suspended a connection or not. Corresponds to the JSON property ‘suspended` @return [Boolean]
Output only. Updated time. Corresponds to the JSON property ‘updateTime` @return [String]
Public Class Methods
# File lib/google/apis/connectors_v1/classes.rb, line 454 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/connectors_v1/classes.rb, line 459 def update!(**args) @auth_config = args[:auth_config] if args.key?(:auth_config) @config_variables = args[:config_variables] if args.key?(:config_variables) @connector_version = args[:connector_version] if args.key?(:connector_version) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @egress_backends = args[:egress_backends] if args.key?(:egress_backends) @envoy_image_location = args[:envoy_image_location] if args.key?(:envoy_image_location) @image_location = args[:image_location] if args.key?(:image_location) @labels = args[:labels] if args.key?(:labels) @lock_config = args[:lock_config] if args.key?(:lock_config) @name = args[:name] if args.key?(:name) @service_account = args[:service_account] if args.key?(:service_account) @service_directory = args[:service_directory] if args.key?(:service_directory) @status = args[:status] if args.key?(:status) @suspended = args[:suspended] if args.key?(:suspended) @update_time = args[:update_time] if args.key?(:update_time) end