Google Cloud Cloud Controls Partner V1beta Client - Class ListWorkloadsResponse (0.2.2)

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

Response message for list customer workloads requests.

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

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ workloads array<Workload>

List of customer workloads

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Locations that could not be reached.

getWorkloads

List of customer workloads

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWorkloads

List of customer workloads

Parameter
Name Description
var array<Workload>
Returns
Type Description
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this