cloudresourcemanager  v1beta1
Public Member Functions | Static Public Member Functions | List of all members
google_cloudresourcemanager_api::ListProjectsResponse Class Reference

#include <list_projects_response.h>

Inheritance diagram for google_cloudresourcemanager_api::ListProjectsResponse:

Public Member Functions

 ListProjectsResponse (const Json::Value &storage)
 
 ListProjectsResponse (Json::Value *storage)
 
virtual ~ListProjectsResponse ()
 
const StringPiece GetTypeName () const
 
bool has_next_page_token () const
 
void clear_next_page_token ()
 
const StringPiece get_next_page_token () const
 
void set_next_page_token (const StringPiece &value)
 
bool has_projects () const
 
void clear_projects ()
 
const client::JsonCppArray< Projectget_projects () const
 
client::JsonCppArray< Projectmutable_projects ()
 

Static Public Member Functions

static ListProjectsResponseNew ()
 

Detailed Description

A page of the response received from the ListProjects 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.

Constructor & Destructor Documentation

◆ ListProjectsResponse() [1/2]

google_cloudresourcemanager_api::ListProjectsResponse::ListProjectsResponse ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ListProjectsResponse() [2/2]

google_cloudresourcemanager_api::ListProjectsResponse::ListProjectsResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ListProjectsResponse()

google_cloudresourcemanager_api::ListProjectsResponse::~ListProjectsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_next_page_token()

void google_cloudresourcemanager_api::ListProjectsResponse::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_projects()

void google_cloudresourcemanager_api::ListProjectsResponse::clear_projects ( )
inline

Clears the 'projects' attribute.

◆ get_next_page_token()

const StringPiece google_cloudresourcemanager_api::ListProjectsResponse::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_projects()

const client::JsonCppArray<Project > google_cloudresourcemanager_api::ListProjectsResponse::get_projects ( ) const

Get a reference to the value of the 'projects' attribute.

◆ GetTypeName()

const StringPiece google_cloudresourcemanager_api::ListProjectsResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_cloudresourcemanager_api::ListProjectsResponse

◆ has_next_page_token()

bool google_cloudresourcemanager_api::ListProjectsResponse::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ has_projects()

bool google_cloudresourcemanager_api::ListProjectsResponse::has_projects ( ) const
inline

Determine if the 'projects' attribute was set.

Returns
true if the 'projects' attribute was set.

◆ mutable_projects()

client::JsonCppArray<Project > google_cloudresourcemanager_api::ListProjectsResponse::mutable_projects ( )

Gets a reference to a mutable value of the 'projects' property.

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

Returns
The result can be modified to change the attribute value.

◆ New()

ListProjectsResponse * google_cloudresourcemanager_api::ListProjectsResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_next_page_token()

void google_cloudresourcemanager_api::ListProjectsResponse::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

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.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: