AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::Instance::PscInstanceConfig (v0.7.1)

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_networks

def allowed_consumer_networks() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.

#allowed_consumer_networks=

def allowed_consumer_networks=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.
Returns
  • (::Array<::String>) — Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.

#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.
def outgoing_service_attachment_links() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
def outgoing_service_attachment_links=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.
Returns
  • (::Array<::String>) — Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.

#psc_enabled

def psc_enabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.

#psc_enabled=

def psc_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.
Returns
  • (::Boolean) — Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.

#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. All the VMs created for the primary instance will share the same configurations. 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. All the VMs created for the primary instance will share the same configurations. 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. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.
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/