Google Cloud Storage C++ Client  1.40.2
A C++ Client Library for Google Cloud Storage
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)


class NativeIamPolicy
class NativeIamBinding

Detailed Description

Represents a google::type::Expr.

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

Definition at line 34 of file iam_policy.h.

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.

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 &&  )

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 &&  )

◆ 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

Definition at line 75 of file iam_policy.h.

◆ NativeIamPolicy

friend class NativeIamPolicy

Definition at line 74 of file iam_policy.h.