Reference documentation and code samples for the Google Cloud Dms V1 Client class ConnectionProfile.
A connection profile definition.
Generated from protobuf message google.cloud.clouddms.v1.ConnectionProfile
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
↳ create_time
Google\Protobuf\Timestamp
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
↳ update_time
Google\Protobuf\Timestamp
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
↳ labels
array| Google\Protobuf\Internal\MapField
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
↳ state
int
The current connection profile state (e.g. DRAFT, READY, or FAILED).
↳ display_name
string
The connection profile display name.
↳ mysql
↳ postgresql
↳ oracle
↳ cloudsql
↳ alloydb
↳ error
↳ provider
int
The database provider.
getName
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
string
setName
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
var
string
$this
getCreateTime
Output only. The timestamp when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
$this
getUpdateTime
Output only. The timestamp when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the resource was last updated.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
$this
getLabels
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
setLabels
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
$this
getState
The current connection profile state (e.g. DRAFT, READY, or FAILED).
int
setState
The current connection profile state (e.g. DRAFT, READY, or FAILED).
var
int
$this
getDisplayName
The connection profile display name.
string
setDisplayName
The connection profile display name.
var
string
$this
getMysql
A MySQL database connection profile.
hasMysql
setMysql
A MySQL database connection profile.
$this
getPostgresql
A PostgreSQL database connection profile.
hasPostgresql
setPostgresql
A PostgreSQL database connection profile.
$this
getOracle
An Oracle database connection profile.
hasOracle
setOracle
An Oracle database connection profile.
$this
getCloudsql
A CloudSQL database connection profile.
hasCloudsql
setCloudsql
A CloudSQL database connection profile.
$this
getAlloydb
An AlloyDB cluster connection profile.
hasAlloydb
setAlloydb
An AlloyDB cluster connection profile.
$this
getError
Output only. The error details in case of state FAILED.
hasError
clearError
setError
Output only. The error details in case of state FAILED.
$this
getProvider
The database provider.
int
setProvider
The database provider.
var
int
$this
getConnectionProfile
string