compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::ProjectsGetXpnResources Class Reference

#include <projects_get_xpn_resources.h>

Inheritance diagram for google_compute_api::ProjectsGetXpnResources:

Public Member Functions

 ProjectsGetXpnResources (const Json::Value &storage)
 
 ProjectsGetXpnResources (Json::Value *storage)
 
virtual ~ProjectsGetXpnResources ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
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_resources () const
 
void clear_resources ()
 
const client::JsonCppArray< XpnResourceIdget_resources () const
 
client::JsonCppArray< XpnResourceIdmutable_resources ()
 

Static Public Member Functions

static ProjectsGetXpnResourcesNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ProjectsGetXpnResources() [1/2]

google_compute_api::ProjectsGetXpnResources::ProjectsGetXpnResources ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ProjectsGetXpnResources() [2/2]

google_compute_api::ProjectsGetXpnResources::ProjectsGetXpnResources ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ProjectsGetXpnResources()

google_compute_api::ProjectsGetXpnResources::~ProjectsGetXpnResources ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_compute_api::ProjectsGetXpnResources::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_next_page_token()

void google_compute_api::ProjectsGetXpnResources::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_resources()

void google_compute_api::ProjectsGetXpnResources::clear_resources ( )
inline

Clears the 'resources' attribute.

◆ get_kind()

const StringPiece google_compute_api::ProjectsGetXpnResources::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_next_page_token()

const StringPiece google_compute_api::ProjectsGetXpnResources::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_resources()

const client::JsonCppArray<XpnResourceId > google_compute_api::ProjectsGetXpnResources::get_resources ( ) const

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

◆ GetTypeName()

const StringPiece google_compute_api::ProjectsGetXpnResources::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::ProjectsGetXpnResources

◆ has_kind()

bool google_compute_api::ProjectsGetXpnResources::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_next_page_token()

bool google_compute_api::ProjectsGetXpnResources::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ has_resources()

bool google_compute_api::ProjectsGetXpnResources::has_resources ( ) const
inline

Determine if the 'resources' attribute was set.

Returns
true if the 'resources' attribute was set.

◆ mutable_resources()

client::JsonCppArray<XpnResourceId > google_compute_api::ProjectsGetXpnResources::mutable_resources ( )

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

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

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

◆ New()

ProjectsGetXpnResources * google_compute_api::ProjectsGetXpnResources::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_compute_api::ProjectsGetXpnResources::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] Type of resource. Always compute::projectsGetXpnResources for lists of service resources (a.k.a service projects).

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_compute_api::ProjectsGetXpnResources::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

Parameters
[in]valueThe new value.

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