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

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<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<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