Google Cloud App Hub V1 Client - Class ListWorkloadsResponse (0.1.3)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class ListWorkloadsResponse.

Response for ListWorkloads.

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

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

List of Workloads.

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Locations that could not be reached.

getWorkloads

List of Workloads.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWorkloads

List of Workloads.

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

getNextPageToken

A token identifying a page of results the server should return.

Returns
Type Description
string

setNextPageToken

A token identifying a page of results the server should return.

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