Grafeas V1 Client - Class DeploymentOccurrence (1.1.1)

Reference documentation and code samples for the Grafeas V1 Client class DeploymentOccurrence.

The period during which some deployable was active in a runtime.

Generated from protobuf message grafeas.v1.DeploymentOccurrence

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_email string

Identity of the user that triggered this deployment.

↳ deploy_time Google\Protobuf\Timestamp

Required. Beginning of the lifetime of this deployment.

↳ undeploy_time Google\Protobuf\Timestamp

End of the lifetime of this deployment.

↳ config string

Configuration used to create this deployment.

↳ address string

Address of the runtime element hosting this deployment.

↳ resource_uri array

Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.

↳ platform int

Platform hosting this deployment.

getUserEmail

Identity of the user that triggered this deployment.

Returns
Type Description
string

setUserEmail

Identity of the user that triggered this deployment.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployTime

Required. Beginning of the lifetime of this deployment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDeployTime

clearDeployTime

setDeployTime

Required. Beginning of the lifetime of this deployment.

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

getUndeployTime

End of the lifetime of this deployment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUndeployTime

clearUndeployTime

setUndeployTime

End of the lifetime of this deployment.

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

getConfig

Configuration used to create this deployment.

Returns
Type Description
string

setConfig

Configuration used to create this deployment.

Parameter
Name Description
var string
Returns
Type Description
$this

getAddress

Address of the runtime element hosting this deployment.

Returns
Type Description
string

setAddress

Address of the runtime element hosting this deployment.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceUri

Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResourceUri

Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.

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

getPlatform

Platform hosting this deployment.

Returns
Type Description
int

setPlatform

Platform hosting this deployment.

Parameter
Name Description
var int
Returns
Type Description
$this