Grafeas V1 Client - Class DeploymentOccurrence (0.5.0)

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

Methods

__construct

Constructor.

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

setUserEmail

Identity of the user that triggered this deployment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeployTime

Required. Beginning of the lifetime of this deployment.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasDeployTime

clearDeployTime

setDeployTime

Required. Beginning of the lifetime of this deployment.

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

getUndeployTime

End of the lifetime of this deployment.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUndeployTime

clearUndeployTime

setUndeployTime

End of the lifetime of this deployment.

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

getConfig

Configuration used to create this deployment.

Returns
TypeDescription
string

setConfig

Configuration used to create this deployment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAddress

Address of the runtime element hosting this deployment.

Returns
TypeDescription
string

setAddress

Address of the runtime element hosting this deployment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceUri

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourceUri

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getPlatform

Platform hosting this deployment.

Returns
TypeDescription
int

setPlatform

Platform hosting this deployment.

Parameter
NameDescription
var int
Returns
TypeDescription
$this