Google Cloud Config V1 Client - Class ListResourcesResponse (0.2.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResources

List of Resourcess.

Parameter
NameDescription
var array<Google\Cloud\Config\V1\Resource>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this