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

#include <instances_set_service_account_request.h>

Inheritance diagram for google_compute_api::InstancesSetServiceAccountRequest:

Public Member Functions

 InstancesSetServiceAccountRequest (const Json::Value &storage)
 
 InstancesSetServiceAccountRequest (Json::Value *storage)
 
virtual ~InstancesSetServiceAccountRequest ()
 
const StringPiece GetTypeName () const
 
bool has_email () const
 
void clear_email ()
 
const StringPiece get_email () const
 
void set_email (const StringPiece &value)
 
bool has_scopes () const
 
void clear_scopes ()
 
const client::JsonCppArray< string > get_scopes () const
 
client::JsonCppArray< string > mutable_scopes ()
 

Static Public Member Functions

static InstancesSetServiceAccountRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstancesSetServiceAccountRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstancesSetServiceAccountRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstancesSetServiceAccountRequest()

google_compute_api::InstancesSetServiceAccountRequest::~InstancesSetServiceAccountRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_email()

void google_compute_api::InstancesSetServiceAccountRequest::clear_email ( )
inline

Clears the 'email' attribute.

◆ clear_scopes()

void google_compute_api::InstancesSetServiceAccountRequest::clear_scopes ( )
inline

Clears the 'scopes' attribute.

◆ get_email()

const StringPiece google_compute_api::InstancesSetServiceAccountRequest::get_email ( ) const
inline

Get the value of the 'email' attribute.

◆ get_scopes()

const client::JsonCppArray<string > google_compute_api::InstancesSetServiceAccountRequest::get_scopes ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstancesSetServiceAccountRequest

◆ has_email()

bool google_compute_api::InstancesSetServiceAccountRequest::has_email ( ) const
inline

Determine if the 'email' attribute was set.

Returns
true if the 'email' attribute was set.

◆ has_scopes()

bool google_compute_api::InstancesSetServiceAccountRequest::has_scopes ( ) const
inline

Determine if the 'scopes' attribute was set.

Returns
true if the 'scopes' attribute was set.

◆ mutable_scopes()

client::JsonCppArray<string > google_compute_api::InstancesSetServiceAccountRequest::mutable_scopes ( )
inline

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

The list of scopes to be made available for this service account.

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

◆ New()

InstancesSetServiceAccountRequest * google_compute_api::InstancesSetServiceAccountRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_email()

void google_compute_api::InstancesSetServiceAccountRequest::set_email ( const StringPiece &  value)
inline

Change the 'email' attribute.

Email address of the service account.

Parameters
[in]valueThe new value.

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