deploymentmanager  v2
Public Member Functions | Static Public Member Functions | List of all members
google_deploymentmanager_api::GlobalSetPolicyRequest Class Reference

#include <global_set_policy_request.h>

Inheritance diagram for google_deploymentmanager_api::GlobalSetPolicyRequest:

Public Member Functions

 GlobalSetPolicyRequest (const Json::Value &storage)
 
 GlobalSetPolicyRequest (Json::Value *storage)
 
virtual ~GlobalSetPolicyRequest ()
 
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 GlobalSetPolicyRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ GlobalSetPolicyRequest() [1/2]

google_deploymentmanager_api::GlobalSetPolicyRequest::GlobalSetPolicyRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ GlobalSetPolicyRequest() [2/2]

google_deploymentmanager_api::GlobalSetPolicyRequest::GlobalSetPolicyRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~GlobalSetPolicyRequest()

google_deploymentmanager_api::GlobalSetPolicyRequest::~GlobalSetPolicyRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bindings()

void google_deploymentmanager_api::GlobalSetPolicyRequest::clear_bindings ( )
inline

Clears the 'bindings' attribute.

◆ clear_etag()

void google_deploymentmanager_api::GlobalSetPolicyRequest::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_policy()

void google_deploymentmanager_api::GlobalSetPolicyRequest::clear_policy ( )
inline

Clears the 'policy' attribute.

◆ get_bindings()

const client::JsonCppArray<Binding > google_deploymentmanager_api::GlobalSetPolicyRequest::get_bindings ( ) const

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

◆ get_etag()

const StringPiece google_deploymentmanager_api::GlobalSetPolicyRequest::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_policy()

const Policy google_deploymentmanager_api::GlobalSetPolicyRequest::get_policy ( ) const

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

◆ GetTypeName()

const StringPiece google_deploymentmanager_api::GlobalSetPolicyRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::GlobalSetPolicyRequest

◆ has_bindings()

bool google_deploymentmanager_api::GlobalSetPolicyRequest::has_bindings ( ) const
inline

Determine if the 'bindings' attribute was set.

Returns
true if the 'bindings' attribute was set.

◆ has_etag()

bool google_deploymentmanager_api::GlobalSetPolicyRequest::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_policy()

bool google_deploymentmanager_api::GlobalSetPolicyRequest::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_deploymentmanager_api::GlobalSetPolicyRequest::mutable_bindings ( )

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

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

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

◆ mutable_policy()

Policy google_deploymentmanager_api::GlobalSetPolicyRequest::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()

GlobalSetPolicyRequest * google_deploymentmanager_api::GlobalSetPolicyRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_deploymentmanager_api::GlobalSetPolicyRequest::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: