Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::Instance::PscInstanceConfig.
PscInstanceConfig contains PSC related configuration at an instance level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allowed_consumer_projects
def allowed_consumer_projects() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
#allowed_consumer_projects=
def allowed_consumer_projects=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
Returns
- (::Array<::String>) — Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
#psc_dns_name
def psc_dns_name() -> ::String
Returns
- (::String) — Output only. The DNS name of the instance for PSC connectivity. Name convention:
#psc_interface_configs
def psc_interface_configs() -> ::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>
Returns
- (::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>) — Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
#psc_interface_configs=
def psc_interface_configs=(value) -> ::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>
Parameter
- value (::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>) — Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
Returns
- (::Array<::Google::Cloud::AlloyDB::V1alpha::Instance::PscInterfaceConfig>) — Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.
#service_attachment_link
def service_attachment_link() -> ::String
Returns
-
(::String) — Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>