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-
(::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-
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.
-
(::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- (::String) — The connection policy status of the consumer network.
#consumer_network_status=
def consumer_network_status=(value) -> ::String- value (::String) — The connection policy status of the consumer network.
- (::String) — The connection policy status of the consumer network.
#consumer_project
def consumer_project() -> ::String-
(::String) — Optional. This is the project ID of consumer service project of this
consumer endpoint.
This is only applicable if
consumer_networkis a shared VPC network.
#consumer_project=
def consumer_project=(value) -> ::String-
value (::String) — Optional. This is the project ID of consumer service project of this
consumer endpoint.
This is only applicable if
consumer_networkis a shared VPC network.
-
(::String) — Optional. This is the project ID of consumer service project of this
consumer endpoint.
This is only applicable if
consumer_networkis a shared VPC network.
#instance_auto_dns_status
def instance_auto_dns_status() -> ::Google::Cloud::Sql::V1::AutoDnsStatus- (::Google::Cloud::Sql::V1::AutoDnsStatus) — Output only. The status of automated DNS provisioning.
#ip_address
def ip_address() -> ::String- (::String) — The IP address of the consumer endpoint.
#ip_address=
def ip_address=(value) -> ::String- value (::String) — The IP address of the consumer endpoint.
- (::String) — The IP address of the consumer endpoint.
#service_connection_policy
def service_connection_policy() -> ::String-
(::String) — Output only. The service connection policy created automatically for the
consumer network when
psc_auto_connection_policy_enabledis true. It is in the format of:projects/{project}/regions/{region}/serviceConnectionPolicies/{policy_id}Thepolicy_idis in format of$NETWORK-$RANDOM.
#service_connection_policy_creation_result
def service_connection_policy_creation_result() -> ::String- (::String) — Output only. The status of service connection policy creation.
#status
def status() -> ::String- (::String) — The connection status of the consumer endpoint.
#status=
def status=(value) -> ::String- value (::String) — The connection status of the consumer endpoint.
- (::String) — The connection status of the consumer endpoint.
#write_endpoint_auto_dns_status
def write_endpoint_auto_dns_status() -> ::Google::Cloud::Sql::V1::AutoDnsStatus- (::Google::Cloud::Sql::V1::AutoDnsStatus) — Output only. The status of automated DNS provisioning for the write endpoint.