google-cloud-chronicle-v1 0.5.0 → 0.7.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.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +5 -5
  4. data/lib/google/cloud/chronicle/v1/big_query_export_pb.rb +34 -0
  5. data/lib/google/cloud/chronicle/v1/big_query_export_service/client.rb +684 -0
  6. data/lib/google/cloud/chronicle/v1/big_query_export_service/credentials.rb +49 -0
  7. data/lib/google/cloud/chronicle/v1/big_query_export_service/paths.rb +71 -0
  8. data/lib/google/cloud/chronicle/v1/big_query_export_service/rest/client.rb +620 -0
  9. data/lib/google/cloud/chronicle/v1/big_query_export_service/rest/service_stub.rb +266 -0
  10. data/lib/google/cloud/chronicle/v1/big_query_export_service/rest.rb +52 -0
  11. data/lib/google/cloud/chronicle/v1/big_query_export_service.rb +55 -0
  12. data/lib/google/cloud/chronicle/v1/big_query_export_services_pb.rb +51 -0
  13. data/lib/google/cloud/chronicle/v1/dashboard_chart_pb.rb +83 -0
  14. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/client.rb +586 -0
  15. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/credentials.rb +49 -0
  16. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/paths.rb +73 -0
  17. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest/client.rb +529 -0
  18. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest/service_stub.rb +203 -0
  19. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest.rb +52 -0
  20. data/lib/google/cloud/chronicle/v1/dashboard_chart_service.rb +55 -0
  21. data/lib/google/cloud/chronicle/v1/dashboard_chart_services_pb.rb +47 -0
  22. data/lib/google/cloud/chronicle/v1/dashboard_query_pb.rb +58 -0
  23. data/lib/google/cloud/chronicle/v1/dashboard_query_service/client.rb +591 -0
  24. data/lib/google/cloud/chronicle/v1/dashboard_query_service/credentials.rb +49 -0
  25. data/lib/google/cloud/chronicle/v1/dashboard_query_service/paths.rb +94 -0
  26. data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest/client.rb +534 -0
  27. data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest/service_stub.rb +204 -0
  28. data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest.rb +52 -0
  29. data/lib/google/cloud/chronicle/v1/dashboard_query_service.rb +55 -0
  30. data/lib/google/cloud/chronicle/v1/dashboard_query_services_pb.rb +47 -0
  31. data/lib/google/cloud/chronicle/v1/data_access_control_service/client.rb +2 -0
  32. data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/client.rb +2 -0
  33. data/lib/google/cloud/chronicle/v1/data_table_service/client.rb +2 -0
  34. data/lib/google/cloud/chronicle/v1/data_table_service/rest/client.rb +2 -0
  35. data/lib/google/cloud/chronicle/v1/entity_service/client.rb +2 -0
  36. data/lib/google/cloud/chronicle/v1/entity_service/rest/client.rb +2 -0
  37. data/lib/google/cloud/chronicle/v1/featured_content_metadata_pb.rb +25 -0
  38. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_pb.rb +33 -0
  39. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/client.rb +719 -0
  40. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/credentials.rb +49 -0
  41. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/paths.rb +136 -0
  42. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/client.rb +655 -0
  43. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/service_stub.rb +265 -0
  44. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest.rb +53 -0
  45. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service.rb +56 -0
  46. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_services_pb.rb +50 -0
  47. data/lib/google/cloud/chronicle/v1/instance_service/client.rb +2 -0
  48. data/lib/google/cloud/chronicle/v1/instance_service/rest/client.rb +2 -0
  49. data/lib/google/cloud/chronicle/v1/native_dashboard_pb.rb +61 -0
  50. data/lib/google/cloud/chronicle/v1/native_dashboard_service/client.rb +1613 -0
  51. data/lib/google/cloud/chronicle/v1/native_dashboard_service/credentials.rb +49 -0
  52. data/lib/google/cloud/chronicle/v1/native_dashboard_service/paths.rb +115 -0
  53. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/client.rb +1486 -0
  54. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/service_stub.rb +822 -0
  55. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest.rb +52 -0
  56. data/lib/google/cloud/chronicle/v1/native_dashboard_service.rb +55 -0
  57. data/lib/google/cloud/chronicle/v1/native_dashboard_services_pb.rb +67 -0
  58. data/lib/google/cloud/chronicle/v1/reference_list_service/client.rb +2 -0
  59. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/client.rb +2 -0
  60. data/lib/google/cloud/chronicle/v1/rest.rb +6 -1
  61. data/lib/google/cloud/chronicle/v1/rule_service/client.rb +2 -0
  62. data/lib/google/cloud/chronicle/v1/rule_service/operations.rb +2 -0
  63. data/lib/google/cloud/chronicle/v1/rule_service/rest/client.rb +2 -0
  64. data/lib/google/cloud/chronicle/v1/rule_service/rest/operations.rb +2 -0
  65. data/lib/google/cloud/chronicle/v1/version.rb +1 -1
  66. data/lib/google/cloud/chronicle/v1.rb +7 -2
  67. data/proto_docs/google/cloud/chronicle/v1/big_query_export.rb +142 -0
  68. data/proto_docs/google/cloud/chronicle/v1/dashboard_chart.rb +923 -0
  69. data/proto_docs/google/cloud/chronicle/v1/dashboard_query.rb +653 -0
  70. data/proto_docs/google/cloud/chronicle/v1/featured_content_metadata.rb +82 -0
  71. data/proto_docs/google/cloud/chronicle/v1/featured_content_native_dashboard.rb +141 -0
  72. data/proto_docs/google/cloud/chronicle/v1/native_dashboard.rb +502 -0
  73. data/proto_docs/google/type/date.rb +56 -0
  74. metadata +56 -3
@@ -0,0 +1,203 @@
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 "google/cloud/chronicle/v1/dashboard_chart_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Chronicle
24
+ module V1
25
+ module DashboardChartService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the DashboardChartService service.
29
+ # Service stub contains baseline method implementations
30
+ # including transcoding, making the REST call, and deserialing the response.
31
+ #
32
+ class ServiceStub
33
+ # @private
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
35
+ # These require statements are intentionally placed here to initialize
36
+ # the REST modules only when it's required.
37
+ require "gapic/rest"
38
+
39
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
40
+ endpoint_template: endpoint_template,
41
+ universe_domain: universe_domain,
42
+ credentials: credentials,
43
+ numeric_enums: true,
44
+ service_name: self.class,
45
+ raise_faraday_errors: false,
46
+ logger: logger
47
+ end
48
+
49
+ ##
50
+ # The effective universe domain
51
+ #
52
+ # @return [String]
53
+ #
54
+ def universe_domain
55
+ @client_stub.universe_domain
56
+ end
57
+
58
+ ##
59
+ # The effective endpoint
60
+ #
61
+ # @return [String]
62
+ #
63
+ def endpoint
64
+ @client_stub.endpoint
65
+ end
66
+
67
+ ##
68
+ # The logger used for request/response debug logging.
69
+ #
70
+ # @return [Logger]
71
+ #
72
+ def logger stub: false
73
+ stub ? @client_stub.stub_logger : @client_stub.logger
74
+ end
75
+
76
+ ##
77
+ # Baseline implementation for the get_dashboard_chart REST call
78
+ #
79
+ # @param request_pb [::Google::Cloud::Chronicle::V1::GetDashboardChartRequest]
80
+ # A request object representing the call parameters. Required.
81
+ # @param options [::Gapic::CallOptions]
82
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
83
+ #
84
+ # @yield [result, operation] Access the result along with the TransportOperation object
85
+ # @yieldparam result [::Google::Cloud::Chronicle::V1::DashboardChart]
86
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
87
+ #
88
+ # @return [::Google::Cloud::Chronicle::V1::DashboardChart]
89
+ # A result object deserialized from the server's reply
90
+ def get_dashboard_chart request_pb, options = nil
91
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
92
+
93
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_dashboard_chart_request request_pb
94
+ query_string_params = if query_string_params.any?
95
+ query_string_params.to_h { |p| p.split "=", 2 }
96
+ else
97
+ {}
98
+ end
99
+
100
+ response = @client_stub.make_http_request(
101
+ verb,
102
+ uri: uri,
103
+ body: body || "",
104
+ params: query_string_params,
105
+ method_name: "get_dashboard_chart",
106
+ options: options
107
+ )
108
+ operation = ::Gapic::Rest::TransportOperation.new response
109
+ result = ::Google::Cloud::Chronicle::V1::DashboardChart.decode_json response.body, ignore_unknown_fields: true
110
+ catch :response do
111
+ yield result, operation if block_given?
112
+ result
113
+ end
114
+ end
115
+
116
+ ##
117
+ # Baseline implementation for the batch_get_dashboard_charts REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsRequest]
120
+ # A request object representing the call parameters. Required.
121
+ # @param options [::Gapic::CallOptions]
122
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
123
+ #
124
+ # @yield [result, operation] Access the result along with the TransportOperation object
125
+ # @yieldparam result [::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsResponse]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsResponse]
129
+ # A result object deserialized from the server's reply
130
+ def batch_get_dashboard_charts request_pb, options = nil
131
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
132
+
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_batch_get_dashboard_charts_request request_pb
134
+ query_string_params = if query_string_params.any?
135
+ query_string_params.to_h { |p| p.split "=", 2 }
136
+ else
137
+ {}
138
+ end
139
+
140
+ response = @client_stub.make_http_request(
141
+ verb,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "batch_get_dashboard_charts",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsResponse.decode_json response.body, ignore_unknown_fields: true
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
154
+ end
155
+
156
+ ##
157
+ # @private
158
+ #
159
+ # GRPC transcoding helper method for the get_dashboard_chart REST call
160
+ #
161
+ # @param request_pb [::Google::Cloud::Chronicle::V1::GetDashboardChartRequest]
162
+ # A request object representing the call parameters. Required.
163
+ # @return [Array(String, [String, nil], Hash{String => String})]
164
+ # Uri, Body, Query string parameters
165
+ def self.transcode_get_dashboard_chart_request request_pb
166
+ transcoder = Gapic::Rest::GrpcTranscoder.new
167
+ .with_bindings(
168
+ uri_method: :get,
169
+ uri_template: "/v1/{name}",
170
+ matches: [
171
+ ["name", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/dashboardCharts/[^/]+/?$}, false]
172
+ ]
173
+ )
174
+ transcoder.transcode request_pb
175
+ end
176
+
177
+ ##
178
+ # @private
179
+ #
180
+ # GRPC transcoding helper method for the batch_get_dashboard_charts REST call
181
+ #
182
+ # @param request_pb [::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsRequest]
183
+ # A request object representing the call parameters. Required.
184
+ # @return [Array(String, [String, nil], Hash{String => String})]
185
+ # Uri, Body, Query string parameters
186
+ def self.transcode_batch_get_dashboard_charts_request request_pb
187
+ transcoder = Gapic::Rest::GrpcTranscoder.new
188
+ .with_bindings(
189
+ uri_method: :get,
190
+ uri_template: "/v1/{parent}/dashboardCharts:batchGet",
191
+ matches: [
192
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
193
+ ]
194
+ )
195
+ transcoder.transcode request_pb
196
+ end
197
+ end
198
+ end
199
+ end
200
+ end
201
+ end
202
+ end
203
+ end
@@ -0,0 +1,52 @@
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/dashboard_chart_service/credentials"
26
+ require "google/cloud/chronicle/v1/dashboard_chart_service/paths"
27
+ require "google/cloud/chronicle/v1/dashboard_chart_service/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module Chronicle
32
+ module V1
33
+ ##
34
+ # A service providing functionality for managing dashboards' charts.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/cloud/chronicle/v1/dashboard_chart_service/rest"
39
+ # client = ::Google::Cloud::Chronicle::V1::DashboardChartService::Rest::Client.new
40
+ #
41
+ module DashboardChartService
42
+ # Client for the REST transport
43
+ module Rest
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
52
+ require "google/cloud/chronicle/v1/dashboard_chart_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,55 @@
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/dashboard_chart_service/credentials"
26
+ require "google/cloud/chronicle/v1/dashboard_chart_service/paths"
27
+ require "google/cloud/chronicle/v1/dashboard_chart_service/client"
28
+ require "google/cloud/chronicle/v1/dashboard_chart_service/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Chronicle
33
+ module V1
34
+ ##
35
+ # A service providing functionality for managing dashboards' charts.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/chronicle/v1/dashboard_chart_service"
40
+ # client = ::Google::Cloud::Chronicle::V1::DashboardChartService::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/chronicle/v1/dashboard_chart_service/rest"
45
+ # client = ::Google::Cloud::Chronicle::V1::DashboardChartService::Rest::Client.new
46
+ #
47
+ module DashboardChartService
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "dashboard_chart_service", "helpers.rb"
55
+ require "google/cloud/chronicle/v1/dashboard_chart_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,47 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/chronicle/v1/dashboard_chart.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/dashboard_chart_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Chronicle
25
+ module V1
26
+ module DashboardChartService
27
+ # A service providing functionality for managing dashboards' charts.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.chronicle.v1.DashboardChartService'
35
+
36
+ # Get a dashboard chart.
37
+ rpc :GetDashboardChart, ::Google::Cloud::Chronicle::V1::GetDashboardChartRequest, ::Google::Cloud::Chronicle::V1::DashboardChart
38
+ # Get dashboard charts in batches.
39
+ rpc :BatchGetDashboardCharts, ::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsRequest, ::Google::Cloud::Chronicle::V1::BatchGetDashboardChartsResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/chronicle/v1/dashboard_query.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/protobuf/any_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+ require 'google/type/date_pb'
14
+ require 'google/type/interval_pb'
15
+
16
+
17
+ descriptor_data = "\n/google/cloud/chronicle/v1/dashboard_query.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\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/interval.proto\"\xb5\x05\n\x0e\x44\x61shboardQuery\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'chronicle.googleapis.com/DashboardQuery\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x05input\x18\x03 \x01(\x0b\x32/.google.cloud.chronicle.v1.DashboardQuery.InputB\x03\xe0\x41\x02\x12H\n\x0f\x64\x61shboard_chart\x18\x04 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'chronicle.googleapis.com/DashboardChart\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x84\x02\n\x05Input\x12,\n\x0btime_window\x18\x01 \x01(\x0b\x32\x15.google.type.IntervalH\x00\x12U\n\rrelative_time\x18\x03 \x01(\x0b\x32<.google.cloud.chronicle.v1.DashboardQuery.Input.RelativeTimeH\x00\x1ah\n\x0cRelativeTime\x12;\n\ttime_unit\x18\x01 \x01(\x0e\x32#.google.cloud.chronicle.v1.TimeUnitB\x03\xe0\x41\x02\x12\x1b\n\x0estart_time_val\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x42\x0c\n\ntime_input:\xa6\x01\xea\x41\xa2\x01\n\'chronicle.googleapis.com/DashboardQuery\x12Uprojects/{project}/locations/{location}/instances/{instance}/dashboardQueries/{query}*\x10\x64\x61shboardQueries2\x0e\x64\x61shboardQuery\"Y\n\x18GetDashboardQueryRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'chronicle.googleapis.com/DashboardQuery\"\xa0\x02\n\x1c\x45xecuteDashboardQueryRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'chronicle.googleapis.com/DashboardQuery\x12=\n\x05query\x18\x02 \x01(\x0b\x32).google.cloud.chronicle.v1.DashboardQueryB\x03\xe0\x41\x02\x12@\n\x07\x66ilters\x18\x03 \x03(\x0b\x32*.google.cloud.chronicle.v1.DashboardFilterB\x03\xe0\x41\x01\x12\x18\n\x0b\x63lear_cache\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17use_previous_time_range\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd6\x05\n\x11QueryRuntimeError\x12\x13\n\x0b\x65rror_title\x18\x01 \x01(\t\x12\x19\n\x11\x65rror_description\x18\x02 \x01(\t\x12R\n\x0e\x65rror_severity\x18\x03 \x01(\x0e\x32:.google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity\x12X\n\x08metadata\x18\x04 \x03(\x0b\x32\x46.google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata\x12R\n\x0ewarning_reason\x18\x05 \x01(\x0e\x32:.google.cloud.chronicle.v1.QueryRuntimeError.WarningReason\x1aq\n\x19QueryRuntimeErrorMetadata\x12\x45\n\x03key\x18\x01 \x01(\x0e\x32\x38.google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey\x12\r\n\x05value\x18\x02 \x01(\t\"H\n\rErrorSeverity\x12\x1e\n\x1a\x45RROR_SEVERITY_UNSPECIFIED\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\n\n\x06SEVERE\x10\x02\":\n\x0bMetadataKey\x12\x1c\n\x18METADATA_KEY_UNSPECIFIED\x10\x00\x12\r\n\tROW_LIMIT\x10\x01\"\x95\x01\n\rWarningReason\x12\x1e\n\x1aWARNING_REASON_UNSPECIFIED\x10\x00\x12\x16\n\x12ROW_LIMIT_EXCEEDED\x10\x01\x12\x1e\n\x1a\x44\x45\x46\x41ULT_ROW_LIMIT_EXCEEDED\x10\x02\x12,\n(CURATED_QUERY_DEFAULT_ROW_LIMIT_EXCEEDED\x10\x03\"\xc2\x0b\n\x1d\x45xecuteDashboardQueryResponse\x12T\n\x07results\x18\x01 \x03(\x0b\x32\x43.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData\x12;\n\x0c\x64\x61ta_sources\x18\x03 \x03(\x0e\x32%.google.cloud.chronicle.v1.DataSource\x12J\n!last_backend_cache_refreshed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12*\n\x0btime_window\x18\x05 \x01(\x0b\x32\x15.google.type.Interval\x12J\n\x14query_runtime_errors\x18\x06 \x03(\x0b\x32,.google.cloud.chronicle.v1.QueryRuntimeError\x12J\n\x11language_features\x18\x07 \x03(\x0e\x32*.google.cloud.chronicle.v1.LanguageFeatureB\x03\xe0\x41\x01\x1a\xa6\x04\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\x12\x64\n\x08metadata\x18\x0b \x01(\x0b\x32R.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata\x1a\x8c\x01\n\rValueMetadata\x12\x33\n\x05links\x18\x01 \x03(\x0b\x32$.google.cloud.chronicle.v1.InAppLink\x12\x13\n\x0b\x66ield_paths\x18\x02 \x03(\t\x12\x31\n\rtimestamp_val\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x07\n\x05value\x1a\xa3\x02\n\nColumnType\x12U\n\x05value\x18\x01 \x01(\x0b\x32\x44.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValueH\x00\x12X\n\x04list\x18\x02 \x01(\x0b\x32H.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnType.ListH\x00\x1a\\\n\x04List\x12T\n\x06values\x18\x01 \x03(\x0b\x32\x44.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValueB\x06\n\x04type\x1a\xae\x01\n\nColumnData\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12S\n\x06values\x18\x02 \x03(\x0b\x32\x43.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnType\x12;\n\x08metadata\x18\x03 \x01(\x0b\x32).google.cloud.chronicle.v1.ColumnMetadata\"\xf4\x03\n\x0f\x44\x61shboardFilter\x12\n\n\x02id\x18\x01 \x01(\t\x12:\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0e\x32%.google.cloud.chronicle.v1.DataSource\x12\x12\n\nfield_path\x18\x03 \x01(\t\x12\\\n filter_operator_and_field_values\x18\x04 \x03(\x0b\x32\x32.google.cloud.chronicle.v1.FilterOperatorAndValues\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x11\n\tchart_ids\x18\x06 \x03(\t\x12*\n\x1dis_standard_time_range_filter\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cis_mandatory\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n%is_standard_time_range_filter_enabled\x18\t \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12T\n\x16\x61\x64vanced_filter_config\x18\n \x01(\x0b\x32/.google.cloud.chronicle.v1.AdvancedFilterConfigB\x03\xe0\x41\x01\x42(\n&_is_standard_time_range_filter_enabled\"s\n\x17\x46ilterOperatorAndValues\x12\x42\n\x0f\x66ilter_operator\x18\x01 \x01(\x0e\x32).google.cloud.chronicle.v1.FilterOperator\x12\x14\n\x0c\x66ield_values\x18\x02 \x03(\t\"\xc6\x05\n\x14\x41\x64vancedFilterConfig\x12\x12\n\x05token\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06suffix\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tseparator\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10multiple_allowed\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_values\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12!\n\x14skip_default_affixes\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12V\n\x0cvalue_source\x18\x08 \x01(\x0b\x32;.google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSourceB\x03\xe0\x41\x02\x1a\xd1\x01\n\x0bValueSource\x12\\\n\x0emanual_options\x18\x01 \x01(\x0b\x32=.google.cloud.chronicle.v1.AdvancedFilterConfig.ManualOptionsB\x03\xe0\x41\x01H\x00\x12Z\n\rquery_options\x18\x02 \x01(\x0b\x32<.google.cloud.chronicle.v1.AdvancedFilterConfig.QueryOptionsB\x03\xe0\x41\x01H\x00\x42\x08\n\x06source\x1a%\n\rManualOptions\x12\x14\n\x07options\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a\xa5\x01\n\x0cQueryOptions\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x63olumn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\'\n\x1aglobal_time_filter_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x43\n\x05input\x18\x04 \x01(\x0b\x32/.google.cloud.chronicle.v1.DashboardQuery.InputB\x03\xe0\x41\x01\"9\n\tInAppLink\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x10\n\x08icon_url\x18\x03 \x01(\t\"\xb5\x02\n\x0e\x43olumnMetadata\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12\x15\n\rfunction_name\x18\x03 \x01(\t\x12\x17\n\x0f\x66unction_module\x18\x04 \x01(\t\x12:\n\x0b\x64\x61ta_source\x18\x05 \x01(\x0e\x32%.google.cloud.chronicle.v1.DataSource\x12H\n\x12timestamp_metadata\x18\x06 \x01(\x0b\x32,.google.cloud.chronicle.v1.TimestampMetadata\x12\x11\n\tlongitude\x18\x07 \x01(\x08\x12\x10\n\x08latitude\x18\x08 \x01(\x08\x12\x10\n\x08selected\x18\t \x01(\x08\x12\x12\n\nunselected\x18\n \x01(\x08\"\x83\x01\n\x11TimestampMetadata\x12\x13\n\x0btime_format\x18\x01 \x01(\t\x12\x11\n\ttime_zone\x18\x02 \x01(\t\x12\x18\n\x10time_granularity\x18\x03 \x01(\t\x12\x13\n\x0bis_sortable\x18\x04 \x01(\x08\x12\x17\n\x0fis_interpolable\x18\x05 \x01(\x08*[\n\x0fLanguageFeature\x12 \n\x1cLANGUAGE_FEATURE_UNSPECIFIED\x10\x00\x12\t\n\x05JOINS\x10\x01\x12\n\n\x06STAGES\x10\x02\x12\x0f\n\x0b\x44\x41TA_TABLES\x10\x03*\xe4\x02\n\x0e\x46ilterOperator\x12\x1f\n\x1b\x46ILTER_OPERATOR_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tNOT_EQUAL\x10\x02\x12\x06\n\x02IN\x10\x03\x12\x10\n\x0cGREATER_THAN\x10\x04\x12\x1c\n\x18GREATER_THAN_OR_EQUAL_TO\x10\x05\x12\r\n\tLESS_THAN\x10\x06\x12\x19\n\x15LESS_THAN_OR_EQUAL_TO\x10\x07\x12\x0b\n\x07\x42\x45TWEEN\x10\x08\x12\x08\n\x04PAST\x10\t\x12\x0b\n\x07IS_NULL\x10\n\x12\x0f\n\x0bIS_NOT_NULL\x10\x0b\x12\x0f\n\x0bSTARTS_WITH\x10\x0c\x12\r\n\tENDS_WITH\x10\r\x12\x18\n\x14\x44OES_NOT_STARTS_WITH\x10\x0e\x12\x16\n\x12\x44OES_NOT_ENDS_WITH\x10\x0f\x12\n\n\x06NOT_IN\x10\x10\x12\x0c\n\x08\x43ONTAINS\x10\x11\x12\x14\n\x10\x44OES_NOT_CONTAIN\x10\x12*\x9a\x02\n\nDataSource\x12\x1b\n\x17\x44\x41TA_SOURCE_UNSPECIFIED\x10\x00\x12\x07\n\x03UDM\x10\x01\x12\n\n\x06\x45NTITY\x10\x02\x12\x15\n\x11INGESTION_METRICS\x10\x03\x12\x13\n\x0fRULE_DETECTIONS\x10\x04\x12\x0c\n\x08RULESETS\x10\x05\x12\n\n\x06GLOBAL\x10\x06\x12\x0f\n\x0bIOC_MATCHES\x10\x07\x12\t\n\x05RULES\x10\x08\x12\x0e\n\nSOAR_CASES\x10\t\x12\x12\n\x0eSOAR_PLAYBOOKS\x10\n\x12\x15\n\x11SOAR_CASE_HISTORY\x10\x0b\x12\x0e\n\nDATA_TABLE\x10\x0c\x12\x11\n\rINVESTIGATION\x10\r\x12\x1a\n\x16INVESTIGATION_FEEDBACK\x10\x0e*o\n\x08TimeUnit\x12\x19\n\x15TIME_UNIT_UNSPECIFIED\x10\x00\x12\n\n\x06SECOND\x10\x01\x12\n\n\x06MINUTE\x10\x02\x12\x08\n\x04HOUR\x10\x03\x12\x07\n\x03\x44\x41Y\x10\x04\x12\x08\n\x04WEEK\x10\x05\x12\t\n\x05MONTH\x10\x06\x12\x08\n\x04YEAR\x10\x07\x32\xfc\x04\n\x15\x44\x61shboardQueryService\x12\xc4\x01\n\x11GetDashboardQuery\x12\x33.google.cloud.chronicle.v1.GetDashboardQueryRequest\x1a).google.cloud.chronicle.v1.DashboardQuery\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/instances/*/dashboardQueries/*}\x12\xee\x01\n\x15\x45xecuteDashboardQuery\x12\x37.google.cloud.chronicle.v1.ExecuteDashboardQueryRequest\x1a\x38.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse\"b\xda\x41\x0cparent,query\x82\xd3\xe4\x93\x02M\"H/v1/{parent=projects/*/locations/*/instances/*}/dashboardQueries:execute:\x01*\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\xca\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x13\x44\x61shboardQueryProtoP\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"
18
+
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
21
+
22
+ module Google
23
+ module Cloud
24
+ module Chronicle
25
+ module V1
26
+ DashboardQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DashboardQuery").msgclass
27
+ DashboardQuery::Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DashboardQuery.Input").msgclass
28
+ DashboardQuery::Input::RelativeTime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DashboardQuery.Input.RelativeTime").msgclass
29
+ GetDashboardQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.GetDashboardQueryRequest").msgclass
30
+ ExecuteDashboardQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryRequest").msgclass
31
+ QueryRuntimeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryRuntimeError").msgclass
32
+ QueryRuntimeError::QueryRuntimeErrorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata").msgclass
33
+ QueryRuntimeError::ErrorSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity").enummodule
34
+ QueryRuntimeError::MetadataKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryRuntimeError.MetadataKey").enummodule
35
+ QueryRuntimeError::WarningReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.QueryRuntimeError.WarningReason").enummodule
36
+ ExecuteDashboardQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse").msgclass
37
+ ExecuteDashboardQueryResponse::ColumnValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue").msgclass
38
+ ExecuteDashboardQueryResponse::ColumnValue::ValueMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata").msgclass
39
+ ExecuteDashboardQueryResponse::ColumnType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnType").msgclass
40
+ ExecuteDashboardQueryResponse::ColumnType::List = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnType.List").msgclass
41
+ ExecuteDashboardQueryResponse::ColumnData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData").msgclass
42
+ DashboardFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DashboardFilter").msgclass
43
+ FilterOperatorAndValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FilterOperatorAndValues").msgclass
44
+ AdvancedFilterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.AdvancedFilterConfig").msgclass
45
+ AdvancedFilterConfig::ValueSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.AdvancedFilterConfig.ValueSource").msgclass
46
+ AdvancedFilterConfig::ManualOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.AdvancedFilterConfig.ManualOptions").msgclass
47
+ AdvancedFilterConfig::QueryOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.AdvancedFilterConfig.QueryOptions").msgclass
48
+ InAppLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.InAppLink").msgclass
49
+ ColumnMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ColumnMetadata").msgclass
50
+ TimestampMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.TimestampMetadata").msgclass
51
+ LanguageFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.LanguageFeature").enummodule
52
+ FilterOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FilterOperator").enummodule
53
+ DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DataSource").enummodule
54
+ TimeUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.TimeUnit").enummodule
55
+ end
56
+ end
57
+ end
58
+ end