cloudbilling  v1
Public Member Functions | Static Public Member Functions | List of all members
google_cloudbilling_api::SetIamPolicyRequest Class Reference

#include <set_iam_policy_request.h>

Inheritance diagram for google_cloudbilling_api::SetIamPolicyRequest:

Public Member Functions

 SetIamPolicyRequest (const Json::Value &storage)
 
 SetIamPolicyRequest (Json::Value *storage)
 
virtual ~SetIamPolicyRequest ()
 
const StringPiece GetTypeName () const
 
bool has_policy () const
 
void clear_policy ()
 
const Policy get_policy () const
 
Policy mutable_policy ()
 
bool has_update_mask () const
 
void clear_update_mask ()
 
const StringPiece get_update_mask () const
 
void set_update_mask (const StringPiece &value)
 

Static Public Member Functions

static SetIamPolicyRequestNew ()
 

Detailed Description

Request message for SetIamPolicy method.

Constructor & Destructor Documentation

◆ SetIamPolicyRequest() [1/2]

google_cloudbilling_api::SetIamPolicyRequest::SetIamPolicyRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ SetIamPolicyRequest() [2/2]

google_cloudbilling_api::SetIamPolicyRequest::SetIamPolicyRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~SetIamPolicyRequest()

google_cloudbilling_api::SetIamPolicyRequest::~SetIamPolicyRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_policy()

void google_cloudbilling_api::SetIamPolicyRequest::clear_policy ( )
inline

Clears the 'policy' attribute.

◆ clear_update_mask()

void google_cloudbilling_api::SetIamPolicyRequest::clear_update_mask ( )
inline

Clears the 'updateMask' attribute.

◆ get_policy()

const Policy google_cloudbilling_api::SetIamPolicyRequest::get_policy ( ) const

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

◆ get_update_mask()

const StringPiece google_cloudbilling_api::SetIamPolicyRequest::get_update_mask ( ) const
inline

Get the value of the 'updateMask' attribute.

◆ GetTypeName()

const StringPiece google_cloudbilling_api::SetIamPolicyRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_cloudbilling_api::SetIamPolicyRequest

◆ has_policy()

bool google_cloudbilling_api::SetIamPolicyRequest::has_policy ( ) const
inline

Determine if the 'policy' attribute was set.

Returns
true if the 'policy' attribute was set.

◆ has_update_mask()

bool google_cloudbilling_api::SetIamPolicyRequest::has_update_mask ( ) const
inline

Determine if the 'updateMask' attribute was set.

Returns
true if the 'updateMask' attribute was set.

◆ mutable_policy()

Policy google_cloudbilling_api::SetIamPolicyRequest::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 a valid policy but certain Cloud Platform services (such as Projects) might reject them.

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

◆ New()

SetIamPolicyRequest * google_cloudbilling_api::SetIamPolicyRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_update_mask()

void google_cloudbilling_api::SetIamPolicyRequest::set_update_mask ( const StringPiece &  value)
inline

Change the 'updateMask' attribute.

OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.

Parameters
[in]valueThe new value.

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