Google Cloud Channel V1 Client - Class OperationMetadata (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class OperationMetadata.

Provides contextual information about a google.longrunning.Operation.

Generated from protobuf message google.cloud.channel.v1.OperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operation_type int

The RPC that initiated this Long Running Operation.

getOperationType

The RPC that initiated this Long Running Operation.

Generated from protobuf field .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;

Returns
TypeDescription
int

setOperationType

The RPC that initiated this Long Running Operation.

Generated from protobuf field .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this