Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig (v0.28.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig.

Configuration for connecting to AlloyDB.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auth_mode

def auth_mode() -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig::AuthMode

#auth_mode=

def auth_mode=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig::AuthMode

#database

def database() -> ::String
Returns
  • (::String) — Required. The AlloyDB database to connect to.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. The AlloyDB database to connect to.
Returns
  • (::String) — Required. The AlloyDB database to connect to.

#enable_psvs

def enable_psvs() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, enable PSVS for AlloyDB.

#enable_psvs=

def enable_psvs=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If true, enable PSVS for AlloyDB.
Returns
  • (::Boolean) — Optional. If true, enable PSVS for AlloyDB.

#instance

def instance() -> ::String
Returns
  • (::String) — Required. The AlloyDB instance to connect to.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — Required. The AlloyDB instance to connect to.
Returns
  • (::String) — Required. The AlloyDB instance to connect to.

#password

def password() -> ::String
Returns
  • (::String) — Required. Database password.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.

#password=

def password=(value) -> ::String
Parameter
  • value (::String) — Required. Database password.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.

Returns
  • (::String) — Required. Database password.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.

#user

def user() -> ::String
Returns
  • (::String) — Required. Database user.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.

#user=

def user=(value) -> ::String
Parameter
  • value (::String) — Required. Database user.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.

Returns
  • (::String) — Required. Database user.

    If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.