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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f94e2caab94b6ac43251e0bd7a5b312e784384a5a9aef07fb7b9df49ca96302
4
- data.tar.gz: 2a37e0243353a35e2011af017d0312458ceb642daed20139b3c69c59764933d2
3
+ metadata.gz: 922bfd1f79f8d6ef191b1e14af87a41027ca94f7ff5f99c57ea61a3b28c4a690
4
+ data.tar.gz: 666b4f160968c5063606f9fab6d9280d00e83d167d84e9be701afaf8d382e82e
5
5
  SHA512:
6
- metadata.gz: 25fb92ee341130b10e8ef99a560f49a00cc6c2879c68ca95790f6d2ad60400333720021bb7874455416a43d91e2d40c324eec1cdf61160846dfe3edda728631d
7
- data.tar.gz: 66d89a33f49790575a4a42b683e409231ef582395afdd90168bbd39f29a068d0f69af21dd009847c71db50624e21e37509fbe466ca60aab1f7b1fd78c934d4b6
6
+ metadata.gz: 59664accd0da9628892e9285bea2abeaad62c559f2587505c8b81a1a9833b40eb67538606622372072b6dda135c9676c9145256e8b789774dca3d73d5ab9969b
7
+ data.tar.gz: 9f5fcfbf7223ba1ea8cba95f4f6ad115d6c3426224b38bf5ec64ba9a812ea39b31f0fb8392e25ca41f846b4c8efc98e522d32e5b41a127472de1bf2e23d1c6a3
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/chronicle/v1"
58
58
 
59
- client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new do |config|
59
+ client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/chronicle/v1"
68
68
 
69
- ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.configure do |config|
69
+ ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new
73
+ client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/chronicle/v1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new
103
+ client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Ruby Client for the Chronicle V1 API
2
2
 
3
- The Google Cloud Security Operations API, popularly known as the Chronicle API, serves endpoints that enable security analysts to analyze and mitigate a security threat throughout its lifecycle.
3
+ The Google Cloud Security Operations API (Chronicle API) provides endpoints that help analysts investigate and mitigate security threats throughout their lifecycle.
4
4
 
5
- The Google Cloud Security Operations API, popularly known as the Chronicle API, serves endpoints that enable security analysts to analyze and mitigate a security threat throughout its lifecycle.
5
+ The Google Cloud Security Operations API (Chronicle API) provides endpoints that help analysts investigate and mitigate security threats throughout their lifecycle.
6
6
 
7
7
  https://github.com/googleapis/google-cloud-ruby
8
8
 
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/chronicle/v1"
34
34
 
35
- client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new
36
- request = ::Google::Cloud::Chronicle::V1::CreateDataAccessLabelRequest.new # (request fields as keyword arguments...)
37
- response = client.create_data_access_label request
35
+ client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new
36
+ request = ::Google::Cloud::Chronicle::V1::GetBigQueryExportRequest.new # (request fields as keyword arguments...)
37
+ response = client.get_big_query_export request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest)
@@ -75,7 +75,7 @@ constructing a client object. For example:
75
75
  require "google/cloud/chronicle/v1"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Cloud::Chronicle::V1::DataAccessControlService::Client.new do |config|
78
+ client = ::Google::Cloud::Chronicle::V1::BigQueryExportService::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/chronicle/v1/big_query_export.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/field_mask_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+
14
+
15
+ descriptor_data = "\n0google/cloud/chronicle/v1/big_query_export.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x05\n\x0e\x42igQueryExport\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0bprovisioned\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12W\n\x18\x62ig_query_export_package\x18\x03 \x01(\x0e\x32\x30.google.cloud.chronicle.v1.BigQueryExportPackageB\x03\xe0\x41\x03\x12W\n\x15\x65ntity_graph_settings\x18\x04 \x01(\x0b\x32\x33.google.cloud.chronicle.v1.DataSourceExportSettingsB\x03\xe0\x41\x01\x12V\n\x14ioc_matches_settings\x18\x05 \x01(\x0b\x32\x33.google.cloud.chronicle.v1.DataSourceExportSettingsB\x03\xe0\x41\x01\x12Z\n\x18rule_detections_settings\x18\x06 \x01(\x0b\x32\x33.google.cloud.chronicle.v1.DataSourceExportSettingsB\x03\xe0\x41\x01\x12`\n\x1eudm_events_aggregates_settings\x18\x07 \x01(\x0b\x32\x33.google.cloud.chronicle.v1.DataSourceExportSettingsB\x03\xe0\x41\x01\x12U\n\x13udm_events_settings\x18\x08 \x01(\x0b\x32\x33.google.cloud.chronicle.v1.DataSourceExportSettingsB\x03\xe0\x41\x01:\x9a\x01\xea\x41\x96\x01\n\'chronicle.googleapis.com/BigQueryExport\x12Kprojects/{project}/locations/{location}/instances/{instance}/bigQueryExport*\x0e\x62igQueryExport2\x0e\x62igQueryExport\"\xfc\x01\n\x18\x44\x61taSourceExportSettings\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x1b\n\x0eretention_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12U\n\x17latest_export_job_state\x18\x03 \x01(\x0e\x32/.google.cloud.chronicle.v1.LatestExportJobStateB\x03\xe0\x41\x03\x12<\n\x13\x64\x61ta_freshness_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x61ta_volume\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\"Y\n\x18GetBigQueryExportRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'chronicle.googleapis.com/BigQueryExport\"\x9d\x01\n\x1bUpdateBigQueryExportRequest\x12H\n\x10\x62ig_query_export\x18\x01 \x01(\x0b\x32).google.cloud.chronicle.v1.BigQueryExportB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"a\n\x1eProvisionBigQueryExportRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'chronicle.googleapis.com/BigQueryExport*\x8c\x01\n\x15\x42igQueryExportPackage\x12(\n$BIG_QUERY_EXPORT_PACKAGE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42IG_QUERY_EXPORT_PACKAGE_BYOBQ\x10\x01\x12%\n!BIG_QUERY_EXPORT_PACKAGE_ADVANCED\x10\x02*\x88\x01\n\x14LatestExportJobState\x12\'\n#LATEST_EXPORT_JOB_STATE_UNSPECIFIED\x10\x00\x12#\n\x1fLATEST_EXPORT_JOB_STATE_SUCCESS\x10\x01\x12\"\n\x1eLATEST_EXPORT_JOB_STATE_FAILED\x10\x02\x32\xec\x06\n\x15\x42igQueryExportService\x12\xc0\x01\n\x11GetBigQueryExport\x12\x33.google.cloud.chronicle.v1.GetBigQueryExportRequest\x1a).google.cloud.chronicle.v1.BigQueryExport\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/instances/*/bigQueryExport}\x12\x82\x02\n\x14UpdateBigQueryExport\x12\x36.google.cloud.chronicle.v1.UpdateBigQueryExportRequest\x1a).google.cloud.chronicle.v1.BigQueryExport\"\x86\x01\xda\x41\x1c\x62ig_query_export,update_mask\x82\xd3\xe4\x93\x02\x61\x32M/v1/{big_query_export.name=projects/*/locations/*/instances/*/bigQueryExport}:\x10\x62ig_query_export\x12\xdd\x01\n\x17ProvisionBigQueryExport\x12\x39.google.cloud.chronicle.v1.ProvisionBigQueryExportRequest\x1a).google.cloud.chronicle.v1.BigQueryExport\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\"H/v1/{parent=projects/*/locations/*/instances/*}/bigQueryExport:provision:\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\x42igQueryExportProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
16
+
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
+ BigQueryExport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.BigQueryExport").msgclass
25
+ DataSourceExportSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.DataSourceExportSettings").msgclass
26
+ GetBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.GetBigQueryExportRequest").msgclass
27
+ UpdateBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.UpdateBigQueryExportRequest").msgclass
28
+ ProvisionBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ProvisionBigQueryExportRequest").msgclass
29
+ BigQueryExportPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.BigQueryExportPackage").enummodule
30
+ LatestExportJobState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.LatestExportJobState").enummodule
31
+ end
32
+ end
33
+ end
34
+ end