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

#include <expr.h>

Inheritance diagram for google_deploymentmanager_api::Expr:

Public Member Functions

 Expr (const Json::Value &storage)
 
 Expr (Json::Value *storage)
 
virtual ~Expr ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_expression () const
 
void clear_expression ()
 
const StringPiece get_expression () const
 
void set_expression (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const StringPiece get_location () const
 
void set_location (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static ExprNew ()
 

Detailed Description

Represents an expression text. Example:

title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0".

Constructor & Destructor Documentation

◆ Expr() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Expr() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Expr()

google_deploymentmanager_api::Expr::~Expr ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_deploymentmanager_api::Expr::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_expression()

void google_deploymentmanager_api::Expr::clear_expression ( )
inline

Clears the 'expression' attribute.

◆ clear_location()

void google_deploymentmanager_api::Expr::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_title()

void google_deploymentmanager_api::Expr::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_description()

const StringPiece google_deploymentmanager_api::Expr::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_expression()

const StringPiece google_deploymentmanager_api::Expr::get_expression ( ) const
inline

Get the value of the 'expression' attribute.

◆ get_location()

const StringPiece google_deploymentmanager_api::Expr::get_location ( ) const
inline

Get the value of the 'location' attribute.

◆ get_title()

const StringPiece google_deploymentmanager_api::Expr::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::Expr

◆ has_description()

bool google_deploymentmanager_api::Expr::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_expression()

bool google_deploymentmanager_api::Expr::has_expression ( ) const
inline

Determine if the 'expression' attribute was set.

Returns
true if the 'expression' attribute was set.

◆ has_location()

bool google_deploymentmanager_api::Expr::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_title()

bool google_deploymentmanager_api::Expr::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

Expr * google_deploymentmanager_api::Expr::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_deploymentmanager_api::Expr::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

Parameters
[in]valueThe new value.

◆ set_expression()

void google_deploymentmanager_api::Expr::set_expression ( const StringPiece &  value)
inline

Change the 'expression' attribute.

Textual representation of an expression in Common Expression Language syntax.

The application context of the containing message determines which well- known feature set of CEL is supported.

Parameters
[in]valueThe new value.

◆ set_location()

void google_deploymentmanager_api::Expr::set_location ( const StringPiece &  value)
inline

Change the 'location' attribute.

An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

Parameters
[in]valueThe new value.

◆ set_title()

void google_deploymentmanager_api::Expr::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

Parameters
[in]valueThe new value.

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