Google Cloud Dms V1 Client - Class CreateConversionWorkspaceRequest (2.0.0)

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

Request message to create a new Conversion Workspace in the specified project and region.

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent which owns this collection of conversion workspaces.

↳ conversion_workspace_id string

Required. The ID of the conversion workspace to create.

↳ conversion_workspace Google\Cloud\CloudDms\V1\ConversionWorkspace

Required. Represents a conversion workspace object.

↳ request_id string

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

getParent

Required. The parent which owns this collection of conversion workspaces.

Returns
Type Description
string

setParent

Required. The parent which owns this collection of conversion workspaces.

Parameter
Name Description
var string
Returns
Type Description
$this

getConversionWorkspaceId

Required. The ID of the conversion workspace to create.

Returns
Type Description
string

setConversionWorkspaceId

Required. The ID of the conversion workspace to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getConversionWorkspace

Required. Represents a conversion workspace object.

Returns
Type Description
Google\Cloud\CloudDms\V1\ConversionWorkspace|null

hasConversionWorkspace

clearConversionWorkspace

setConversionWorkspace

Required. Represents a conversion workspace object.

Parameter
Name Description
var Google\Cloud\CloudDms\V1\ConversionWorkspace
Returns
Type Description
$this

getRequestId

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Returns
Type Description
string

setRequestId

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent which owns this collection of conversion workspaces. Please see Google\Cloud\CloudDms\V1\DataMigrationServiceClient::locationName() for help formatting this field.

conversionWorkspace Google\Cloud\CloudDms\V1\ConversionWorkspace

Required. Represents a conversion workspace object.

conversionWorkspaceId string

Required. The ID of the conversion workspace to create.

Returns
Type Description
Google\Cloud\CloudDms\V1\CreateConversionWorkspaceRequest