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

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
NameDescription
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
TypeDescription
string

setParent

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

Example: projects/foo/locations/bar

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMigrationWorkflow

Required. The migration workflow to create.

Returns
TypeDescription
Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow|null

hasMigrationWorkflow

clearMigrationWorkflow

setMigrationWorkflow

Required. The migration workflow to create.

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\MigrationWorkflow
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\BigQuery\Migration\V2\CreateMigrationWorkflowRequest