google-cloud-chronicle-v1 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/chronicle/v1/curated_rule_pb.rb +31 -0
- data/lib/google/cloud/chronicle/v1/entity_pb.rb +6 -1
- data/lib/google/cloud/chronicle/v1/event_pb.rb +24 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_pb.rb +33 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/client.rb +540 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/paths.rb +52 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/rest/client.rb +490 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/rest/service_stub.rb +142 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service/rest.rb +53 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_service.rb +56 -0
- data/lib/google/cloud/chronicle/v1/featured_content_rule_services_pb.rb +46 -0
- data/lib/google/cloud/chronicle/v1/rest.rb +3 -1
- data/lib/google/cloud/chronicle/v1/rule_execution_error_pb.rb +1 -1
- data/lib/google/cloud/chronicle/v1/search_pb.rb +64 -0
- data/lib/google/cloud/chronicle/v1/search_service/client.rb +643 -0
- data/lib/google/cloud/chronicle/v1/search_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/search_service/operations.rb +843 -0
- data/lib/google/cloud/chronicle/v1/search_service/paths.rb +94 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/client.rb +586 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/operations.rb +927 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest.rb +53 -0
- data/lib/google/cloud/chronicle/v1/search_service.rb +56 -0
- data/lib/google/cloud/chronicle/v1/search_services_pb.rb +47 -0
- data/lib/google/cloud/chronicle/v1/simulated_data_pb.rb +21 -0
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- data/lib/google/cloud/chronicle/v1.rb +3 -1
- data/proto_docs/backstory/collection.rb +371 -0
- data/proto_docs/backstory/data_access.rb +59 -0
- data/proto_docs/backstory/entity.rb +639 -0
- data/proto_docs/backstory/entity_risk.rb +98 -0
- data/proto_docs/backstory/id.rb +73 -0
- data/proto_docs/backstory/udm.rb +7008 -0
- data/proto_docs/google/cloud/chronicle/v1/curated_rule.rb +117 -0
- data/proto_docs/google/cloud/chronicle/v1/entity.rb +38 -0
- data/proto_docs/google/cloud/chronicle/v1/event.rb +42 -0
- data/proto_docs/google/cloud/chronicle/v1/featured_content_rule.rb +208 -0
- data/proto_docs/google/cloud/chronicle/v1/search.rb +593 -0
- data/proto_docs/google/cloud/chronicle/v1/simulated_data.rb +40 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +57 -1
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Chronicle
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a rule authored by Chronicle's Google Cloud Threat Intelligence
|
|
25
|
+
# (GCTI).
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Required. Full resource name for the curated rule.
|
|
29
|
+
# Format:
|
|
30
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/curatedRules/\\{curatedRule}
|
|
31
|
+
# @!attribute [r] display_name
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Output only. Unique display name of the curated rule.
|
|
34
|
+
# @!attribute [r] severity
|
|
35
|
+
# @return [::Google::Cloud::Chronicle::V1::Severity]
|
|
36
|
+
# Output only. The severity of the curated rule.
|
|
37
|
+
# @!attribute [r] metadata
|
|
38
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
39
|
+
# Output only. Additional unstructured metadata.
|
|
40
|
+
# @!attribute [r] type
|
|
41
|
+
# @return [::Google::Cloud::Chronicle::V1::RuleType]
|
|
42
|
+
# Output only. User-facing type of the curated rule.
|
|
43
|
+
# @!attribute [r] precision
|
|
44
|
+
# @return [::Google::Cloud::Chronicle::V1::CuratedRulePrecision]
|
|
45
|
+
# Output only. Precision level of the curated rule.
|
|
46
|
+
# @!attribute [r] tactics
|
|
47
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::MitreTactic>]
|
|
48
|
+
# Output only. Mitre tactics covered by the curated rule.
|
|
49
|
+
# @!attribute [r] techniques
|
|
50
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::MitreTechnique>]
|
|
51
|
+
# Output only. Mitre techniques covered by the curated rule.
|
|
52
|
+
# @!attribute [r] update_time
|
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
54
|
+
# Output only. The timestamp of when the curated rule was last updated.
|
|
55
|
+
# @!attribute [r] curated_rule_set
|
|
56
|
+
# @return [::String]
|
|
57
|
+
# Output only. The parent CuratedRuleSet that the rule is listed under.
|
|
58
|
+
# Format:
|
|
59
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/curatedRuleSetCategories/\\{category}/curatedRuleSets/\\{rule_set}
|
|
60
|
+
# @!attribute [r] description
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Output only. The description of the curated rule.
|
|
63
|
+
class CuratedRule
|
|
64
|
+
include ::Google::Protobuf::MessageExts
|
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
66
|
+
|
|
67
|
+
# @!attribute [rw] key
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# @!attribute [rw] value
|
|
70
|
+
# @return [::String]
|
|
71
|
+
class MetadataEntry
|
|
72
|
+
include ::Google::Protobuf::MessageExts
|
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# MitreTactic represents a MITRE ATT&CK tactic.
|
|
78
|
+
# @!attribute [rw] id
|
|
79
|
+
# @return [::String]
|
|
80
|
+
# The ID of the tactic.
|
|
81
|
+
# @!attribute [rw] display_name
|
|
82
|
+
# @return [::String]
|
|
83
|
+
# The human-readable name of the tactic.
|
|
84
|
+
class MitreTactic
|
|
85
|
+
include ::Google::Protobuf::MessageExts
|
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# MitreTechnique represents a MITRE ATT&CK technique.
|
|
90
|
+
# @!attribute [rw] id
|
|
91
|
+
# @return [::String]
|
|
92
|
+
# The ID of the technique.
|
|
93
|
+
# @!attribute [rw] display_name
|
|
94
|
+
# @return [::String]
|
|
95
|
+
# The human-readable name of the technique.
|
|
96
|
+
class MitreTechnique
|
|
97
|
+
include ::Google::Protobuf::MessageExts
|
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# CuratedRulePrecision is an enum representing the precision level of
|
|
102
|
+
# CuratedRules.
|
|
103
|
+
module CuratedRulePrecision
|
|
104
|
+
# Unspecified precision.
|
|
105
|
+
CURATED_RULE_PRECISION_UNSPECIFIED = 0
|
|
106
|
+
|
|
107
|
+
# Precise rules tend to match relatively few events, but carry a higher
|
|
108
|
+
# significance.
|
|
109
|
+
PRECISE = 1
|
|
110
|
+
|
|
111
|
+
# Broad rules tend to match more events, but may be less significant.
|
|
112
|
+
BROAD = 2
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
@@ -21,6 +21,44 @@ module Google
|
|
|
21
21
|
module Cloud
|
|
22
22
|
module Chronicle
|
|
23
23
|
module V1
|
|
24
|
+
# An Entity provides additional context about an entity in a UDM event (asset,
|
|
25
|
+
# user, etc.). For example, a PROCESS_LAUNCH event describes that user
|
|
26
|
+
# 'abc@example.corp' launched process 'shady.exe'. The event does not include
|
|
27
|
+
# information that user 'abc@example.com' is a recently terminated employee who
|
|
28
|
+
# administers a server storing finance data. Information stored in one or more
|
|
29
|
+
# Entities can add this additional context.
|
|
30
|
+
# @!attribute [rw] name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# The resource name of the entity.
|
|
33
|
+
# Format:
|
|
34
|
+
# `projects/{project}/locations/{location}/instances/{instance}/entities/{entity}`
|
|
35
|
+
# `projects/{project}/locations/{location}/instances/{instance}/analytics/{analytic}/entities/{entity}`
|
|
36
|
+
# `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}/entities/{entity}`
|
|
37
|
+
# @!attribute [rw] metadata
|
|
38
|
+
# @return [::Google::Backstory::EntityMetadata]
|
|
39
|
+
# Entity metadata such as timestamp, product, etc.
|
|
40
|
+
# @!attribute [rw] entity
|
|
41
|
+
# @return [::Google::Backstory::Noun]
|
|
42
|
+
# Noun in the UDM event that this entity represents.
|
|
43
|
+
# @!attribute [rw] additional
|
|
44
|
+
# @return [::Google::Protobuf::Struct]
|
|
45
|
+
# Important entity data that cannot be adequately represented within
|
|
46
|
+
# the formal sections of the Entity.
|
|
47
|
+
# @!attribute [rw] risk_score
|
|
48
|
+
# @return [::Google::Backstory::EntityRisk]
|
|
49
|
+
# Represents the entity risk scores resource
|
|
50
|
+
# @!attribute [rw] metric
|
|
51
|
+
# @return [::Google::Backstory::Metric]
|
|
52
|
+
# Metric details of the entity. Used if EntityType is METRIC.
|
|
53
|
+
# @!attribute [rw] relations
|
|
54
|
+
# @return [::Array<::Google::Backstory::Relation>]
|
|
55
|
+
# One or more relationships between the entity (a) and other entities,
|
|
56
|
+
# including the relationship type and related entity.
|
|
57
|
+
class Entity
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
end
|
|
61
|
+
|
|
24
62
|
# A watchlist is a list of entities that allows for bulk operations over the
|
|
25
63
|
# included entities.
|
|
26
64
|
# @!attribute [rw] name
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Chronicle
|
|
23
|
+
module V1
|
|
24
|
+
# Event is a resource that contains information about a telemetry event.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# The resource name of the event.
|
|
28
|
+
# Format:
|
|
29
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/events/\\{event}
|
|
30
|
+
# where 'event' is URL-encoded Base64. The unencoded value of 'event' can
|
|
31
|
+
# also be found in udm.metadata.id.
|
|
32
|
+
# @!attribute [rw] udm
|
|
33
|
+
# @return [::Google::Backstory::UDM]
|
|
34
|
+
# Event data in UDM format.
|
|
35
|
+
class Event
|
|
36
|
+
include ::Google::Protobuf::MessageExts
|
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Chronicle
|
|
23
|
+
module V1
|
|
24
|
+
# FeaturedContentRule resource.
|
|
25
|
+
# Next ID: 16
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Identifier. Full resource name for the FeaturedContentRule.
|
|
29
|
+
# Format:
|
|
30
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/contentHub/featuredContentRules/\\{featured_content_rule}
|
|
31
|
+
# @!attribute [r] content_metadata
|
|
32
|
+
# @return [::Google::Cloud::Chronicle::V1::FeaturedContentMetadata]
|
|
33
|
+
# Output only. Metadata for all teams.
|
|
34
|
+
# @!attribute [rw] curated_rule_content
|
|
35
|
+
# @return [::Google::Cloud::Chronicle::V1::CuratedRule]
|
|
36
|
+
# Optional. The curated rule content.
|
|
37
|
+
# @!attribute [r] rule_text
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# Output only. Rule text.
|
|
40
|
+
# @!attribute [rw] rule_text_hidden
|
|
41
|
+
# @return [::Boolean]
|
|
42
|
+
# Indicates if the curated rule text is hidden because rule is private or
|
|
43
|
+
# customer is missing entitlements.
|
|
44
|
+
# @!attribute [r] rule_assumption
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Output only. The assumption of the rule.
|
|
47
|
+
# @!attribute [r] severity
|
|
48
|
+
# @return [::Google::Cloud::Chronicle::V1::FeaturedContentRule::RuleSeverity]
|
|
49
|
+
# Output only. The severity of the rule.
|
|
50
|
+
# @!attribute [rw] alerting_status_enabled
|
|
51
|
+
# @return [::Boolean]
|
|
52
|
+
# Alerting status for the curated rule.
|
|
53
|
+
# @!attribute [rw] live_status_enabled
|
|
54
|
+
# @return [::Boolean]
|
|
55
|
+
# Live status for the curated rule.
|
|
56
|
+
# @!attribute [rw] rule_entitlement
|
|
57
|
+
# @return [::Google::Cloud::Chronicle::V1::RuleEntitlement]
|
|
58
|
+
# Indicates the entitlement of the curated rule.
|
|
59
|
+
# @!attribute [r] category_id
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Output only. The category pack ID of the curated rule.
|
|
62
|
+
# @!attribute [r] rule_set
|
|
63
|
+
# @return [::Google::Cloud::Chronicle::V1::RuleSet]
|
|
64
|
+
# Output only. The rule set information for the curated rule.
|
|
65
|
+
# @!attribute [r] private_rule
|
|
66
|
+
# @return [::Boolean]
|
|
67
|
+
# Output only. Indicates if the curated rule is private.
|
|
68
|
+
# If rule is marked as private, the rule text will be hidden.
|
|
69
|
+
# @!attribute [r] missing_entitlements
|
|
70
|
+
# @return [::Boolean]
|
|
71
|
+
# Output only. Indicates if the customer is missing entitlements.
|
|
72
|
+
# If customer is missing entitlements, the rule text will be hidden.
|
|
73
|
+
# @!attribute [r] non_upgradable
|
|
74
|
+
# @return [::Boolean]
|
|
75
|
+
# Output only. Indicates if the rule is non-upgradable to Chronicle tiers.
|
|
76
|
+
# If rule is non-upgradable, the rule text will be hidden.
|
|
77
|
+
class FeaturedContentRule
|
|
78
|
+
include ::Google::Protobuf::MessageExts
|
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
80
|
+
|
|
81
|
+
# RuleSeverity is an enum representing the severity of the rule.
|
|
82
|
+
module RuleSeverity
|
|
83
|
+
# Unspecified severity.
|
|
84
|
+
RULE_SEVERITY_UNSPECIFIED = 0
|
|
85
|
+
|
|
86
|
+
# Rule is set to low severity.
|
|
87
|
+
LOW = 1
|
|
88
|
+
|
|
89
|
+
# Rule is set to medium severity.
|
|
90
|
+
MEDIUM = 2
|
|
91
|
+
|
|
92
|
+
# Rule is set to high severity.
|
|
93
|
+
HIGH = 3
|
|
94
|
+
|
|
95
|
+
# Rule is set to critical severity.
|
|
96
|
+
CRITICAL = 4
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Request message for ListFeaturedContentRules method.
|
|
101
|
+
# @!attribute [rw] parent
|
|
102
|
+
# @return [::String]
|
|
103
|
+
# Required. The parent which owns this collection of FeaturedContentRules.
|
|
104
|
+
# Format:
|
|
105
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/contentHub
|
|
106
|
+
# @!attribute [rw] page_size
|
|
107
|
+
# @return [::Integer]
|
|
108
|
+
# Optional. The maximum number of featured contents to return. The service
|
|
109
|
+
# may return fewer than this value. If unspecified, at most 100 featured
|
|
110
|
+
# contents will be returned. The maximum value is 1000; values above 1000
|
|
111
|
+
# will be coerced to 100.
|
|
112
|
+
# @!attribute [rw] page_token
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# Optional. A page token, received from a previous `ListFeaturedContentRules`
|
|
115
|
+
# call. Provide this to retrieve the subsequent page.
|
|
116
|
+
# @!attribute [rw] filter
|
|
117
|
+
# @return [::String]
|
|
118
|
+
# Optional. Only the following filters are allowed:
|
|
119
|
+
# Under HAS operator: Filtering through category names:
|
|
120
|
+
# - Singular: `category_name:"<category_name>"`
|
|
121
|
+
# - Multiple: `category_name:"<category_name1>" OR
|
|
122
|
+
# category_name:"<category_name2>"`
|
|
123
|
+
# -- You can only use OR operator between multiple category_name filters.
|
|
124
|
+
#
|
|
125
|
+
# Filtering through policy names:
|
|
126
|
+
# - Singular: `policy_name:"<policy_name>"`
|
|
127
|
+
# - Multiple: `policy_name:"<policy_name1>" OR
|
|
128
|
+
# policy_name:"<policy_name2>"`
|
|
129
|
+
# -- You can only use OR operator between multiple policy_name filters.
|
|
130
|
+
#
|
|
131
|
+
# Filtering through rule IDs:
|
|
132
|
+
# - Singular: `rule_id:"ur_<id>"`
|
|
133
|
+
# - Multiple: `rule_id:"ur_<rule_id1>" OR rule_id:"ur_<rule_id2>"`
|
|
134
|
+
# -- You can only use OR operator between multiple rule_id filters.
|
|
135
|
+
#
|
|
136
|
+
# Filtering through rule precision: `rule_precision:"<rule_precision>"`
|
|
137
|
+
# -- Rule precision values can be "Precise" or "Broad". If something else
|
|
138
|
+
# is passed, the rule precision will default to "Unknown". You can only
|
|
139
|
+
# filter by one rule precision value.
|
|
140
|
+
#
|
|
141
|
+
# Under MATCHES_REGEXP operator: Search through rule name or description
|
|
142
|
+
# (behaves like a string contains): This search is case-insensitive and
|
|
143
|
+
# filters through the rule metadata, specifically the rule_name and
|
|
144
|
+
# description keys. `search_rule_name_or_description=~"<rule_name> or
|
|
145
|
+
# <rule_description>"`. You can only filter by one rule name or description
|
|
146
|
+
# value.
|
|
147
|
+
#
|
|
148
|
+
# Multiple filters can also be used together:
|
|
149
|
+
# Ex 1: `category_name:"<category_name>" AND policy_name:"<policy_name>"`
|
|
150
|
+
# Ex 2: Since category_name and policy_name are repeated fields, we can also
|
|
151
|
+
# use multiple values for each:
|
|
152
|
+
# `(category_name:"<category_name1>" OR category_name:"<category_name2>")
|
|
153
|
+
# AND policy_name:"<policy_name>"`
|
|
154
|
+
# -- Note that the AND operator has higher precedence than the OR operator.
|
|
155
|
+
# Additionally, parentheses must be used to create a valid filter.
|
|
156
|
+
#
|
|
157
|
+
# Requests using filter comparators other than HAS(:) or MATCHES_REGEXP(=~)
|
|
158
|
+
# will result in an InvalidArgument error.
|
|
159
|
+
class ListFeaturedContentRulesRequest
|
|
160
|
+
include ::Google::Protobuf::MessageExts
|
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Response message for ListFeaturedContentRules method.
|
|
165
|
+
# @!attribute [rw] featured_content_rules
|
|
166
|
+
# @return [::Array<::Google::Cloud::Chronicle::V1::FeaturedContentRule>]
|
|
167
|
+
# The list of FeaturedContentRules.
|
|
168
|
+
# @!attribute [rw] next_page_token
|
|
169
|
+
# @return [::String]
|
|
170
|
+
# Optional. A token, which can be sent as `page_token` to retrieve the next
|
|
171
|
+
# page. If this field is omitted, there are no subsequent pages.
|
|
172
|
+
class ListFeaturedContentRulesResponse
|
|
173
|
+
include ::Google::Protobuf::MessageExts
|
|
174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Represents the rule set information for a FeaturedContentRule.
|
|
178
|
+
# @!attribute [r] curated_rule_set
|
|
179
|
+
# @return [::String]
|
|
180
|
+
# Output only. The parent CuratedRuleSet that the rule set belongs to.
|
|
181
|
+
# Format:
|
|
182
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/curatedRuleSetCategories/\\{category}/curatedRuleSets/\\{rule_set}
|
|
183
|
+
# @!attribute [rw] id
|
|
184
|
+
# @return [::String]
|
|
185
|
+
# The hash of the rule set.
|
|
186
|
+
# @!attribute [rw] display_name
|
|
187
|
+
# @return [::String]
|
|
188
|
+
# The human readable name of the rule set.
|
|
189
|
+
class RuleSet
|
|
190
|
+
include ::Google::Protobuf::MessageExts
|
|
191
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Represents the rule entitlement for FeaturedContentRule.
|
|
195
|
+
module RuleEntitlement
|
|
196
|
+
# Unspecified entitlement.
|
|
197
|
+
RULE_ENTITLEMENT_UNSPECIFIED = 0
|
|
198
|
+
|
|
199
|
+
# Enterprise entitlement.
|
|
200
|
+
ENTERPRISE = 1
|
|
201
|
+
|
|
202
|
+
# Enterprise Plus entitlement.
|
|
203
|
+
ENTERPRISE_PLUS = 2
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
end
|