Google Cloud Assured Workloads V1 Client - Class DeleteWorkloadRequest (0.9.1)

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

Request for deleting a Workload.

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

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}

↳ etag string

Optional. The etag of the workload. If this is provided, it must match the server's etag.

getName

Required. The name field is used to identify the workload.

Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}

Returns
TypeDescription
string

setName

Required. The name field is used to identify the workload.

Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEtag

Optional. The etag of the workload.

If this is provided, it must match the server's etag.

Returns
TypeDescription
string

setEtag

Optional. The etag of the workload.

If this is provided, it must match the server's etag.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id} Please see Google\Cloud\AssuredWorkloads\V1\AssuredWorkloadsServiceClient::workloadName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AssuredWorkloads\V1\DeleteWorkloadRequest