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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDatabaseVersion

Version of the database engine.

Returns
TypeDescription
string

setDatabaseVersion

Version of the database engine.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this