Google Cloud Assured Workloads V1beta1 Client - Class ListWorkloadsResponse (0.10.2)

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

Response of ListWorkloads endpoint.

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

Namespace

Google \ Cloud \ AssuredWorkloads \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ workloads array<Google\Cloud\AssuredWorkloads\V1beta1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWorkloads

List of Workloads under a given parent.

Parameter
NameDescription
var array<Google\Cloud\AssuredWorkloads\V1beta1\Workload>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this