Google Cloud Functions V2 Client - Class Stage (1.0.3)

Reference documentation and code samples for the Google Cloud Functions V2 Client class Stage.

Each Stage of the deployment process

Generated from protobuf message google.cloud.functions.v2.Stage

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name int

Name of the Stage. This will be unique for each Stage.

↳ message string

Message describing the Stage

↳ state int

Current state of the Stage

↳ resource string

Resource of the Stage

↳ resource_uri string

Link to the current Stage resource

↳ state_messages array<Google\Cloud\Functions\V2\StateMessage>

State messages from the current Stage.

getName

Name of the Stage. This will be unique for each Stage.

Returns
TypeDescription
int

setName

Name of the Stage. This will be unique for each Stage.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Message describing the Stage

Returns
TypeDescription
string

setMessage

Message describing the Stage

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Current state of the Stage

Returns
TypeDescription
int

setState

Current state of the Stage

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResource

Resource of the Stage

Returns
TypeDescription
string

setResource

Resource of the Stage

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceUri

Link to the current Stage resource

Returns
TypeDescription
string

setResourceUri

Link to the current Stage resource

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStateMessages

State messages from the current Stage.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStateMessages

State messages from the current Stage.

Parameter
NameDescription
var array<Google\Cloud\Functions\V2\StateMessage>
Returns
TypeDescription
$this