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

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

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setProjects

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

Parameter
Name Description
var array<Google\Cloud\ResourceManager\V3\Project>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this