Google Cloud Assured Workloads V1 Client - Class ListWorkloadsResponse (0.11.5)

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

Response of ListWorkloads endpoint.

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

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ workloads array<Google\Cloud\AssuredWorkloads\V1\Workload>

List of Workloads under a given parent.

↳ next_page_token string

The next page token. Return empty if reached the last page.

getWorkloads

List of Workloads under a given parent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWorkloads

List of Workloads under a given parent.

Parameter
Name Description
var array<Google\Cloud\AssuredWorkloads\V1\Workload>
Returns
Type Description
$this

getNextPageToken

The next page token. Return empty if reached the last page.

Returns
Type Description
string

setNextPageToken

The next page token. Return empty if reached the last page.

Parameter
Name Description
var string
Returns
Type Description
$this