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
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ target
string
Target of the operation - for example projects/project-1/locations/region-1/functions/function-1
↳ type
int
Type of operation.
↳ request
↳ 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
↳ 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. projects/<project-number>/locations/<region>/builds/<build-id>
.
getTarget
Target of the operation - for example projects/project-1/locations/region-1/functions/function-1
string
setTarget
Target of the operation - for example projects/project-1/locations/region-1/functions/function-1
var
string
$this
getType
Type of operation.
int
setType
Type of operation.
var
int
$this
getRequest
The original request that started the operation.
hasRequest
clearRequest
setRequest
The original request that started the operation.
$this
getVersionId
Version id of the function created or updated by an API call.
This field is only populated for Create and Update operations.
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.
var
int|string
$this
getUpdateTime
The last update timestamp of the operation.
hasUpdateTime
clearUpdateTime
setUpdateTime
The last update timestamp of the operation.
$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.
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.
var
string
$this
getSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string
setSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
var
string
$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>
.
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>
.
var
string
$this