Google Cloud Assured Workloads V1 Client - Class UpdateWorkloadRequest (0.10.2)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class UpdateWorkloadRequest.

Request for Updating a workload.

Generated from protobuf message google.cloud.assuredworkloads.v1.UpdateWorkloadRequest

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ workload
Google\Cloud\AssuredWorkloads\V1\Workload

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}

↳ 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

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
Returns
Type
Description
$this

getUpdateMask

Required. The list of fields to be updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to be updated.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
workload
Google\Cloud\AssuredWorkloads\V1\Workload

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}

updateMask
Google\Protobuf\FieldMask

Required. The list of fields to be updated.

Design a Mobile Site
View Site in Mobile | Classic
Share by: