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,53 @@
|
|
|
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
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/chronicle/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/credentials"
|
|
26
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/paths"
|
|
27
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/rest/client"
|
|
28
|
+
|
|
29
|
+
module Google
|
|
30
|
+
module Cloud
|
|
31
|
+
module Chronicle
|
|
32
|
+
module V1
|
|
33
|
+
##
|
|
34
|
+
# This service provides functionality for managing
|
|
35
|
+
# FeaturedContentRule.
|
|
36
|
+
#
|
|
37
|
+
# To load this service and instantiate a REST client:
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/chronicle/v1/featured_content_rule_service/rest"
|
|
40
|
+
# client = ::Google::Cloud::Chronicle::V1::FeaturedContentRuleService::Rest::Client.new
|
|
41
|
+
#
|
|
42
|
+
module FeaturedContentRuleService
|
|
43
|
+
# Client for the REST transport
|
|
44
|
+
module Rest
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
53
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/rest/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
require "gapic/common"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/chronicle/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/credentials"
|
|
26
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/paths"
|
|
27
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/client"
|
|
28
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/rest"
|
|
29
|
+
|
|
30
|
+
module Google
|
|
31
|
+
module Cloud
|
|
32
|
+
module Chronicle
|
|
33
|
+
module V1
|
|
34
|
+
##
|
|
35
|
+
# This service provides functionality for managing
|
|
36
|
+
# FeaturedContentRule.
|
|
37
|
+
#
|
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/chronicle/v1/featured_content_rule_service"
|
|
41
|
+
# client = ::Google::Cloud::Chronicle::V1::FeaturedContentRuleService::Client.new
|
|
42
|
+
#
|
|
43
|
+
# @example Load this service and instantiate a REST client
|
|
44
|
+
#
|
|
45
|
+
# require "google/cloud/chronicle/v1/featured_content_rule_service/rest"
|
|
46
|
+
# client = ::Google::Cloud::Chronicle::V1::FeaturedContentRuleService::Rest::Client.new
|
|
47
|
+
#
|
|
48
|
+
module FeaturedContentRuleService
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
helper_path = ::File.join __dir__, "featured_content_rule_service", "helpers.rb"
|
|
56
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/chronicle/v1/featured_content_rule.proto for package 'Google.Cloud.Chronicle.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/chronicle/v1/featured_content_rule_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module Chronicle
|
|
25
|
+
module V1
|
|
26
|
+
module FeaturedContentRuleService
|
|
27
|
+
# This service provides functionality for managing
|
|
28
|
+
# FeaturedContentRule.
|
|
29
|
+
class Service
|
|
30
|
+
|
|
31
|
+
include ::GRPC::GenericService
|
|
32
|
+
|
|
33
|
+
self.marshal_class_method = :encode
|
|
34
|
+
self.unmarshal_class_method = :decode
|
|
35
|
+
self.service_name = 'google.cloud.chronicle.v1.FeaturedContentRuleService'
|
|
36
|
+
|
|
37
|
+
# Lists FeaturedContentRules
|
|
38
|
+
rpc :ListFeaturedContentRules, ::Google::Cloud::Chronicle::V1::ListFeaturedContentRulesRequest, ::Google::Cloud::Chronicle::V1::ListFeaturedContentRulesResponse
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
Stub = Service.rpc_stub_class
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
18
|
|
|
19
19
|
require "google/cloud/chronicle/v1/big_query_export_service/rest"
|
|
20
|
+
require "google/cloud/chronicle/v1/rule_service/rest"
|
|
20
21
|
require "google/cloud/chronicle/v1/dashboard_query_service/rest"
|
|
21
22
|
require "google/cloud/chronicle/v1/dashboard_chart_service/rest"
|
|
22
23
|
require "google/cloud/chronicle/v1/data_access_control_service/rest"
|
|
@@ -24,12 +25,13 @@ require "google/cloud/chronicle/v1/data_table_service/rest"
|
|
|
24
25
|
require "google/cloud/chronicle/v1/entity_service/rest"
|
|
25
26
|
require "google/cloud/chronicle/v1/native_dashboard_service/rest"
|
|
26
27
|
require "google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest"
|
|
28
|
+
require "google/cloud/chronicle/v1/featured_content_rule_service/rest"
|
|
27
29
|
require "google/cloud/chronicle/v1/feeds_service/rest"
|
|
28
30
|
require "google/cloud/chronicle/v1/findings_refinement_service/rest"
|
|
29
31
|
require "google/cloud/chronicle/v1/instance_service/rest"
|
|
30
32
|
require "google/cloud/chronicle/v1/reference_list_service/rest"
|
|
31
|
-
require "google/cloud/chronicle/v1/rule_service/rest"
|
|
32
33
|
require "google/cloud/chronicle/v1/rule_execution_error_service/rest"
|
|
34
|
+
require "google/cloud/chronicle/v1/search_service/rest"
|
|
33
35
|
require "google/cloud/chronicle/v1/version"
|
|
34
36
|
|
|
35
37
|
module Google
|
|
@@ -12,7 +12,7 @@ require 'google/rpc/status_pb'
|
|
|
12
12
|
require 'google/type/interval_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n4google/cloud/chronicle/v1/rule_execution_error.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\x1a\x1agoogle/type/interval.proto\"\x9d\x01\n\x1eListRuleExecutionErrorsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\x12+chronicle.googleapis.com/RuleExecutionError\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x88\x01\n\x1fListRuleExecutionErrorsResponse\x12L\n\x15rule_execution_errors\x18\x01 \x03(\x0b\x32-.google.cloud.chronicle.v1.RuleExecutionError\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa8\x03\n\x12RuleExecutionError\x12\x36\n\x04rule\x18\x04 \x01(\tB&\xe2\x41\x01\x03\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/RuleH\x00\x12\x45\n\x0c\x63urated_rule\x18\x05 \x01(\tB-\xe2\x41\x01\x03\xfa\x41&\n$chronicle.googleapis.com/CuratedRuleH\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\'\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12/\n\ntime_range\x18\x03 \x01(\x0b\x32\x15.google.type.IntervalB\x04\xe2\x41\x01\x03:\x9a\x01\xea\x41\x96\x01\n+chronicle.googleapis.com/RuleExecutionError\x12gprojects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}B\x08\n\x06source2\xb1\x03\n\x19RuleExecutionErrorService\x12\xe6\x01\n\x17ListRuleExecutionErrors\x12\x39.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest\x1a:.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/instances/*}/ruleExecutionErrors\x1a\xaa\x01\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41\x8b\x01https://www.googleapis.com/auth/chronicle,https://www.googleapis.com/auth/chronicle.readonly,https://www.googleapis.com/auth/cloud-platformB\
|
|
15
|
+
descriptor_data = "\n4google/cloud/chronicle/v1/rule_execution_error.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\x1a\x1agoogle/type/interval.proto\"\x9d\x01\n\x1eListRuleExecutionErrorsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\x12+chronicle.googleapis.com/RuleExecutionError\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x88\x01\n\x1fListRuleExecutionErrorsResponse\x12L\n\x15rule_execution_errors\x18\x01 \x03(\x0b\x32-.google.cloud.chronicle.v1.RuleExecutionError\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa8\x03\n\x12RuleExecutionError\x12\x36\n\x04rule\x18\x04 \x01(\tB&\xe2\x41\x01\x03\xfa\x41\x1f\n\x1d\x63hronicle.googleapis.com/RuleH\x00\x12\x45\n\x0c\x63urated_rule\x18\x05 \x01(\tB-\xe2\x41\x01\x03\xfa\x41&\n$chronicle.googleapis.com/CuratedRuleH\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\'\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12/\n\ntime_range\x18\x03 \x01(\x0b\x32\x15.google.type.IntervalB\x04\xe2\x41\x01\x03:\x9a\x01\xea\x41\x96\x01\n+chronicle.googleapis.com/RuleExecutionError\x12gprojects/{project}/locations/{location}/instances/{instance}/ruleExecutionErrors/{rule_execution_error}B\x08\n\x06source2\xb1\x03\n\x19RuleExecutionErrorService\x12\xe6\x01\n\x17ListRuleExecutionErrors\x12\x39.google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest\x1a:.google.cloud.chronicle.v1.ListRuleExecutionErrorsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/instances/*}/ruleExecutionErrors\x1a\xaa\x01\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41\x8b\x01https://www.googleapis.com/auth/chronicle,https://www.googleapis.com/auth/chronicle.readonly,https://www.googleapis.com/auth/cloud-platformB\xce\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x17RuleExecutionErrorProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
16
16
|
|
|
17
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/chronicle/v1/search.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'backstory/collection_pb'
|
|
8
|
+
require 'google/api/annotations_pb'
|
|
9
|
+
require 'google/api/client_pb'
|
|
10
|
+
require 'google/api/field_behavior_pb'
|
|
11
|
+
require 'google/api/resource_pb'
|
|
12
|
+
require 'google/cloud/chronicle/v1/data_access_control_pb'
|
|
13
|
+
require 'google/cloud/chronicle/v1/entity_pb'
|
|
14
|
+
require 'google/cloud/chronicle/v1/event_pb'
|
|
15
|
+
require 'google/cloud/chronicle/v1/simulated_data_pb'
|
|
16
|
+
require 'google/longrunning/operations_pb'
|
|
17
|
+
require 'google/protobuf/any_pb'
|
|
18
|
+
require 'google/protobuf/timestamp_pb'
|
|
19
|
+
require 'google/rpc/status_pb'
|
|
20
|
+
require 'google/type/date_pb'
|
|
21
|
+
require 'google/type/interval_pb'
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
descriptor_data = "\n&google/cloud/chronicle/v1/search.proto\x12\x19google.cloud.chronicle.v1\x1a\x1a\x62\x61\x63kstory/collection.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/chronicle/v1/data_access_control.proto\x1a&google/cloud/chronicle/v1/entity.proto\x1a%google/cloud/chronicle/v1/event.proto\x1a.google/cloud/chronicle/v1/simulated_data.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/interval.proto\"\xf2\x03\n\rSearchSession\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x13\n\x05query\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12/\n\ntime_range\x18\x03 \x01(\x0b\x32\x15.google.type.IntervalB\x04\xe2\x41\x01\x02\x12>\n\x07\x64ialect\x18\x04 \x01(\x0e\x32\'.google.cloud.chronicle.v1.QueryDialectB\x04\xe2\x41\x01\x01\x12Q\n\x17\x64raft_data_access_scope\x18\x05 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessScopeB\x04\xe2\x41\x01\x01\x12H\n\x08metadata\x18\x06 \x01(\x0b\x32\x30.google.cloud.chronicle.v1.SearchSessionMetadataB\x04\xe2\x41\x01\x03:\xa9\x01\xea\x41\xa5\x01\n&chronicle.googleapis.com/SearchSession\x12\\projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}*\x0esearchSessions2\rsearchSession\"\xaf\x02\n\x0eSearchedResult\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x38\n\nresult_row\x18\x02 \x01(\x0b\x32$.google.cloud.chronicle.v1.ResultRow:\xce\x01\xea\x41\xca\x01\n\'chronicle.googleapis.com/SearchedResult\x12~projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}/searchedResults/{searched_result}*\x0fsearchedResults2\x0esearchedResult\"\x9d\x03\n\rSearchRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!chronicle.googleapis.com/Instance\x12\x13\n\x05query\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12/\n\ntime_range\x18\x03 \x01(\x0b\x32\x15.google.type.IntervalB\x04\xe2\x41\x01\x02\x12>\n\x07\x64ialect\x18\x04 \x01(\x0e\x32\'.google.cloud.chronicle.v1.QueryDialectB\x04\xe2\x41\x01\x01\x12Q\n\x17\x64raft_data_access_scope\x18\x05 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataAccessScopeB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cresult_limit\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12[\n\x19simulated_data_visibility\x18\x07 \x01(\x0e\x32\x32.google.cloud.chronicle.v1.SimulatedDataVisibilityB\x04\xe2\x41\x01\x01\"\xbc\x01\n\x1aListSearchedResultsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&chronicle.googleapis.com/SearchSession\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04skip\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\"\x8d\x02\n\x1bListSearchedResultsResponse\x12\x43\n\x10searched_results\x18\x01 \x03(\x0b\x32).google.cloud.chronicle.v1.SearchedResult\x12\x12\n\ntotal_size\x18\x02 \x01(\x05\x12<\n\x0c\x63olumn_names\x18\x03 \x01(\x0b\x32&.google.cloud.chronicle.v1.ColumnNames\x12>\n\rcolumn_schema\x18\x04 \x01(\x0b\x32\'.google.cloud.chronicle.v1.ColumnSchema\x12\x17\n\x0fnext_page_token\x18\x05 \x01(\t\"\x97\x02\n\x15SearchSessionMetadata\x12\x1a\n\x0coperation_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x1e\n\x10result_row_count\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12!\n\x13more_data_available\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\"\xe2\x03\n\x17SearchOperationMetadata\x12M\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.chronicle.v1.SearchOperationMetadata.StateB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x16\n\x08progress\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12[\n\x19\x64\x61tatable_export_metadata\x18\x06 \x01(\x0b\x32\x32.google.cloud.chronicle.v1.DataTableExportMetadataB\x04\xe2\x41\x01\x03\"b\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\x0b\n\x07\x45XPIRED\x10\x05\"\x99\x02\n\x17\x44\x61taTableExportMetadata\x12#\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\\\n\x0fresult_metadata\x18\x03 \x01(\x0b\x32\x41.google.cloud.chronicle.v1.DataTableExportMetadata.ResultMetadataH\x00\x12\x12\n\ndata_table\x18\x01 \x01(\t\x1aK\n\x0eResultMetadata\x12%\n\x1d\x64\x61tatable_export_operation_id\x18\x01 \x01(\t\x12\x12\n\nrows_count\x18\x02 \x01(\x05\x42\x1a\n\x18result_metadata_or_error\"\x8a\x02\n\rTableMetadata\x12\r\n\x05table\x18\x01 \x01(\t\x12H\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0e\x32\x33.google.cloud.chronicle.v1.TableMetadata.DataSource\x12\r\n\x05index\x18\x03 \x01(\x05\"\x90\x01\n\nDataSource\x12\x1b\n\x17\x44\x41TA_SOURCE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45VENTS\x10\x01\x12\x12\n\x0e\x45NTITY_CONTEXT\x10\x02\x12\x0f\n\x0b\x44\x41TA_TABLES\x10\x03\x12\x0e\n\nDETECTIONS\x10\x04\x12\r\n\tSOAR_CASE\x10\x05\x12\x15\n\x11SOAR_CASE_HISTORY\x10\x06\"J\n\x0c\x43olumnSchema\x12:\n\x08metadata\x18\x01 \x03(\x0b\x32(.google.cloud.chronicle.v1.TableMetadata\"\x1c\n\x0b\x43olumnNames\x12\r\n\x05names\x18\x01 \x03(\t\"\x9c\x04\n\tResultRow\x12>\n\x0c\x65vent_record\x18\x01 \x01(\x0b\x32&.google.cloud.chronicle.v1.EventRecordH\x00\x12>\n\x0cstats_record\x18\x02 \x01(\x0b\x32&.google.cloud.chronicle.v1.StatsRecordH\x00\x12O\n\x15\x65ntity_context_record\x18\x03 \x01(\x0b\x32..google.cloud.chronicle.v1.EntityContextRecordH\x00\x12<\n\x0bjoin_record\x18\x04 \x01(\x0b\x32%.google.cloud.chronicle.v1.JoinRecordH\x00\x12\x46\n\x10\x64\x65tection_record\x18\x05 \x01(\x0b\x32*.google.cloud.chronicle.v1.DetectionRecordH\x00\x12G\n\x11\x64\x61ta_table_record\x18\x06 \x01(\x0b\x32*.google.cloud.chronicle.v1.DataTableRecordH\x00\x12\x37\n\x08outcomes\x18\x07 \x03(\x0b\x32%.google.cloud.chronicle.v1.ColumnTypeB\x08\n\x06resultJ\x04\x08\x08\x10\tJ\x04\x08\t\x10\nR\x0b\x63\x61se_recordR\x13\x63\x61se_history_record\"J\n\x0bStatsRecord\x12;\n\x07results\x18\x01 \x03(\x0b\x32*.google.cloud.chronicle.v1.StatsColumnData\"X\n\x0fStatsColumnData\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x35\n\x06values\x18\x02 \x01(\x0b\x32%.google.cloud.chronicle.v1.ColumnType\"\xa9\x04\n\nColumnType\x12\x42\n\x05value\x18\x01 \x01(\x0b\x32\x31.google.cloud.chronicle.v1.ColumnType.ColumnValueH\x00\x12\x45\n\x04list\x18\x02 \x01(\x0b\x32\x35.google.cloud.chronicle.v1.ColumnType.ColumnValueListH\x00\x1a\xb1\x02\n\x0b\x43olumnValue\x12\x12\n\x08null_val\x18\x01 \x01(\x08H\x00\x12\x12\n\x08\x62ool_val\x18\x02 \x01(\x08H\x00\x12\x13\n\tbytes_val\x18\x03 \x01(\x0cH\x00\x12\x14\n\ndouble_val\x18\x04 \x01(\x01H\x00\x12\x13\n\tint64_val\x18\x05 \x01(\x03H\x00\x12\x14\n\nuint64_val\x18\x06 \x01(\x04H\x00\x12\x14\n\nstring_val\x18\x07 \x01(\tH\x00\x12\x33\n\rtimestamp_val\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12%\n\x08\x64\x61te_val\x18\t \x01(\x0b\x32\x11.google.type.DateH\x00\x12)\n\tproto_val\x18\n \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x42\x07\n\x05value\x1aT\n\x0f\x43olumnValueList\x12\x41\n\x06values\x18\x01 \x03(\x0b\x32\x31.google.cloud.chronicle.v1.ColumnType.ColumnValueB\x06\n\x04type\"7\n\x16SearchDataTableRowCell\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x90\x01\n\x0f\x44\x61taTableRecord\x12;\n\ndata_table\x18\x01 \x01(\tB\'\xfa\x41$\n\"chronicle.googleapis.com/DataTable\x12@\n\x05\x63\x65lls\x18\x02 \x03(\x0b\x32\x31.google.cloud.chronicle.v1.SearchDataTableRowCell\"\xcd\x02\n\x0b\x45ventRecord\x12/\n\x05\x65vent\x18\x01 \x01(\x0b\x32 .google.cloud.chronicle.v1.Event\x12\x17\n\x0f\x65vent_log_token\x18\x02 \x01(\x0c\x12\x14\n\x0c\x61lert_number\x18\x03 \x01(\x05\x12\x15\n\ralert_view_id\x18\x04 \x01(\x0c\x12\x46\n\x0b\x61nnotations\x18\x05 \x03(\x0e\x32\x31.google.cloud.chronicle.v1.EventRecord.Annotation\x12\x30\n\ndetections\x18\x06 \x03(\x0b\x32\x1c.google.backstory.Collection\x12\r\n\x05table\x18\x07 \x01(\t\">\n\nAnnotation\x12\x1a\n\x16\x41NNOTATION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41NNOTATION_ALERT\x10\x01\"\x7f\n\x13\x45ntityContextRecord\x12\x31\n\x06\x65ntity\x18\x01 \x01(\x0b\x32!.google.cloud.chronicle.v1.Entity\x12\x17\n\x0f\x65vent_log_token\x18\x02 \x01(\t\x12\r\n\x05timed\x18\x03 \x01(\x08\x12\r\n\x05table\x18\x04 \x01(\t\"\xea\x01\n\nJoinRecord\x12\x36\n\x06\x65vents\x18\x01 \x03(\x0b\x32&.google.cloud.chronicle.v1.EventRecord\x12@\n\x08\x65ntities\x18\x02 \x03(\x0b\x32..google.cloud.chronicle.v1.EntityContextRecord\x12?\n\x0b\x64\x61ta_tables\x18\x03 \x03(\x0b\x32*.google.cloud.chronicle.v1.DataTableRecordJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06R\x05\x63\x61sesR\x0e\x63\x61se_histories\"O\n\x0f\x44\x65tectionRecord\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x30\n\ncollection\x18\x02 \x01(\x0b\x32\x1c.google.backstory.Collection*?\n\x0cQueryDialect\x12\x1d\n\x19QUERY_DIALECT_UNSPECIFIED\x10\x00\x12\x07\n\x03YL2\x10\x01\x12\x07\n\x03SQL\x10\x02\x32\x83\x05\n\rSearchService\x12\xda\x01\n\x06Search\x12(.google.cloud.chronicle.v1.SearchRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41(\n\rSearchSession\x12\x17SearchOperationMetadata\xda\x41\x17parent,query,time_range\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*/instances/*}:search:\x01*\x12\xe7\x01\n\x13ListSearchedResults\x12\x35.google.cloud.chronicle.v1.ListSearchedResultsRequest\x1a\x36.google.cloud.chronicle.v1.ListSearchedResultsResponse\"a\xda\x41\x06parent\x82\xd3\xe4\x93\x02R\x12P/v1/{parent=projects/*/locations/*/instances/*/searchSessions/*}/searchedResults\x1a\xaa\x01\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41\x8b\x01https://www.googleapis.com/auth/chronicle,https://www.googleapis.com/auth/chronicle.readonly,https://www.googleapis.com/auth/cloud-platformB\xc2\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x0bSearchProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
|
|
25
|
+
|
|
26
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
27
|
+
pool.add_serialized_file(descriptor_data)
|
|
28
|
+
|
|
29
|
+
module Google
|
|
30
|
+
module Cloud
|
|
31
|
+
module Chronicle
|
|
32
|
+
module V1
|
|
33
|
+
SearchSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchSession").msgclass
|
|
34
|
+
SearchedResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchedResult").msgclass
|
|
35
|
+
SearchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchRequest").msgclass
|
|
36
|
+
ListSearchedResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListSearchedResultsRequest").msgclass
|
|
37
|
+
ListSearchedResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListSearchedResultsResponse").msgclass
|
|
38
|
+
SearchSessionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchSessionMetadata").msgclass
|
|
39
|
+
SearchOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchOperationMetadata").msgclass
|
|
40
|
+
SearchOperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchOperationMetadata.State").enummodule
|
|
41
|
+
DataTableExportMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DataTableExportMetadata").msgclass
|
|
42
|
+
DataTableExportMetadata::ResultMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DataTableExportMetadata.ResultMetadata").msgclass
|
|
43
|
+
TableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.TableMetadata").msgclass
|
|
44
|
+
TableMetadata::DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.TableMetadata.DataSource").enummodule
|
|
45
|
+
ColumnSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnSchema").msgclass
|
|
46
|
+
ColumnNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnNames").msgclass
|
|
47
|
+
ResultRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ResultRow").msgclass
|
|
48
|
+
StatsRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.StatsRecord").msgclass
|
|
49
|
+
StatsColumnData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.StatsColumnData").msgclass
|
|
50
|
+
ColumnType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnType").msgclass
|
|
51
|
+
ColumnType::ColumnValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnType.ColumnValue").msgclass
|
|
52
|
+
ColumnType::ColumnValueList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnType.ColumnValueList").msgclass
|
|
53
|
+
SearchDataTableRowCell = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.SearchDataTableRowCell").msgclass
|
|
54
|
+
DataTableRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DataTableRecord").msgclass
|
|
55
|
+
EventRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.EventRecord").msgclass
|
|
56
|
+
EventRecord::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.EventRecord.Annotation").enummodule
|
|
57
|
+
EntityContextRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.EntityContextRecord").msgclass
|
|
58
|
+
JoinRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.JoinRecord").msgclass
|
|
59
|
+
DetectionRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DetectionRecord").msgclass
|
|
60
|
+
QueryDialect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryDialect").enummodule
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|