Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
google::cloud::storage::NativeExpression Class Reference

Represents a google::type::Expr. More...

#include <google/cloud/storage/iam_policy.h>

Public Member Functions

 NativeExpression (std::string expression, std::string title="", std::string description="", std::string location="")
 Create a NativeExpression. More...
 
 ~NativeExpression ()
 
 NativeExpression (NativeExpression const &other)
 
NativeExpressionoperator= (NativeExpression const &other)
 
 NativeExpression (NativeExpression &&) noexcept
 
NativeExpressionoperator= (NativeExpression &&) noexcept
 
std::string expression () const
 
void set_expression (std::string expression)
 
std::string title () const
 
void set_title (std::string title)
 
std::string description () const
 
void set_description (std::string description)
 
std::string location () const
 
void set_location (std::string location)
 

Friends

class NativeIamPolicy
 
class NativeIamBinding
 
bool operator== (NativeExpression const &a, NativeExpression const &b) noexcept
 
bool operator!= (NativeExpression const &a, NativeExpression const &b) noexcept
 

Detailed Description

Represents a google::type::Expr.

This is a textual representation of an expression in Common Expression Language (CEL) syntax.

Constructor & Destructor Documentation

◆ NativeExpression() [1/3]

google::cloud::storage::NativeExpression::NativeExpression ( std::string  expression,
std::string  title = "",
std::string  description = "",
std::string  location = "" 
)

Create a NativeExpression.

Parameters
expressionthe expression in Common Expression Language.
titlean optional title for the expression, i.e. a short string describing its purpose.
descriptionan optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
locationan optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

◆ ~NativeExpression()

google::cloud::storage::NativeExpression::~NativeExpression ( )

◆ NativeExpression() [2/3]

google::cloud::storage::NativeExpression::NativeExpression ( NativeExpression const &  other)

◆ NativeExpression() [3/3]

google::cloud::storage::NativeExpression::NativeExpression ( NativeExpression &&  )
noexcept

Member Function Documentation

◆ description()

std::string google::cloud::storage::NativeExpression::description ( ) const

◆ expression()

std::string google::cloud::storage::NativeExpression::expression ( ) const

◆ location()

std::string google::cloud::storage::NativeExpression::location ( ) const

◆ operator=() [1/2]

NativeExpression & google::cloud::storage::NativeExpression::operator= ( NativeExpression &&  )
noexcept

◆ operator=() [2/2]

NativeExpression & google::cloud::storage::NativeExpression::operator= ( NativeExpression const &  other)

◆ set_description()

void google::cloud::storage::NativeExpression::set_description ( std::string  description)

◆ set_expression()

void google::cloud::storage::NativeExpression::set_expression ( std::string  expression)

◆ set_location()

void google::cloud::storage::NativeExpression::set_location ( std::string  location)

◆ set_title()

void google::cloud::storage::NativeExpression::set_title ( std::string  title)

◆ title()

std::string google::cloud::storage::NativeExpression::title ( ) const

Friends And Related Function Documentation

◆ NativeIamBinding

friend class NativeIamBinding
friend

◆ NativeIamPolicy

friend class NativeIamPolicy
friend

◆ operator!=

bool operator!= ( NativeExpression const &  a,
NativeExpression const &  b 
)
friend

◆ operator==

bool operator== ( NativeExpression const &  a,
NativeExpression const &  b 
)
friend