@@ -116,6 +116,7 @@ class Rule(google.protobuf.message.Message):
116116 METADATA_FIELD_NUMBER : builtins .int
117117 ARCHIVED_DATE_FIELD_NUMBER : builtins .int
118118 IS_ARCHIVED_FIELD_NUMBER : builtins .int
119+ IS_LIVE_EVALUATION_ENABLED_FIELD_NUMBER : builtins .int
119120 rule_id : builtins .str
120121 asset_id : builtins .str
121122 name : builtins .str
@@ -129,6 +130,10 @@ class Rule(google.protobuf.message.Message):
129130 is_external : builtins .bool
130131 is_archived : builtins .bool
131132 """is_archived is inferred from when archived_date is not null"""
133+ is_live_evaluation_enabled : builtins .bool
134+ """If set to `true` then this rule will be evaluated on live data, otherwise live rule evaluation
135+ will be disabled. This rule can still be used, however, in report generation.
136+ """
132137 @property
133138 def created_date (self ) -> google .protobuf .timestamp_pb2 .Timestamp : ...
134139 @property
@@ -172,9 +177,10 @@ class Rule(google.protobuf.message.Message):
172177 metadata : collections .abc .Iterable [sift .metadata .v1 .metadata_pb2 .MetadataValue ] | None = ...,
173178 archived_date : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
174179 is_archived : builtins .bool = ...,
180+ is_live_evaluation_enabled : builtins .bool = ...,
175181 ) -> None : ...
176182 def HasField (self , field_name : typing .Literal ["archived_date" , b"archived_date" , "asset_configuration" , b"asset_configuration" , "contextual_channels" , b"contextual_channels" , "created_date" , b"created_date" , "deleted_date" , b"deleted_date" , "modified_date" , b"modified_date" , "rule_version" , b"rule_version" ]) -> builtins .bool : ...
177- def ClearField (self , field_name : typing .Literal ["archived_date" , b"archived_date" , "asset_configuration" , b"asset_configuration" , "asset_id" , b"asset_id" , "client_key" , b"client_key" , "conditions" , b"conditions" , "contextual_channels" , b"contextual_channels" , "created_by_user_id" , b"created_by_user_id" , "created_date" , b"created_date" , "deleted_date" , b"deleted_date" , "description" , b"description" , "is_archived" , b"is_archived" , "is_enabled" , b"is_enabled" , "is_external" , b"is_external" , "metadata" , b"metadata" , "modified_by_user_id" , b"modified_by_user_id" , "modified_date" , b"modified_date" , "name" , b"name" , "organization_id" , b"organization_id" , "rule_id" , b"rule_id" , "rule_version" , b"rule_version" ]) -> None : ...
183+ def ClearField (self , field_name : typing .Literal ["archived_date" , b"archived_date" , "asset_configuration" , b"asset_configuration" , "asset_id" , b"asset_id" , "client_key" , b"client_key" , "conditions" , b"conditions" , "contextual_channels" , b"contextual_channels" , "created_by_user_id" , b"created_by_user_id" , "created_date" , b"created_date" , "deleted_date" , b"deleted_date" , "description" , b"description" , "is_archived" , b"is_archived" , "is_enabled" , b"is_enabled" , "is_external" , b"is_external" , "is_live_evaluation_enabled" , b"is_live_evaluation_enabled" , " metadata" , b"metadata" , "modified_by_user_id" , b"modified_by_user_id" , "modified_date" , b"modified_date" , "name" , b"name" , "organization_id" , b"organization_id" , "rule_id" , b"rule_id" , "rule_version" , b"rule_version" ]) -> None : ...
178184
179185global___Rule = Rule
180186
@@ -540,6 +546,7 @@ class UpdateRuleRequest(google.protobuf.message.Message):
540546 IS_EXTERNAL_FIELD_NUMBER : builtins .int
541547 METADATA_FIELD_NUMBER : builtins .int
542548 IS_ARCHIVED_FIELD_NUMBER : builtins .int
549+ IS_LIVE_EVALUATION_ENABLED_FIELD_NUMBER : builtins .int
543550 rule_id : builtins .str
544551 name : builtins .str
545552 description : builtins .str
@@ -553,6 +560,11 @@ class UpdateRuleRequest(google.protobuf.message.Message):
553560 """client_key is a client provided identifier for the rule. It is immutable after being set"""
554561 is_external : builtins .bool
555562 is_archived : builtins .bool
563+ is_live_evaluation_enabled : builtins .bool
564+ """If set to `true` then this rule will be evaluated on live data, otherwise live rule evaluation
565+ will be disabled. This rule can still be used, however, in report generation. If this value
566+ is null then the original value is preserved
567+ """
556568 @property
557569 def conditions (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___UpdateConditionRequest ]: ...
558570 @property
@@ -578,12 +590,15 @@ class UpdateRuleRequest(google.protobuf.message.Message):
578590 is_external : builtins .bool = ...,
579591 metadata : collections .abc .Iterable [sift .metadata .v1 .metadata_pb2 .MetadataValue ] | None = ...,
580592 is_archived : builtins .bool = ...,
593+ is_live_evaluation_enabled : builtins .bool | None = ...,
581594 ) -> None : ...
582- def HasField (self , field_name : typing .Literal ["_client_key" , b"_client_key" , "_rule_id" , b"_rule_id" , "asset_configuration" , b"asset_configuration" , "client_key" , b"client_key" , "contextual_channels" , b"contextual_channels" , "rule_id" , b"rule_id" ]) -> builtins .bool : ...
583- def ClearField (self , field_name : typing .Literal ["_client_key" , b"_client_key" , "_rule_id" , b"_rule_id" , "asset_configuration" , b"asset_configuration" , "asset_id" , b"asset_id" , "client_key" , b"client_key" , "conditions" , b"conditions" , "contextual_channels" , b"contextual_channels" , "description" , b"description" , "is_archived" , b"is_archived" , "is_enabled" , b"is_enabled" , "is_external" , b"is_external" , "metadata" , b"metadata" , "name" , b"name" , "organization_id" , b"organization_id" , "rule_id" , b"rule_id" , "version_notes" , b"version_notes" ]) -> None : ...
595+ def HasField (self , field_name : typing .Literal ["_client_key" , b"_client_key" , "_is_live_evaluation_enabled" , b"_is_live_evaluation_enabled" , " _rule_id" , b"_rule_id" , "asset_configuration" , b"asset_configuration" , "client_key" , b"client_key" , "contextual_channels" , b"contextual_channels" , "is_live_evaluation_enabled" , b"is_live_evaluation_enabled " , "rule_id" , b"rule_id" ]) -> builtins .bool : ...
596+ def ClearField (self , field_name : typing .Literal ["_client_key" , b"_client_key" , "_is_live_evaluation_enabled" , b"_is_live_evaluation_enabled" , " _rule_id" , b"_rule_id" , "asset_configuration" , b"asset_configuration" , "asset_id" , b"asset_id" , "client_key" , b"client_key" , "conditions" , b"conditions" , "contextual_channels" , b"contextual_channels" , "description" , b"description" , "is_archived" , b"is_archived" , "is_enabled" , b"is_enabled" , "is_external" , b"is_external" , "is_live_evaluation_enabled" , b"is_live_evaluation_enabled " , "metadata" , b"metadata" , "name" , b"name" , "organization_id" , b"organization_id" , "rule_id" , b"rule_id" , "version_notes" , b"version_notes" ]) -> None : ...
584597 @typing .overload
585598 def WhichOneof (self , oneof_group : typing .Literal ["_client_key" , b"_client_key" ]) -> typing .Literal ["client_key" ] | None : ...
586599 @typing .overload
600+ def WhichOneof (self , oneof_group : typing .Literal ["_is_live_evaluation_enabled" , b"_is_live_evaluation_enabled" ]) -> typing .Literal ["is_live_evaluation_enabled" ] | None : ...
601+ @typing .overload
587602 def WhichOneof (self , oneof_group : typing .Literal ["_rule_id" , b"_rule_id" ]) -> typing .Literal ["rule_id" ] | None : ...
588603
589604global___UpdateRuleRequest = UpdateRuleRequest
@@ -1276,7 +1291,7 @@ class ListRulesRequest(google.protobuf.message.Message):
12761291 filter : builtins .str
12771292 """A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.
12781293 Available fields to filter by are `rule_id`, `client_key`, `name`, `description`, `is_external`, `asset_id`, `tag_id`,
1279- `created_date`, `created_by_user_id`, `metadata`, `modified_date`, `modified_by_user_id`, `deleted_date`, `is_archived`, and `archived_date `.
1294+ `created_date`, `created_by_user_id`, `metadata`, `modified_date`, `modified_by_user_id`, `deleted_date`, `is_archived`, `archived_date`, and `is_live_evaluation_enabled `.
12801295 For further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).
12811296 Optional.
12821297 """
0 commit comments