Google Cloud Data Catalog V1 Client - Class SqlDatabaseSystemSpec (2.1.0)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class SqlDatabaseSystemSpec.

Specification that applies to entries that are part SQL_DATABASE system (user_specified_type)

Generated from protobuf message google.cloud.datacatalog.v1.SqlDatabaseSystemSpec

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sql_engine string

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

↳ database_version string

Version of the database engine.

↳ instance_host string

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

getSqlEngine

SQL Database Engine.

enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

Returns
Type Description
string

setSqlEngine

SQL Database Engine.

enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getDatabaseVersion

Version of the database engine.

Returns
Type Description
string

setDatabaseVersion

Version of the database engine.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceHost

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

Returns
Type Description
string

setInstanceHost

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

Parameter
Name Description
var string
Returns
Type Description
$this