Google Cloud BigQuery Migration V2 Client - Class CreateMigrationWorkflowRequest (0.4.5)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class CreateMigrationWorkflowRequest.

Request to create a migration workflow resource.

Generated from protobuf message google.cloud.bigquery.migration.v2.CreateMigrationWorkflowRequest

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar

↳ migration_workflow Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow

Required. The migration workflow to create.

getParent

Required. The name of the project to which this migration workflow belongs.

Example: projects/foo/locations/bar

Returns
Type Description
string

setParent

Required. The name of the project to which this migration workflow belongs.

Example: projects/foo/locations/bar

Parameter
Name Description
var string
Returns
Type Description
$this

getMigrationWorkflow

Required. The migration workflow to create.

Returns
Type Description
Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow|null

hasMigrationWorkflow

clearMigrationWorkflow

setMigrationWorkflow

Required. The migration workflow to create.

Parameter
Name Description
var Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The name of the project to which this migration workflow belongs. Example: projects/foo/locations/bar Please see Google\Cloud\BigQuery\Migration\V2\MigrationServiceClient::locationName() for help formatting this field.

migrationWorkflow Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow

Required. The migration workflow to create.

Returns
Type Description
Google\Cloud\BigQuery\Migration\V2\CreateMigrationWorkflowRequest