Google Cloud Vpc Access V1 Client - Class OperationMetadata (1.0.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setMethod

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Time when the operation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the operation was created.

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

getEndTime

Output only. Time when the operation completed.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Time when the operation completed.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this