Google Cloud Api Hub V1 Client - Class DeploymentMetadata (0.3.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class DeploymentMetadata.

The metadata associated with a deployment.

Generated from protobuf message google.cloud.apihub.v1.DeploymentMetadata

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ deployment Deployment

Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.

↳ original_id string

Optional. The unique identifier of the deployment in the system where it was originally created.

↳ original_create_time Google\Protobuf\Timestamp

Optional. Timestamp indicating when the deployment was created at the source.

↳ original_update_time Google\Protobuf\Timestamp

Required. Timestamp indicating when the deployment was last updated at the source.

getDeployment

Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.

Returns
Type Description
Deployment|null

hasDeployment

clearDeployment

setDeployment

Required. The deployment resource to be pushed to Hub's collect layer. The ID of the deployment will be generated by Hub.

Parameter
Name Description
var Deployment
Returns
Type Description
$this

getOriginalId

Optional. The unique identifier of the deployment in the system where it was originally created.

Returns
Type Description
string

setOriginalId

Optional. The unique identifier of the deployment in the system where it was originally created.

Parameter
Name Description
var string
Returns
Type Description
$this

getOriginalCreateTime

Optional. Timestamp indicating when the deployment was created at the source.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasOriginalCreateTime

clearOriginalCreateTime

setOriginalCreateTime

Optional. Timestamp indicating when the deployment was created at the source.

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

getOriginalUpdateTime

Required. Timestamp indicating when the deployment was last updated at the source.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasOriginalUpdateTime

clearOriginalUpdateTime

setOriginalUpdateTime

Required. Timestamp indicating when the deployment was last updated at the source.

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