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,204 @@
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_query_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Chronicle
24
+ module V1
25
+ module DashboardQueryService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the DashboardQueryService 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_query REST call
78
+ #
79
+ # @param request_pb [::Google::Cloud::Chronicle::V1::GetDashboardQueryRequest]
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::DashboardQuery]
86
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
87
+ #
88
+ # @return [::Google::Cloud::Chronicle::V1::DashboardQuery]
89
+ # A result object deserialized from the server's reply
90
+ def get_dashboard_query 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_query_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_query",
106
+ options: options
107
+ )
108
+ operation = ::Gapic::Rest::TransportOperation.new response
109
+ result = ::Google::Cloud::Chronicle::V1::DashboardQuery.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 execute_dashboard_query REST call
118
+ #
119
+ # @param request_pb [::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryRequest]
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::ExecuteDashboardQueryResponse]
126
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
+ #
128
+ # @return [::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryResponse]
129
+ # A result object deserialized from the server's reply
130
+ def execute_dashboard_query 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_execute_dashboard_query_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: "execute_dashboard_query",
146
+ options: options
147
+ )
148
+ operation = ::Gapic::Rest::TransportOperation.new response
149
+ result = ::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryResponse.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_query REST call
160
+ #
161
+ # @param request_pb [::Google::Cloud::Chronicle::V1::GetDashboardQueryRequest]
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_query_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/[^/]+/dashboardQueries/[^/]+/?$}, false]
172
+ ]
173
+ )
174
+ transcoder.transcode request_pb
175
+ end
176
+
177
+ ##
178
+ # @private
179
+ #
180
+ # GRPC transcoding helper method for the execute_dashboard_query REST call
181
+ #
182
+ # @param request_pb [::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryRequest]
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_execute_dashboard_query_request request_pb
187
+ transcoder = Gapic::Rest::GrpcTranscoder.new
188
+ .with_bindings(
189
+ uri_method: :post,
190
+ uri_template: "/v1/{parent}/dashboardQueries:execute",
191
+ body: "*",
192
+ matches: [
193
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/instances/[^/]+/?$}, false]
194
+ ]
195
+ )
196
+ transcoder.transcode request_pb
197
+ end
198
+ end
199
+ end
200
+ end
201
+ end
202
+ end
203
+ end
204
+ 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_query_service/credentials"
26
+ require "google/cloud/chronicle/v1/dashboard_query_service/paths"
27
+ require "google/cloud/chronicle/v1/dashboard_query_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' queries.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/cloud/chronicle/v1/dashboard_query_service/rest"
39
+ # client = ::Google::Cloud::Chronicle::V1::DashboardQueryService::Rest::Client.new
40
+ #
41
+ module DashboardQueryService
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_query_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_query_service/credentials"
26
+ require "google/cloud/chronicle/v1/dashboard_query_service/paths"
27
+ require "google/cloud/chronicle/v1/dashboard_query_service/client"
28
+ require "google/cloud/chronicle/v1/dashboard_query_service/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Chronicle
33
+ module V1
34
+ ##
35
+ # A service providing functionality for managing dashboards' queries.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/chronicle/v1/dashboard_query_service"
40
+ # client = ::Google::Cloud::Chronicle::V1::DashboardQueryService::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/chronicle/v1/dashboard_query_service/rest"
45
+ # client = ::Google::Cloud::Chronicle::V1::DashboardQueryService::Rest::Client.new
46
+ #
47
+ module DashboardQueryService
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "dashboard_query_service", "helpers.rb"
55
+ require "google/cloud/chronicle/v1/dashboard_query_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_query.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_query_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Chronicle
25
+ module V1
26
+ module DashboardQueryService
27
+ # A service providing functionality for managing dashboards' queries.
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.DashboardQueryService'
35
+
36
+ # Get a dashboard query.
37
+ rpc :GetDashboardQuery, ::Google::Cloud::Chronicle::V1::GetDashboardQueryRequest, ::Google::Cloud::Chronicle::V1::DashboardQuery
38
+ # Execute a query and return the data.
39
+ rpc :ExecuteDashboardQuery, ::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryRequest, ::Google::Cloud::Chronicle::V1::ExecuteDashboardQueryResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -1258,6 +1258,7 @@ module Google
1258
1258
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1259
1259
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1260
1260
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1261
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1261
1262
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1262
1263
  # trigger a retry.
1263
1264
  # @return [::Hash]
@@ -1341,6 +1342,7 @@ module Google
1341
1342
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1342
1343
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1343
1344
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1345
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1344
1346
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1345
1347
  # trigger a retry.
1346
1348
  #
@@ -1155,6 +1155,7 @@ module Google
1155
1155
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1156
1156
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1157
1157
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1158
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1158
1159
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1159
1160
  # trigger a retry.
1160
1161
  # @return [::Hash]
@@ -1227,6 +1228,7 @@ module Google
1227
1228
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1228
1229
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1229
1230
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1231
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1230
1232
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1231
1233
  # trigger a retry.
1232
1234
  #
@@ -1707,6 +1707,7 @@ module Google
1707
1707
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1708
1708
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1709
1709
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1710
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1710
1711
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1711
1712
  # trigger a retry.
1712
1713
  # @return [::Hash]
@@ -1790,6 +1791,7 @@ module Google
1790
1791
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1791
1792
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1792
1793
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1794
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1793
1795
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1794
1796
  # trigger a retry.
1795
1797
  #
@@ -1569,6 +1569,7 @@ module Google
1569
1569
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1570
1570
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1571
1571
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1572
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1572
1573
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1573
1574
  # trigger a retry.
1574
1575
  # @return [::Hash]
@@ -1641,6 +1642,7 @@ module Google
1641
1642
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1642
1643
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1643
1644
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1645
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1644
1646
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1645
1647
  # trigger a retry.
1646
1648
  #
@@ -770,6 +770,7 @@ module Google
770
770
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
771
771
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
772
772
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
773
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
773
774
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
774
775
  # trigger a retry.
775
776
  # @return [::Hash]
@@ -853,6 +854,7 @@ module Google
853
854
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
854
855
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
855
856
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
857
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
856
858
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
857
859
  # trigger a retry.
858
860
  #
@@ -702,6 +702,7 @@ module Google
702
702
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
703
703
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
704
704
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
705
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
705
706
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
706
707
  # trigger a retry.
707
708
  # @return [::Hash]
@@ -774,6 +775,7 @@ module Google
774
775
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
775
776
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
776
777
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
778
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
777
779
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
778
780
  # trigger a retry.
779
781
  #
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/chronicle/v1/featured_content_metadata.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+
10
+
11
+ descriptor_data = "\n9google/cloud/chronicle/v1/featured_content_metadata.proto\x12\x19google.cloud.chronicle.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x92\x04\n\x17\x46\x65\x61turedContentMetadata\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06\x61uthor\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcertified\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ncategories\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\x08verified\x18\n \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12^\n\x0bsource_type\x18\x0b \x01(\x0e\x32\x44.google.cloud.chronicle.v1.FeaturedContentMetadata.ContentSourceTypeB\x03\xe0\x41\x03\"`\n\x11\x43ontentSourceType\x12#\n\x1f\x43ONTENT_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06GOOGLE\x10\x01\x12\r\n\tCOMMUNITY\x10\x02\x12\x0b\n\x07PARTNER\x10\x03\x42\x0b\n\t_verifiedB\xd3\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x1c\x46\x65\x61turedContentMetadataProtoP\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"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Cloud
18
+ module Chronicle
19
+ module V1
20
+ FeaturedContentMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FeaturedContentMetadata").msgclass
21
+ FeaturedContentMetadata::ContentSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FeaturedContentMetadata.ContentSourceType").enummodule
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/chronicle/v1/featured_content_native_dashboard.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/cloud/chronicle/v1/featured_content_metadata_pb'
12
+ require 'google/cloud/chronicle/v1/native_dashboard_pb'
13
+
14
+
15
+ descriptor_data = "\nAgoogle/cloud/chronicle/v1/featured_content_native_dashboard.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\x39google/cloud/chronicle/v1/featured_content_metadata.proto\x1a\x30google/cloud/chronicle/v1/native_dashboard.proto\"\xf5\x03\n\x1e\x46\x65\x61turedContentNativeDashboard\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12Q\n\x10\x63ontent_metadata\x18\x02 \x01(\x0b\x32\x32.google.cloud.chronicle.v1.FeaturedContentMetadataB\x03\xe0\x41\x03\x12^\n\x11\x64\x61shboard_content\x18\x03 \x01(\x0b\x32>.google.cloud.chronicle.v1.NativeDashboardWithChartsAndQueriesB\x03\xe0\x41\x01:\x8c\x02\xea\x41\x88\x02\n7chronicle.googleapis.com/FeaturedContentNativeDashboard\x12\x8b\x01projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentNativeDashboards/{featured_content_native_dashboard}*\x1f\x66\x65\x61turedContentNativeDashboards2\x1e\x66\x65\x61turedContentNativeDashboard\"y\n(GetFeaturedContentNativeDashboardRequest\x12M\n\x04name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7chronicle.googleapis.com/FeaturedContentNativeDashboard\"\xc3\x01\n*ListFeaturedContentNativeDashboardsRequest\x12O\n\x06parent\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\x12\x37\x63hronicle.googleapis.com/FeaturedContentNativeDashboard\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xad\x01\n+ListFeaturedContentNativeDashboardsResponse\x12\x65\n\"featured_content_native_dashboards\x18\x01 \x03(\x0b\x32\x39.google.cloud.chronicle.v1.FeaturedContentNativeDashboard\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe8\x01\n,InstallFeaturedContentNativeDashboardRequest\x12M\n\x04name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7chronicle.googleapis.com/FeaturedContentNativeDashboard\x12i\n!featured_content_native_dashboard\x18\x02 \x01(\x0b\x32\x39.google.cloud.chronicle.v1.FeaturedContentNativeDashboardB\x03\xe0\x41\x01\"{\n-InstallFeaturedContentNativeDashboardResponse\x12J\n\x10native_dashboard\x18\x01 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(chronicle.googleapis.com/NativeDashboard2\xbc\x08\n%FeaturedContentNativeDashboardService\x12\x8e\x02\n!GetFeaturedContentNativeDashboard\x12\x43.google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest\x1a\x39.google.cloud.chronicle.v1.FeaturedContentNativeDashboard\"i\xda\x41\x04name\x82\xd3\xe4\x93\x02\\\x12Z/v1/{name=projects/*/locations/*/instances/*/contentHub/featuredContentNativeDashboards/*}\x12\xa1\x02\n#ListFeaturedContentNativeDashboards\x12\x45.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest\x1a\x46.google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse\"k\xda\x41\x06parent\x82\xd3\xe4\x93\x02\\\x12Z/v1/{parent=projects/*/locations/*/instances/*/contentHub}/featuredContentNativeDashboards\x12\xb0\x02\n%InstallFeaturedContentNativeDashboard\x12G.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest\x1aH.google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse\"t\xda\x41\x04name\x82\xd3\xe4\x93\x02g\"b/v1/{name=projects/*/locations/*/instances/*/contentHub/featuredContentNativeDashboards/*}:install:\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\xe4\x02\n\x1d\x63om.google.cloud.chronicle.v1B#FeaturedContentNativeDashboardProtoP\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::V1\xea\x41\x86\x01\n#chronicle.googleapis.com/ContentHub\x12Gprojects/{project}/locations/{location}/instances/{instance}/contentHub*\ncontentHub2\ncontentHubb\x06proto3"
16
+
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
19
+
20
+ module Google
21
+ module Cloud
22
+ module Chronicle
23
+ module V1
24
+ FeaturedContentNativeDashboard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.FeaturedContentNativeDashboard").msgclass
25
+ GetFeaturedContentNativeDashboardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.GetFeaturedContentNativeDashboardRequest").msgclass
26
+ ListFeaturedContentNativeDashboardsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsRequest").msgclass
27
+ ListFeaturedContentNativeDashboardsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListFeaturedContentNativeDashboardsResponse").msgclass
28
+ InstallFeaturedContentNativeDashboardRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardRequest").msgclass
29
+ InstallFeaturedContentNativeDashboardResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.InstallFeaturedContentNativeDashboardResponse").msgclass
30
+ end
31
+ end
32
+ end
33
+ end