Reference documentation and code samples for the Google Cloud Datastream V1 Client class SqlServerProfile.
SQLServer database profile.
Generated from protobuf message google.cloud.datastream.v1.SqlServerProfile
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ hostname
string
Required. Hostname for the SQLServer connection.
↳ port
int
Port for the SQLServer connection, default value is 1433.
↳ username
string
Required. Username for the SQLServer connection.
↳ password
string
Optional. Password for the SQLServer connection. Mutually exclusive with the secret_manager_stored_password
field.
↳ database
string
Required. Database for the SQLServer connection.
↳ secret_manager_stored_password
string
Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the password
field.
getHostname
Required. Hostname for the SQLServer connection.
string
setHostname
Required. Hostname for the SQLServer connection.
var
string
$this
getPort
Port for the SQLServer connection, default value is 1433.
int
setPort
Port for the SQLServer connection, default value is 1433.
var
int
$this
getUsername
Required. Username for the SQLServer connection.
string
setUsername
Required. Username for the SQLServer connection.
var
string
$this
getPassword
Optional. Password for the SQLServer connection. Mutually exclusive with
the secret_manager_stored_password
field.
string
setPassword
Optional. Password for the SQLServer connection. Mutually exclusive with
the secret_manager_stored_password
field.
var
string
$this
getDatabase
Required. Database for the SQLServer connection.
string
setDatabase
Required. Database for the SQLServer connection.
var
string
$this
getSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the
SQLServer connection password. Mutually exclusive with the password
field.
string
setSecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the
SQLServer connection password. Mutually exclusive with the password
field.
var
string
$this

