Google Cloud Vpc Access V1 Client - Class OperationMetadata (2.0.0-RC1)

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

Metadata for google.longrunning.Operation.

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

Namespace

Google \ Cloud \ VpcAccess \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ method string

Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1.Connectors.CreateConnector.

↳ create_time Google\Protobuf\Timestamp

Output only. Time when the operation was created.

↳ end_time Google\Protobuf\Timestamp

Output only. Time when the operation completed.

↳ target string

Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1.

getMethod

Output only. Method that initiated the operation e.g.

google.cloud.vpcaccess.v1.Connectors.CreateConnector.

Returns
Type Description
string

setMethod

Output only. Method that initiated the operation e.g.

google.cloud.vpcaccess.v1.Connectors.CreateConnector.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Time when the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the operation was created.

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

getEndTime

Output only. Time when the operation completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Time when the operation completed.

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

getTarget

Output only. Name of the resource that this operation is acting on e.g.

projects/my-project/locations/us-central1/connectors/v1.

Returns
Type Description
string

setTarget

Output only. Name of the resource that this operation is acting on e.g.

projects/my-project/locations/us-central1/connectors/v1.

Parameter
Name Description
var string
Returns
Type Description
$this