Google Cloud Assured Workloads V1beta1 Client - Class UpdateWorkloadRequest (1.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Assured Workloads V1beta1 Client class UpdateWorkloadRequest.
Request for Updating a workload.
Generated from protobuf message google.cloud.assuredworkloads.v1beta1.UpdateWorkloadRequest
Namespace
Google \ Cloud \ AssuredWorkloads \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ workload |
Workload
Required. The workload to update. The workload's |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The list of fields to be updated. |
getWorkload
Required. The workload to update.
The workload's name field is used to identify the workload to be updated.
Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
| Returns | |
|---|---|
| Type | Description |
Workload|null |
|
hasWorkload
clearWorkload
setWorkload
Required. The workload to update.
The workload's name field is used to identify the workload to be updated.
Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
| Parameter | |
|---|---|
| Name | Description |
var |
Workload
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Required. The list of fields to be updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
workload |
Workload
Required. The workload to update.
The workload's |
updateMask |
Google\Protobuf\FieldMask
Required. The list of fields to be updated. |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkloadRequest |
|