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

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 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
MigrationWorkflow|null

hasMigrationWorkflow

clearMigrationWorkflow

setMigrationWorkflow

Required. The migration workflow to create.

Parameter
Name Description
var 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 MigrationServiceClient::locationName() for help formatting this field.

migrationWorkflow MigrationWorkflow

Required. The migration workflow to create.

Returns
Type Description
CreateMigrationWorkflowRequest