A FirewallPolicy represents a single matching pattern and resulting actions to take.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.FirewallPolicy
Methods |
public __construct( $data = NULL) Constructor.
|
public getActions() Optional. The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any
action that forces a response, such as Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL];
|
public getCondition() Optional. A CEL (Common Expression Language) conditional expression that specifies if this policy applies to an incoming user request. If this condition evaluates to true and the requested path matched the path pattern, the associated actions should be executed by the caller. The condition string is checked for CEL syntax correctness on creation. For more information, see the CEL spec and its language definition. A condition has a max length of 500 characters. Generated from protobuf field string condition = 5 [(.google.api.field_behavior) = OPTIONAL];
|
public getDescription() Optional. A description of what this policy aims to achieve, for convenience purposes. The description can at most include 256 UTF-8 characters. Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public getName() Identifier. The resource name for the FirewallPolicy in the format
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
|
public getPath() Optional. The path for which this policy applies, specified as a glob pattern. For more information on glob, see the manual page. A path has a max length of 200 characters. Generated from protobuf field string path = 4 [(.google.api.field_behavior) = OPTIONAL];
|
public setActions( $var) Optional. The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any
action that forces a response, such as Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL];
|
public setCondition( $var) Optional. A CEL (Common Expression Language) conditional expression that specifies if this policy applies to an incoming user request. If this condition evaluates to true and the requested path matched the path pattern, the associated actions should be executed by the caller. The condition string is checked for CEL syntax correctness on creation. For more information, see the CEL spec and its language definition. A condition has a max length of 500 characters. Generated from protobuf field string condition = 5 [(.google.api.field_behavior) = OPTIONAL];
|
public setDescription( $var) Optional. A description of what this policy aims to achieve, for convenience purposes. The description can at most include 256 UTF-8 characters. Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public setName( $var) Identifier. The resource name for the FirewallPolicy in the format
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
|
public setPath( $var) Optional. The path for which this policy applies, specified as a glob pattern. For more information on glob, see the manual page. A path has a max length of 200 characters. Generated from protobuf field string path = 4 [(.google.api.field_behavior) = OPTIONAL];
|
Properties |
protected $condition = '' Optional. A CEL (Common Expression Language) conditional expression that specifies if this policy applies to an incoming user request. If this condition evaluates to true and the requested path matched the path pattern, the associated actions should be executed by the caller. The condition string is checked for CEL syntax correctness on creation. For more information, see the CEL spec and its language definition. A condition has a max length of 500 characters. Generated from protobuf field string condition = 5 [(.google.api.field_behavior) = OPTIONAL]; |
protected $description = '' Optional. A description of what this policy aims to achieve, for convenience purposes. The description can at most include 256 UTF-8 characters. Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; |
protected $name = '' Identifier. The resource name for the FirewallPolicy in the format
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; |
protected $path = '' Optional. The path for which this policy applies, specified as a glob pattern. For more information on glob, see the manual page. A path has a max length of 200 characters. Generated from protobuf field string path = 4 [(.google.api.field_behavior) = OPTIONAL]; |
Methods |
Properties |
private $actions = NULL Optional. The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any
action that forces a response, such as Generated from protobuf field repeated .google.cloud.recaptchaenterprise.v1.FirewallAction actions = 6 [(.google.api.field_behavior) = OPTIONAL]; |