Google Cloud Cloud Controls Partner V1beta Client - Class GetWorkloadRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class GetWorkloadRequest.

Message for getting a customer workload.

Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.GetWorkloadRequest

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

getName

Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Returns
Type Description
string

setName

Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload} Please see Google\Cloud\CloudControlsPartner\V1beta\CloudControlsPartnerCoreClient::workloadName() for help formatting this field.

Returns
Type Description
Google\Cloud\CloudControlsPartner\V1beta\GetWorkloadRequest