google-cloud-chronicle-v1 0.4.0 → 0.6.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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +6 -6
  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 +682 -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 +618 -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 +584 -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 +527 -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 +589 -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 +532 -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_table_pb.rb +57 -0
  32. data/lib/google/cloud/chronicle/v1/data_table_service/client.rb +1915 -0
  33. data/lib/google/cloud/chronicle/v1/data_table_service/credentials.rb +49 -0
  34. data/lib/google/cloud/chronicle/v1/data_table_service/paths.rb +138 -0
  35. data/lib/google/cloud/chronicle/v1/data_table_service/rest/client.rb +1767 -0
  36. data/lib/google/cloud/chronicle/v1/data_table_service/rest/service_stub.rb +1004 -0
  37. data/lib/google/cloud/chronicle/v1/data_table_service/rest.rb +52 -0
  38. data/lib/google/cloud/chronicle/v1/data_table_service.rb +55 -0
  39. data/lib/google/cloud/chronicle/v1/data_table_services_pb.rb +73 -0
  40. data/lib/google/cloud/chronicle/v1/featured_content_metadata_pb.rb +25 -0
  41. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_pb.rb +33 -0
  42. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/client.rb +717 -0
  43. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/credentials.rb +49 -0
  44. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/paths.rb +136 -0
  45. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/client.rb +653 -0
  46. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/service_stub.rb +265 -0
  47. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest.rb +53 -0
  48. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service.rb +56 -0
  49. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_services_pb.rb +50 -0
  50. data/lib/google/cloud/chronicle/v1/native_dashboard_pb.rb +61 -0
  51. data/lib/google/cloud/chronicle/v1/native_dashboard_service/client.rb +1611 -0
  52. data/lib/google/cloud/chronicle/v1/native_dashboard_service/credentials.rb +49 -0
  53. data/lib/google/cloud/chronicle/v1/native_dashboard_service/paths.rb +115 -0
  54. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/client.rb +1484 -0
  55. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/service_stub.rb +822 -0
  56. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest.rb +52 -0
  57. data/lib/google/cloud/chronicle/v1/native_dashboard_service.rb +55 -0
  58. data/lib/google/cloud/chronicle/v1/native_dashboard_services_pb.rb +67 -0
  59. data/lib/google/cloud/chronicle/v1/rest.rb +7 -1
  60. data/lib/google/cloud/chronicle/v1/version.rb +1 -1
  61. data/lib/google/cloud/chronicle/v1.rb +8 -2
  62. data/proto_docs/google/api/client.rb +149 -29
  63. data/proto_docs/google/cloud/chronicle/v1/big_query_export.rb +142 -0
  64. data/proto_docs/google/cloud/chronicle/v1/dashboard_chart.rb +923 -0
  65. data/proto_docs/google/cloud/chronicle/v1/dashboard_query.rb +653 -0
  66. data/proto_docs/google/cloud/chronicle/v1/data_table.rb +512 -0
  67. data/proto_docs/google/cloud/chronicle/v1/featured_content_metadata.rb +82 -0
  68. data/proto_docs/google/cloud/chronicle/v1/featured_content_native_dashboard.rb +141 -0
  69. data/proto_docs/google/cloud/chronicle/v1/native_dashboard.rb +502 -0
  70. data/proto_docs/google/type/date.rb +56 -0
  71. metadata +71 -9
@@ -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/native_dashboard_service/credentials"
26
+ require "google/cloud/chronicle/v1/native_dashboard_service/paths"
27
+ require "google/cloud/chronicle/v1/native_dashboard_service/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module Chronicle
32
+ module V1
33
+ ##
34
+ # A service providing functionality for managing native dashboards.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/cloud/chronicle/v1/native_dashboard_service/rest"
39
+ # client = ::Google::Cloud::Chronicle::V1::NativeDashboardService::Rest::Client.new
40
+ #
41
+ module NativeDashboardService
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/native_dashboard_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/native_dashboard_service/credentials"
26
+ require "google/cloud/chronicle/v1/native_dashboard_service/paths"
27
+ require "google/cloud/chronicle/v1/native_dashboard_service/client"
28
+ require "google/cloud/chronicle/v1/native_dashboard_service/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Chronicle
33
+ module V1
34
+ ##
35
+ # A service providing functionality for managing native dashboards.
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/chronicle/v1/native_dashboard_service"
40
+ # client = ::Google::Cloud::Chronicle::V1::NativeDashboardService::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/chronicle/v1/native_dashboard_service/rest"
45
+ # client = ::Google::Cloud::Chronicle::V1::NativeDashboardService::Rest::Client.new
46
+ #
47
+ module NativeDashboardService
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "native_dashboard_service", "helpers.rb"
55
+ require "google/cloud/chronicle/v1/native_dashboard_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,67 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/chronicle/v1/native_dashboard.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/native_dashboard_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Chronicle
25
+ module V1
26
+ module NativeDashboardService
27
+ # A service providing functionality for managing native dashboards.
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.NativeDashboardService'
35
+
36
+ # Create a dashboard.
37
+ rpc :CreateNativeDashboard, ::Google::Cloud::Chronicle::V1::CreateNativeDashboardRequest, ::Google::Cloud::Chronicle::V1::NativeDashboard
38
+ # Get a dashboard.
39
+ rpc :GetNativeDashboard, ::Google::Cloud::Chronicle::V1::GetNativeDashboardRequest, ::Google::Cloud::Chronicle::V1::NativeDashboard
40
+ # List all dashboards.
41
+ rpc :ListNativeDashboards, ::Google::Cloud::Chronicle::V1::ListNativeDashboardsRequest, ::Google::Cloud::Chronicle::V1::ListNativeDashboardsResponse
42
+ # Update a dashboard.
43
+ rpc :UpdateNativeDashboard, ::Google::Cloud::Chronicle::V1::UpdateNativeDashboardRequest, ::Google::Cloud::Chronicle::V1::NativeDashboard
44
+ # Duplicate a dashboard.
45
+ rpc :DuplicateNativeDashboard, ::Google::Cloud::Chronicle::V1::DuplicateNativeDashboardRequest, ::Google::Cloud::Chronicle::V1::NativeDashboard
46
+ # Delete a dashboard.
47
+ rpc :DeleteNativeDashboard, ::Google::Cloud::Chronicle::V1::DeleteNativeDashboardRequest, ::Google::Protobuf::Empty
48
+ # Add chart in a dashboard.
49
+ rpc :AddChart, ::Google::Cloud::Chronicle::V1::AddChartRequest, ::Google::Cloud::Chronicle::V1::AddChartResponse
50
+ # Remove chart from a dashboard.
51
+ rpc :RemoveChart, ::Google::Cloud::Chronicle::V1::RemoveChartRequest, ::Google::Cloud::Chronicle::V1::NativeDashboard
52
+ # Edit chart in a dashboard.
53
+ rpc :EditChart, ::Google::Cloud::Chronicle::V1::EditChartRequest, ::Google::Cloud::Chronicle::V1::EditChartResponse
54
+ # Duplicate chart in a dashboard.
55
+ rpc :DuplicateChart, ::Google::Cloud::Chronicle::V1::DuplicateChartRequest, ::Google::Cloud::Chronicle::V1::DuplicateChartResponse
56
+ # Exports the dashboards.
57
+ rpc :ExportNativeDashboards, ::Google::Cloud::Chronicle::V1::ExportNativeDashboardsRequest, ::Google::Cloud::Chronicle::V1::ExportNativeDashboardsResponse
58
+ # Imports the dashboards.
59
+ rpc :ImportNativeDashboards, ::Google::Cloud::Chronicle::V1::ImportNativeDashboardsRequest, ::Google::Cloud::Chronicle::V1::ImportNativeDashboardsResponse
60
+ end
61
+
62
+ Stub = Service.rpc_stub_class
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
@@ -16,8 +16,14 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ require "google/cloud/chronicle/v1/big_query_export_service/rest"
20
+ require "google/cloud/chronicle/v1/dashboard_query_service/rest"
21
+ require "google/cloud/chronicle/v1/dashboard_chart_service/rest"
19
22
  require "google/cloud/chronicle/v1/data_access_control_service/rest"
23
+ require "google/cloud/chronicle/v1/data_table_service/rest"
20
24
  require "google/cloud/chronicle/v1/entity_service/rest"
25
+ require "google/cloud/chronicle/v1/native_dashboard_service/rest"
26
+ require "google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest"
21
27
  require "google/cloud/chronicle/v1/instance_service/rest"
22
28
  require "google/cloud/chronicle/v1/reference_list_service/rest"
23
29
  require "google/cloud/chronicle/v1/rule_service/rest"
@@ -32,7 +38,7 @@ module Google
32
38
  # @example
33
39
  #
34
40
  # require "google/cloud/chronicle/v1/rest"
35
- # client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Rest::Client.new
41
+ # client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Rest::Client.new
36
42
  #
37
43
  module V1
38
44
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Chronicle
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -16,8 +16,14 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
+ require "google/cloud/chronicle/v1/big_query_export_service"
20
+ require "google/cloud/chronicle/v1/dashboard_query_service"
21
+ require "google/cloud/chronicle/v1/dashboard_chart_service"
19
22
  require "google/cloud/chronicle/v1/data_access_control_service"
23
+ require "google/cloud/chronicle/v1/data_table_service"
20
24
  require "google/cloud/chronicle/v1/entity_service"
25
+ require "google/cloud/chronicle/v1/native_dashboard_service"
26
+ require "google/cloud/chronicle/v1/featured_content_native_dashboard_service"
21
27
  require "google/cloud/chronicle/v1/instance_service"
22
28
  require "google/cloud/chronicle/v1/reference_list_service"
23
29
  require "google/cloud/chronicle/v1/rule_service"
@@ -32,12 +38,12 @@ module Google
32
38
  # @example Load this package, including all its services, and instantiate a gRPC client
33
39
  #
34
40
  # require "google/cloud/chronicle/v1"
35
- # client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new
41
+ # client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new
36
42
  #
37
43
  # @example Load this package, including all its services, and instantiate a REST client
38
44
  #
39
45
  # require "google/cloud/chronicle/v1"
40
- # client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Rest::Client.new
46
+ # client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Rest::Client.new
41
47
  #
42
48
  module V1
43
49
  end
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -141,9 +143,10 @@ module Google
141
143
  #
142
144
  # Example of a YAML configuration::
143
145
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
146
+ # publishing:
147
+ # library_settings:
148
+ # java_settings:
149
+ # library_package: com.google.cloud.pubsub.v1
147
150
  # @!attribute [rw] service_class_names
148
151
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
152
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +158,11 @@ module Google
155
158
  #
156
159
  # Example of a YAML configuration::
157
160
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
161
+ # publishing:
162
+ # java_settings:
163
+ # service_class_names:
164
+ # - google.pubsub.v1.Publisher: TopicAdmin
165
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
166
  # @!attribute [rw] common
164
167
  # @return [::Google::Api::CommonLanguageSettings]
165
168
  # Some settings.
@@ -190,6 +193,20 @@ module Google
190
193
  # @!attribute [rw] common
191
194
  # @return [::Google::Api::CommonLanguageSettings]
192
195
  # Some settings.
196
+ # @!attribute [rw] library_package
197
+ # @return [::String]
198
+ # The package name to use in Php. Clobbers the php_namespace option
199
+ # set in the protobuf. This should be used **only** by APIs
200
+ # who have already set the language_settings.php.package_name" field
201
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
202
+ # where possible.
203
+ #
204
+ # Example of a YAML configuration::
205
+ #
206
+ # publishing:
207
+ # library_settings:
208
+ # php_settings:
209
+ # library_package: Google\Cloud\PubSub\V1
193
210
  class PhpSettings
194
211
  include ::Google::Protobuf::MessageExts
195
212
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +335,12 @@ module Google
318
335
  # service names and values are the name to be used for the service client
319
336
  # and call options.
320
337
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
338
+ # Example:
339
+ #
340
+ # publishing:
341
+ # go_settings:
342
+ # renamed_services:
343
+ # Publisher: TopicAdmin
325
344
  class GoSettings
326
345
  include ::Google::Protobuf::MessageExts
327
346
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +363,10 @@ module Google
344
363
  #
345
364
  # Example:
346
365
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
366
+ # publishing:
367
+ # method_settings:
368
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
369
+ # # method settings for CreateFolder...
351
370
  # @!attribute [rw] long_running
352
371
  # @return [::Google::Api::MethodSettings::LongRunning]
353
372
  # Describes settings to use for long-running operations when generating
@@ -356,14 +375,14 @@ module Google
356
375
  #
357
376
  # Example of a YAML configuration::
358
377
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
378
+ # publishing:
379
+ # method_settings:
380
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
381
+ # long_running:
382
+ # initial_poll_delay: 60s # 1 minute
383
+ # poll_delay_multiplier: 1.5
384
+ # max_poll_delay: 360s # 6 minutes
385
+ # total_poll_timeout: 54000s # 90 minutes
367
386
  # @!attribute [rw] auto_populated_fields
368
387
  # @return [::Array<::String>]
369
388
  # List of top-level fields of the request message, that should be
@@ -372,11 +391,24 @@ module Google
372
391
  #
373
392
  # Example of a YAML configuration:
374
393
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
394
+ # publishing:
395
+ # method_settings:
396
+ # - selector: google.example.v1.ExampleService.CreateExample
397
+ # auto_populated_fields:
398
+ # - request_id
399
+ # @!attribute [rw] batching
400
+ # @return [::Google::Api::BatchingConfigProto]
401
+ # Batching configuration for an API method in client libraries.
402
+ #
403
+ # Example of a YAML configuration:
404
+ #
405
+ # publishing:
406
+ # method_settings:
407
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
408
+ # batching:
409
+ # element_count_threshold: 1000
410
+ # request_byte_threshold: 100000000
411
+ # delay_threshold_millis: 10
380
412
  class MethodSettings
381
413
  include ::Google::Protobuf::MessageExts
382
414
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -411,6 +443,8 @@ module Google
411
443
 
412
444
  # This message is used to configure the generation of a subset of the RPCs in
413
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
414
448
  # @!attribute [rw] methods
415
449
  # @return [::Array<::String>]
416
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -428,6 +462,77 @@ module Google
428
462
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
463
  end
430
464
 
465
+ # `BatchingConfigProto` defines the batching configuration for an API method.
466
+ # @!attribute [rw] thresholds
467
+ # @return [::Google::Api::BatchingSettingsProto]
468
+ # The thresholds which trigger a batched request to be sent.
469
+ # @!attribute [rw] batch_descriptor
470
+ # @return [::Google::Api::BatchingDescriptorProto]
471
+ # The request and response fields used in batching.
472
+ class BatchingConfigProto
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
+ end
476
+
477
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
478
+ # which acts as a trigger to send a batch of messages as a request. At least
479
+ # one threshold must be positive nonzero.
480
+ # @!attribute [rw] element_count_threshold
481
+ # @return [::Integer]
482
+ # The number of elements of a field collected into a batch which, if
483
+ # exceeded, causes the batch to be sent.
484
+ # @!attribute [rw] request_byte_threshold
485
+ # @return [::Integer]
486
+ # The aggregated size of the batched field which, if exceeded, causes the
487
+ # batch to be sent. This size is computed by aggregating the sizes of the
488
+ # request field to be batched, not of the entire request message.
489
+ # @!attribute [rw] delay_threshold
490
+ # @return [::Google::Protobuf::Duration]
491
+ # The duration after which a batch should be sent, starting from the addition
492
+ # of the first message to that batch.
493
+ # @!attribute [rw] element_count_limit
494
+ # @return [::Integer]
495
+ # The maximum number of elements collected in a batch that could be accepted
496
+ # by server.
497
+ # @!attribute [rw] request_byte_limit
498
+ # @return [::Integer]
499
+ # The maximum size of the request that could be accepted by server.
500
+ # @!attribute [rw] flow_control_element_limit
501
+ # @return [::Integer]
502
+ # The maximum number of elements allowed by flow control.
503
+ # @!attribute [rw] flow_control_byte_limit
504
+ # @return [::Integer]
505
+ # The maximum size of data allowed by flow control.
506
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
507
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
508
+ # The behavior to take when the flow control limit is exceeded.
509
+ class BatchingSettingsProto
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
515
+ # used for batching, and, optionally, the fields of the response message to be
516
+ # used for demultiplexing.
517
+ # @!attribute [rw] batched_field
518
+ # @return [::String]
519
+ # The repeated field in the request message to be aggregated by batching.
520
+ # @!attribute [rw] discriminator_fields
521
+ # @return [::Array<::String>]
522
+ # A list of the fields in the request message. Two requests will be batched
523
+ # together only if the values of every field specified in
524
+ # `request_discriminator_fields` is equal between the two requests.
525
+ # @!attribute [rw] subresponse_field
526
+ # @return [::String]
527
+ # Optional. When present, indicates the field in the response message to be
528
+ # used to demultiplex the response into multiple response messages, in
529
+ # correspondence with the multiple request messages originally batched
530
+ # together.
531
+ class BatchingDescriptorProto
532
+ include ::Google::Protobuf::MessageExts
533
+ extend ::Google::Protobuf::MessageExts::ClassMethods
534
+ end
535
+
431
536
  # The organization for which the client libraries are being published.
432
537
  # Affects the url where generated docs are published, etc.
433
538
  module ClientLibraryOrganization
@@ -469,5 +574,20 @@ module Google
469
574
  # Publish the library to package managers like nuget.org and npmjs.com.
470
575
  PACKAGE_MANAGER = 20
471
576
  end
577
+
578
+ # The behavior to take when the flow control limit is exceeded.
579
+ module FlowControlLimitExceededBehaviorProto
580
+ # Default behavior, system-defined.
581
+ UNSET_BEHAVIOR = 0
582
+
583
+ # Stop operation, raise error.
584
+ THROW_EXCEPTION = 1
585
+
586
+ # Pause operation until limit clears.
587
+ BLOCK = 2
588
+
589
+ # Continue operation, disregard limit.
590
+ IGNORE = 3
591
+ end
472
592
  end
473
593
  end
@@ -0,0 +1,142 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Chronicle
23
+ module V1
24
+ # This resource represents the BigQuery export configuration for a Chronicle
25
+ # instance which includes Google Cloud Platform resources like Cloud Storage
26
+ # buckets, BigQuery datasets etc and the export settings for each data source.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the BigQueryExport.
30
+ # Format:
31
+ # projects/\\{project}/locations/\\{location}/instances/\\{instance}/bigQueryExport
32
+ # @!attribute [r] provisioned
33
+ # @return [::Boolean]
34
+ # Output only. Whether the BigQueryExport has been provisioned for the
35
+ # Chronicle instance.
36
+ # @!attribute [r] big_query_export_package
37
+ # @return [::Google::Cloud::Chronicle::V1::BigQueryExportPackage]
38
+ # Output only. The BigQueryExportPackage entitled for the Chronicle instance.
39
+ # @!attribute [rw] entity_graph_settings
40
+ # @return [::Google::Cloud::Chronicle::V1::DataSourceExportSettings]
41
+ # Optional. The export settings for the Entity Graph data source.
42
+ # @!attribute [rw] ioc_matches_settings
43
+ # @return [::Google::Cloud::Chronicle::V1::DataSourceExportSettings]
44
+ # Optional. The export settings for the IOC Matches data source.
45
+ # @!attribute [rw] rule_detections_settings
46
+ # @return [::Google::Cloud::Chronicle::V1::DataSourceExportSettings]
47
+ # Optional. The export settings for the Rule Detections data source.
48
+ # @!attribute [rw] udm_events_aggregates_settings
49
+ # @return [::Google::Cloud::Chronicle::V1::DataSourceExportSettings]
50
+ # Optional. The export settings for the UDM Events Aggregates data source.
51
+ # @!attribute [rw] udm_events_settings
52
+ # @return [::Google::Cloud::Chronicle::V1::DataSourceExportSettings]
53
+ # Optional. The export settings for the UDM Events data source.
54
+ class BigQueryExport
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+
59
+ # The export settings for a data source.
60
+ # @!attribute [rw] enabled
61
+ # @return [::Boolean]
62
+ # Required. Whether the data source is enabled for export.
63
+ # @!attribute [rw] retention_days
64
+ # @return [::Integer]
65
+ # Required. The retention period for the data source in days.
66
+ # @!attribute [r] latest_export_job_state
67
+ # @return [::Google::Cloud::Chronicle::V1::LatestExportJobState]
68
+ # Output only. The state of the latest data source export job.
69
+ # @!attribute [r] data_freshness_time
70
+ # @return [::Google::Protobuf::Timestamp]
71
+ # Output only. The data freshness of the given export which represents the
72
+ # time bucket at which the latest event was exported.
73
+ # @!attribute [r] data_volume
74
+ # @return [::Integer]
75
+ # Output only. The stored data volume of all the exports.
76
+ class DataSourceExportSettings
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
+ end
80
+
81
+ # The request message to fetch BigQuery Export configuration.
82
+ # @!attribute [rw] name
83
+ # @return [::String]
84
+ # Required. The resource name of the BigqueryExport to retrieve.
85
+ # Format:
86
+ # projects/\\{project}/locations/\\{location}/instances/\\{instance}/bigQueryExport
87
+ class GetBigQueryExportRequest
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
92
+ # The request message to update BigQuery Export configuration.
93
+ # @!attribute [rw] big_query_export
94
+ # @return [::Google::Cloud::Chronicle::V1::BigQueryExport]
95
+ # Required. The BigQueryExport settings to update.
96
+ # Format:
97
+ # projects/\\{project}/locations/\\{location}/instances/\\{instance}/bigQueryExport
98
+ # @!attribute [rw] update_mask
99
+ # @return [::Google::Protobuf::FieldMask]
100
+ # Optional. The list of fields to update.
101
+ class UpdateBigQueryExportRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # The request message to provision BigQuery Export configuration.
107
+ # @!attribute [rw] parent
108
+ # @return [::String]
109
+ # Required. The instance for which BigQuery export is being provisioned.
110
+ # Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
111
+ class ProvisionBigQueryExportRequest
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+ end
115
+
116
+ # The BigQueryExportPackage entitled for the Chronicle instance.
117
+ module BigQueryExportPackage
118
+ # The BigQueryExportPackage is unspecified.
119
+ BIG_QUERY_EXPORT_PACKAGE_UNSPECIFIED = 0
120
+
121
+ # The BigQueryExportPackage is Bring Your Own BigQuery.
122
+ BIG_QUERY_EXPORT_PACKAGE_BYOBQ = 1
123
+
124
+ # The BigQueryExportPackage is Advanced BigQuery.
125
+ BIG_QUERY_EXPORT_PACKAGE_ADVANCED = 2
126
+ end
127
+
128
+ # The state of the latest data source export job.
129
+ module LatestExportJobState
130
+ # The latest export job state is unspecified.
131
+ LATEST_EXPORT_JOB_STATE_UNSPECIFIED = 0
132
+
133
+ # The latest export job state is successful.
134
+ LATEST_EXPORT_JOB_STATE_SUCCESS = 1
135
+
136
+ # The latest export job state is failed.
137
+ LATEST_EXPORT_JOB_STATE_FAILED = 2
138
+ end
139
+ end
140
+ end
141
+ end
142
+ end