Google Cloud Dms V1 Client - Class ConversionWorkspace (1.5.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class ConversionWorkspace.

The main conversion workspace resource entity.

Generated from protobuf message google.cloud.clouddms.v1.ConversionWorkspace

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

↳ source Google\Cloud\CloudDms\V1\DatabaseEngineInfo

Required. The source engine details.

↳ destination Google\Cloud\CloudDms\V1\DatabaseEngineInfo

Required. The destination engine details.

↳ global_settings array|Google\Protobuf\Internal\MapField

Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

↳ has_uncommitted_changes bool

Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).

↳ latest_commit_id string

Output only. The latest commit ID.

↳ latest_commit_time Google\Protobuf\Timestamp

Output only. The timestamp when the workspace was committed.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp when the workspace resource was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The timestamp when the workspace resource was last updated.

↳ display_name string

Optional. The display name for the workspace.

getName

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Returns
TypeDescription
string

setName

Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Required. The source engine details.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\DatabaseEngineInfo|null

hasSource

clearSource

setSource

Required. The source engine details.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\DatabaseEngineInfo
Returns
TypeDescription
$this

getDestination

Required. The destination engine details.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\DatabaseEngineInfo|null

hasDestination

clearDestination

setDestination

Required. The destination engine details.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\DatabaseEngineInfo
Returns
TypeDescription
$this

getGlobalSettings

Optional. A generic list of settings for the workspace.

The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setGlobalSettings

Optional. A generic list of settings for the workspace.

The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getHasUncommittedChanges

Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).

Returns
TypeDescription
bool

setHasUncommittedChanges

Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed).

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getLatestCommitId

Output only. The latest commit ID.

Returns
TypeDescription
string

setLatestCommitId

Output only. The latest commit ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLatestCommitTime

Output only. The timestamp when the workspace was committed.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLatestCommitTime

clearLatestCommitTime

setLatestCommitTime

Output only. The timestamp when the workspace was committed.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCreateTime

Output only. The timestamp when the workspace resource was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the workspace resource was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The timestamp when the workspace resource was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the workspace resource was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDisplayName

Optional. The display name for the workspace.

Returns
TypeDescription
string

setDisplayName

Optional. The display name for the workspace.

Parameter
NameDescription
var string
Returns
TypeDescription
$this