Reference documentation and code samples for the Google Cloud Functions V1 Client class OperationMetadataV1.
Metadata describing an Operation
Generated from protobuf message google.cloud.functions.v1.OperationMetadataV1
Namespace
Google \ Cloud \ Functions \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target |
string
Target of the operation - for example |
↳ type |
int
Type of operation. |
↳ request |
Google\Protobuf\Any
The original request that started the operation. |
↳ version_id |
int|string
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. |
↳ update_time |
Google\Protobuf\Timestamp
The last update timestamp of the operation. |
↳ build_id |
string
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. |
↳ source_token |
string
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. |
↳ build_name |
string
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. |
getTarget
Target of the operation - for example
projects/project-1/locations/region-1/functions/function-1
| Returns | |
|---|---|
| Type | Description |
string |
|
setTarget
Target of the operation - for example
projects/project-1/locations/region-1/functions/function-1
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Type of operation.
| Returns | |
|---|---|
| Type | Description |
int |
|
setType
Type of operation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequest
The original request that started the operation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Any|null |
|
hasRequest
clearRequest
setRequest
The original request that started the operation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Any
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersionId
Version id of the function created or updated by an API call.
This field is only populated for Create and Update operations.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setVersionId
Version id of the function created or updated by an API call.
This field is only populated for Create and Update operations.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
The last update timestamp of the operation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
The last update timestamp of the operation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBuildId
The Cloud Build ID of the function created or updated by an API call.
This field is only populated for Create and Update operations.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBuildId
The Cloud Build ID of the function created or updated by an API call.
This field is only populated for Create and Update operations.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBuildName
The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBuildName
The Cloud Build Name of the function deployment.
This field is only populated for Create and Update operations.
projects/<project-number>/locations/<region>/builds/<build-id>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|