Google Cloud Resource Manager V3 Client - Class SearchProjectsResponse (0.3.9)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class SearchProjectsResponse.

A page of the response received from the SearchProjects method.

A paginated response where more pages are available has next_page_token set. This token can be used in a subsequent request to retrieve the next request page.

Generated from protobuf message google.cloud.resourcemanager.v3.SearchProjectsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ projects array<Google\Cloud\ResourceManager\V3\Project>

The list of Projects that matched the list filter query. This list can be paginated.

↳ next_page_token string

Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results. When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.

getProjects

The list of Projects that matched the list filter query. This list can be paginated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProjects

The list of Projects that matched the list filter query. This list can be paginated.

Parameter
NameDescription
var array<Google\Cloud\ResourceManager\V3\Project>
Returns
TypeDescription
$this

getNextPageToken

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results. When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.

Returns
TypeDescription
string

setNextPageToken

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results. When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.

Parameter
NameDescription
var string
Returns
TypeDescription
$this