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

#include <zone_set_labels_request.h>

Inheritance diagram for google_compute_api::ZoneSetLabelsRequest:

Public Member Functions

 ZoneSetLabelsRequest (const Json::Value &storage)
 
 ZoneSetLabelsRequest (Json::Value *storage)
 
virtual ~ZoneSetLabelsRequest ()
 
const StringPiece GetTypeName () const
 
bool has_label_fingerprint () const
 
void clear_label_fingerprint ()
 
const StringPiece get_label_fingerprint () const
 
void set_label_fingerprint (const StringPiece &value)
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppAssociativeArray< string > get_labels () const
 
client::JsonCppAssociativeArray< string > mutable_labels ()
 

Static Public Member Functions

static ZoneSetLabelsRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ZoneSetLabelsRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ZoneSetLabelsRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ZoneSetLabelsRequest()

google_compute_api::ZoneSetLabelsRequest::~ZoneSetLabelsRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_label_fingerprint()

void google_compute_api::ZoneSetLabelsRequest::clear_label_fingerprint ( )
inline

Clears the 'labelFingerprint' attribute.

◆ clear_labels()

void google_compute_api::ZoneSetLabelsRequest::clear_labels ( )
inline

Clears the 'labels' attribute.

◆ get_label_fingerprint()

const StringPiece google_compute_api::ZoneSetLabelsRequest::get_label_fingerprint ( ) const
inline

Get the value of the 'labelFingerprint' attribute.

◆ get_labels()

const client::JsonCppAssociativeArray<string > google_compute_api::ZoneSetLabelsRequest::get_labels ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::ZoneSetLabelsRequest

◆ has_label_fingerprint()

bool google_compute_api::ZoneSetLabelsRequest::has_label_fingerprint ( ) const
inline

Determine if the 'labelFingerprint' attribute was set.

Returns
true if the 'labelFingerprint' attribute was set.

◆ has_labels()

bool google_compute_api::ZoneSetLabelsRequest::has_labels ( ) const
inline

Determine if the 'labels' attribute was set.

Returns
true if the 'labels' attribute was set.

◆ mutable_labels()

client::JsonCppAssociativeArray<string > google_compute_api::ZoneSetLabelsRequest::mutable_labels ( )
inline

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

The labels to set for this resource.

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

◆ New()

ZoneSetLabelsRequest * google_compute_api::ZoneSetLabelsRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_label_fingerprint()

void google_compute_api::ZoneSetLabelsRequest::set_label_fingerprint ( const StringPiece &  value)
inline

Change the 'labelFingerprint' attribute.

The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.

Parameters
[in]valueThe new value.

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