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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setName
Name of the Stage. This will be unique for each Stage.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMessage
Message describing the Stage
Returns | |
---|---|
Type | Description |
string |
setMessage
Message describing the Stage
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Current state of the Stage
Returns | |
---|---|
Type | Description |
int |
setState
Current state of the Stage
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getResource
Resource of the Stage
Returns | |
---|---|
Type | Description |
string |
setResource
Resource of the Stage
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceUri
Link to the current Stage resource
Returns | |
---|---|
Type | Description |
string |
setResourceUri
Link to the current Stage resource
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStateMessages
State messages from the current Stage.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setStateMessages
State messages from the current Stage.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Functions\V2\StateMessage>
|
Returns | |
---|---|
Type | Description |
$this |