Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
|
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) | |
NativeExpression & | operator= (NativeExpression const &other) |
NativeExpression (NativeExpression &&) noexcept | |
NativeExpression & | operator= (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 |
Represents a google::type::Expr.
This is a textual representation of an expression in Common Expression Language (CEL) syntax.
google::cloud::storage::NativeExpression::NativeExpression | ( | std::string | expression, |
std::string | title = "" , |
||
std::string | description = "" , |
||
std::string | location = "" |
||
) |
Create a NativeExpression
.
expression | the expression in Common Expression Language. |
title | an optional title for the expression, i.e. a short string describing its purpose. |
description | an optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. |
location | an optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file. |
google::cloud::storage::NativeExpression::~NativeExpression | ( | ) |
google::cloud::storage::NativeExpression::NativeExpression | ( | NativeExpression const & | other | ) |
|
noexcept |
std::string google::cloud::storage::NativeExpression::description | ( | ) | const |
std::string google::cloud::storage::NativeExpression::expression | ( | ) | const |
std::string google::cloud::storage::NativeExpression::location | ( | ) | const |
|
noexcept |
NativeExpression & google::cloud::storage::NativeExpression::operator= | ( | NativeExpression const & | other | ) |
void google::cloud::storage::NativeExpression::set_description | ( | std::string | description | ) |
void google::cloud::storage::NativeExpression::set_expression | ( | std::string | expression | ) |
void google::cloud::storage::NativeExpression::set_location | ( | std::string | location | ) |
void google::cloud::storage::NativeExpression::set_title | ( | std::string | title | ) |
std::string google::cloud::storage::NativeExpression::title | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |