Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::PscAutoConnectionConfig (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::PscAutoConnectionConfig.

Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#consumer_network

def consumer_network() -> ::String
Returns
  • (::String) — Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.

    For example, projects/project1/global/networks/network1.

    The consumer host project of this network might be different from the consumer service project.

#consumer_network=

def consumer_network=(value) -> ::String
Parameter
  • value (::String) — Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.

    For example, projects/project1/global/networks/network1.

    The consumer host project of this network might be different from the consumer service project.

Returns
  • (::String) — Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name.

    For example, projects/project1/global/networks/network1.

    The consumer host project of this network might be different from the consumer service project.

#consumer_network_status

def consumer_network_status() -> ::String
Returns
  • (::String) — The connection policy status of the consumer network.

#consumer_network_status=

def consumer_network_status=(value) -> ::String
Parameter
  • value (::String) — The connection policy status of the consumer network.
Returns
  • (::String) — The connection policy status of the consumer network.

#consumer_project

def consumer_project() -> ::String
Returns
  • (::String) — Optional. This is the project ID of consumer service project of this consumer endpoint.

    This is only applicable if consumer_network is a shared VPC network.

#consumer_project=

def consumer_project=(value) -> ::String
Parameter
  • value (::String) — Optional. This is the project ID of consumer service project of this consumer endpoint.

    This is only applicable if consumer_network is a shared VPC network.

Returns
  • (::String) — Optional. This is the project ID of consumer service project of this consumer endpoint.

    This is only applicable if consumer_network is a shared VPC network.

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — The IP address of the consumer endpoint.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — The IP address of the consumer endpoint.
Returns
  • (::String) — The IP address of the consumer endpoint.

#status

def status() -> ::String
Returns
  • (::String) — The connection status of the consumer endpoint.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — The connection status of the consumer endpoint.
Returns
  • (::String) — The connection status of the consumer endpoint.