Google Cloud BigQuery Migration V2 Client - Class MigrationWorkflow (0.2.2)

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

A migration workflow which specifies what needs to be done for an EDW migration.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Immutable. The unique identifier for the migration workflow. The ID is server-generated. Example: projects/123/locations/us/workflows/345

↳ display_name string

The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.

↳ tasks array|Google\Protobuf\Internal\MapField

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

↳ state int

Output only. That status of the workflow.

↳ create_time Google\Protobuf\Timestamp

Time when the workflow was created.

↳ last_update_time Google\Protobuf\Timestamp

Time when the workflow was last updated.

getName

Output only. Immutable. The unique identifier for the migration workflow.

The ID is server-generated. Example: projects/123/locations/us/workflows/345

Returns
TypeDescription
string

setName

Output only. Immutable. The unique identifier for the migration workflow.

The ID is server-generated. Example: projects/123/locations/us/workflows/345

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.

Returns
TypeDescription
string

setDisplayName

The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTasks

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setTasks

The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.

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

getState

Output only. That status of the workflow.

Returns
TypeDescription
int

setState

Output only. That status of the workflow.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Time when the workflow was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Time when the workflow was created.

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

getLastUpdateTime

Time when the workflow was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

Time when the workflow was last updated.

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