Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Task.
A task represents a user-visible job.
Generated from protobuf message google.cloud.dataplex.v1.Task
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
↳ uid
string
Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.
↳ create_time
↳ update_time
↳ description
string
Optional. Description of the task.
↳ display_name
string
Optional. User friendly display name.
↳ state
int
Output only. Current state of the task.
↳ labels
↳ trigger_spec
Google\Cloud\Dataplex\V1\Task\TriggerSpec
Required. Spec related to how often and when a task should be triggered.
↳ execution_spec
↳ execution_status
↳ spark
↳ notebook
getName
Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
string
setName
Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
var
string
$this
getUid
Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.
string
setUid
Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.
var
string
$this
getCreateTime
Output only. The time when the task was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the task was created.
$this
getUpdateTime
Output only. The time when the task was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the task was last updated.
$this
getDescription
Optional. Description of the task.
string
setDescription
Optional. Description of the task.
var
string
$this
getDisplayName
Optional. User friendly display name.
string
setDisplayName
Optional. User friendly display name.
var
string
$this
getState
Output only. Current state of the task.
int
setState
Output only. Current state of the task.
var
int
$this
getLabels
Optional. User-defined labels for the task.
setLabels
Optional. User-defined labels for the task.
$this
getTriggerSpec
Required. Spec related to how often and when a task should be triggered.
hasTriggerSpec
clearTriggerSpec
setTriggerSpec
Required. Spec related to how often and when a task should be triggered.
$this
getExecutionSpec
Required. Spec related to how a task is executed.
hasExecutionSpec
clearExecutionSpec
setExecutionSpec
Required. Spec related to how a task is executed.
$this
getExecutionStatus
Output only. Status of the latest task executions.
hasExecutionStatus
clearExecutionStatus
setExecutionStatus
Output only. Status of the latest task executions.
$this
getSpark
Config related to running custom Spark tasks.
hasSpark
setSpark
Config related to running custom Spark tasks.
$this
getNotebook
Config related to running scheduled Notebooks.
hasNotebook
setNotebook
Config related to running scheduled Notebooks.
$this
getConfig
string