Google Cloud Config V1 Client - Class ListResourcesResponse (1.0.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class ListResourcesResponse.

A response to a 'ListResources' call. Contains a list of Resources.

Generated from protobuf message google.cloud.config.v1.ListResourcesResponse

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resources array<Google\Cloud\Config\V1\Resource>

List of Resourcess.

↳ next_page_token string

A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.

↳ unreachable array

Locations that could not be reached.

getResources

List of Resourcess.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResources

List of Resourcess.

Parameter
Name Description
var array<Google\Cloud\Config\V1\Resource>
Returns
Type Description
$this

getNextPageToken

A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.

Returns
Type Description
string

setNextPageToken

A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to 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