Google Cloud Dataproc V1 Client - Class BatchOperationMetadata (2.2.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class BatchOperationMetadata.

Metadata describing the Batch operation.

Generated from protobuf message google.cloud.dataproc.v1.BatchOperationMetadata

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ batch string

Name of the batch for the operation.

↳ batch_uuid string

Batch UUID for the operation.

↳ create_time Google\Protobuf\Timestamp

The time when the operation was created.

↳ done_time Google\Protobuf\Timestamp

The time when the operation finished.

↳ operation_type int

The operation type.

↳ description string

Short description of the operation.

↳ labels array|Google\Protobuf\Internal\MapField

Labels associated with the operation.

↳ warnings array

Warnings encountered during operation execution.

getBatch

Name of the batch for the operation.

Returns
Type Description
string

setBatch

Name of the batch for the operation.

Parameter
Name Description
var string
Returns
Type Description
$this

getBatchUuid

Batch UUID for the operation.

Returns
Type Description
string

setBatchUuid

Batch UUID for the operation.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

The time when the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

The time when the operation was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDoneTime

The time when the operation finished.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDoneTime

clearDoneTime

setDoneTime

The time when the operation finished.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getOperationType

The operation type.

Returns
Type Description
int

setOperationType

The operation type.

Parameter
Name Description
var int
Returns
Type Description
$this

getDescription

Short description of the operation.

Returns
Type Description
string

setDescription

Short description of the operation.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabels

Labels associated with the operation.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels associated with the operation.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getWarnings

Warnings encountered during operation execution.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWarnings

Warnings encountered during operation execution.

Parameter
Name Description
var string[]
Returns
Type Description
$this