Connectors V1 API - Class Google::Cloud::Connectors::V1::Connection (v0.1.1)

Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::Connection.

Connection represents an instance of connector.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auth_config

def auth_config() -> ::Google::Cloud::Connectors::V1::AuthConfig
Returns

#auth_config=

def auth_config=(value) -> ::Google::Cloud::Connectors::V1::AuthConfig
Parameter
Returns

#config_variables

def config_variables() -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>
Returns

#config_variables=

def config_variables=(value) -> ::Array<::Google::Cloud::Connectors::V1::ConfigVariable>
Parameter
Returns

#connector_version

def connector_version() -> ::String
Returns
  • (::String) — Required. Connector version on which the connection is created. The format is: projects//locations//providers//connectors//versions/* Only global location is supported for ConnectorVersion resource.

#connector_version=

def connector_version=(value) -> ::String
Parameter
  • value (::String) — Required. Connector version on which the connection is created. The format is: projects//locations//providers//connectors//versions/* Only global location is supported for ConnectorVersion resource.
Returns
  • (::String) — Required. Connector version on which the connection is created. The format is: projects//locations//providers//connectors//versions/* Only global location is supported for ConnectorVersion resource.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the resource.
Returns
  • (::String) — Optional. Description of the resource.

#destination_configs

def destination_configs() -> ::Array<::Google::Cloud::Connectors::V1::DestinationConfig>
Returns

#destination_configs=

def destination_configs=(value) -> ::Array<::Google::Cloud::Connectors::V1::DestinationConfig>
Parameter
Returns

#envoy_image_location

def envoy_image_location() -> ::String
Returns
  • (::String) — Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}

#image_location

def image_location() -> ::String
Returns
  • (::String) — Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

#lock_config

def lock_config() -> ::Google::Cloud::Connectors::V1::LockConfig
Returns

#lock_config=

def lock_config=(value) -> ::Google::Cloud::Connectors::V1::LockConfig
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}

#node_config

def node_config() -> ::Google::Cloud::Connectors::V1::NodeConfig
Returns

#node_config=

def node_config=(value) -> ::Google::Cloud::Connectors::V1::NodeConfig
Parameter
Returns

#service_account

def service_account() -> ::String
Returns
  • (::String) — Optional. Service account needed for runtime plane to access GCP resources.

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::String) — Optional. Service account needed for runtime plane to access GCP resources.
Returns
  • (::String) — Optional. Service account needed for runtime plane to access GCP resources.

#service_directory

def service_directory() -> ::String
Returns
  • (::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"

#ssl_config

def ssl_config() -> ::Google::Cloud::Connectors::V1::SslConfig
Returns

#ssl_config=

def ssl_config=(value) -> ::Google::Cloud::Connectors::V1::SslConfig
Parameter
Returns

#status

def status() -> ::Google::Cloud::Connectors::V1::ConnectionStatus
Returns

#suspended

def suspended() -> ::Boolean
Returns
  • (::Boolean) — Optional. Suspended indicates if a user has suspended a connection or not.

#suspended=

def suspended=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Suspended indicates if a user has suspended a connection or not.
Returns
  • (::Boolean) — Optional. Suspended indicates if a user has suspended a connection or not.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns