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

#include <zone_set_policy_request.h>

Inheritance diagram for google_compute_api::ZoneSetPolicyRequest:

Public Member Functions

 ZoneSetPolicyRequest (const Json::Value &storage)
 
 ZoneSetPolicyRequest (Json::Value *storage)
 
virtual ~ZoneSetPolicyRequest ()
 
const StringPiece GetTypeName () const
 
bool has_bindings () const
 
void clear_bindings ()
 
const client::JsonCppArray< Bindingget_bindings () const
 
client::JsonCppArray< Bindingmutable_bindings ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_policy () const
 
void clear_policy ()
 
const Policy get_policy () const
 
Policy mutable_policy ()
 

Static Public Member Functions

static ZoneSetPolicyRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ZoneSetPolicyRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ZoneSetPolicyRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ZoneSetPolicyRequest()

google_compute_api::ZoneSetPolicyRequest::~ZoneSetPolicyRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bindings()

void google_compute_api::ZoneSetPolicyRequest::clear_bindings ( )
inline

Clears the 'bindings' attribute.

◆ clear_etag()

void google_compute_api::ZoneSetPolicyRequest::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_policy()

void google_compute_api::ZoneSetPolicyRequest::clear_policy ( )
inline

Clears the 'policy' attribute.

◆ get_bindings()

const client::JsonCppArray<Binding > google_compute_api::ZoneSetPolicyRequest::get_bindings ( ) const

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

◆ get_etag()

const StringPiece google_compute_api::ZoneSetPolicyRequest::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_policy()

const Policy google_compute_api::ZoneSetPolicyRequest::get_policy ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::ZoneSetPolicyRequest

◆ has_bindings()

bool google_compute_api::ZoneSetPolicyRequest::has_bindings ( ) const
inline

Determine if the 'bindings' attribute was set.

Returns
true if the 'bindings' attribute was set.

◆ has_etag()

bool google_compute_api::ZoneSetPolicyRequest::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_policy()

bool google_compute_api::ZoneSetPolicyRequest::has_policy ( ) const
inline

Determine if the 'policy' attribute was set.

Returns
true if the 'policy' attribute was set.

◆ mutable_bindings()

client::JsonCppArray<Binding > google_compute_api::ZoneSetPolicyRequest::mutable_bindings ( )

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

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

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

◆ mutable_policy()

Policy google_compute_api::ZoneSetPolicyRequest::mutable_policy ( )

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

REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

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

◆ New()

ZoneSetPolicyRequest * google_compute_api::ZoneSetPolicyRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_compute_api::ZoneSetPolicyRequest::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.

Parameters
[in]valueThe new value.

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