Grafeas V1 Client - Class DeploymentOccurrence (0.6.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
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

hasDeployTime

clearDeployTime

setDeployTime

Required. Beginning of the lifetime of this deployment.

Parameter
Name
Description
Returns
Type
Description
$this

getUndeployTime

End of the lifetime of this deployment.

Returns
Type
Description

hasUndeployTime

clearUndeployTime

setUndeployTime

End of the lifetime of this deployment.

Parameter
Name
Description
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

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: