class CheckRequest extends Message

Request message for the Check method.

Generated from protobuf message google.api.expr.v1alpha1.CheckRequest

Methods

__construct(array $data = NULL)

Constructor.

getParsedExpr()

Required. The parsed representation of the CEL program.

$this
setParsedExpr(ParsedExpr $var)

Required. The parsed representation of the CEL program.

RepeatedField
getTypeEnv()

Declarations of types for external variables and functions.

$this
setTypeEnv(Decl[]|RepeatedField $var)

Declarations of types for external variables and functions.

string
getContainer()

The protocol buffer context. See "Name Resolution" in the Language Definition.

$this
setContainer(string $var)

The protocol buffer context. See "Name Resolution" in the Language Definition.

bool
getNoStdEnv()

If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false (default), add declarations for the standard definitions to the type environment. See "Standard Definitions" in the Language Definition.

$this
setNoStdEnv(bool $var)

If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false (default), add declarations for the standard definitions to the type environment. See "Standard Definitions" in the Language Definition.

Details

at line 69
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type \Google\Api\Expr\V1alpha1\ParsedExpr $parsed_expr
      Required. The parsed representation of the CEL program.
@type \Google\Api\Expr\V1alpha1\Decl[]|\Google\Protobuf\Internal\RepeatedField $type_env
      Declarations of types for external variables and functions.
      Required if program uses external variables or functions
      not in the default environment.
@type string $container
      The protocol buffer context.  See "Name Resolution" in the
      Language Definition.
@type bool $no_std_env
      If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env].  If false (default),
      add declarations for the standard definitions to the type environment.  See
      "Standard Definitions" in the Language Definition.

}

at line 80
ParsedExpr getParsedExpr()

Required. The parsed representation of the CEL program.

Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1 [(.google.api.field_behavior) = REQUIRED];

Return Value

ParsedExpr

at line 92
$this setParsedExpr(ParsedExpr $var)

Required. The parsed representation of the CEL program.

Generated from protobuf field .google.api.expr.v1alpha1.ParsedExpr parsed_expr = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters

ParsedExpr $var

Return Value

$this

at line 108
RepeatedField getTypeEnv()

Declarations of types for external variables and functions.

Required if program uses external variables or functions not in the default environment.

Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl type_env = 2;

Return Value

RepeatedField

at line 122
$this setTypeEnv(Decl[]|RepeatedField $var)

Declarations of types for external variables and functions.

Required if program uses external variables or functions not in the default environment.

Generated from protobuf field repeated .google.api.expr.v1alpha1.Decl type_env = 2;

Parameters

Decl[]|RepeatedField $var

Return Value

$this

at line 137
string getContainer()

The protocol buffer context. See "Name Resolution" in the Language Definition.

Generated from protobuf field string container = 3;

Return Value

string

at line 150
$this setContainer(string $var)

The protocol buffer context. See "Name Resolution" in the Language Definition.

Generated from protobuf field string container = 3;

Parameters

string $var

Return Value

$this

at line 166
bool getNoStdEnv()

If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false (default), add declarations for the standard definitions to the type environment. See "Standard Definitions" in the Language Definition.

Generated from protobuf field bool no_std_env = 4;

Return Value

bool

at line 180
$this setNoStdEnv(bool $var)

If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false (default), add declarations for the standard definitions to the type environment. See "Standard Definitions" in the Language Definition.

Generated from protobuf field bool no_std_env = 4;

Parameters

bool $var

Return Value

$this