google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -2
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/firebasealerts/v1/data.proto
3
4
 
@@ -6,14 +7,33 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/struct_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/firebase/firebasealerts/v1/data.proto", :syntax => :proto3) do
11
- add_message "google.events.firebase.firebasealerts.v1.AlertData" do
12
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
13
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
14
- optional :payload, :message, 3, "google.protobuf.Struct"
10
+
11
+ descriptor_data = "\n3google/events/firebase/firebasealerts/v1/data.proto\x12(google.events.firebase.firebasealerts.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n\tAlertData\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x07payload\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x8e\x01\xaa\x02\x31Google.Events.Protobuf.Firebase.FirebaseAlerts.V1\xca\x02(Google\\Events\\Firebase\\FirebaseAlerts\\V1\xea\x02,Google::Events::Firebase::FirebaseAlerts::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
33
  end
16
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
17
37
  end
18
38
 
19
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/firebasealerts/v1/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloudevent_pb'
7
8
  require 'google/events/firebase/firebasealerts/v1/data_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/firebase/firebasealerts/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.firebase.firebasealerts.v1.AlertPublishedEvent" do
12
- optional :data, :message, 1, "google.events.firebase.firebasealerts.v1.AlertData"
10
+
11
+ descriptor_data = "\n5google/events/firebase/firebasealerts/v1/events.proto\x12(google.events.firebase.firebasealerts.v1\x1a\x1egoogle/events/cloudevent.proto\x1a\x33google/events/firebase/firebasealerts/v1/data.proto\"\xa9\x01\n\x13\x41lertPublishedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.firebase.firebasealerts.v1.AlertData:O\xb2\xf8\xd8,2google.firebase.firebasealerts.alerts.v1.published\xca\xf8\xd8,\talerttype\xca\xf8\xd8,\x05\x61ppidB\x92\x03\xaa\x02\x31Google.Events.Protobuf.Firebase.FirebaseAlerts.V1\xca\x02(Google\\Events\\Firebase\\FirebaseAlerts\\V1\xea\x02,Google::Events::Firebase::FirebaseAlerts::V1\xba\xf8\xd8,\x0f\x46irebase Alerts\xc2\xf8\xd8,B\n\talerttype\x12*The type of the alerts that got triggered.\x1a\talertType\xc2\xf8\xd8,\xa3\x01\n\x05\x61ppid\x12\x92\x01The Firebase App ID that\xe2\x80\x99s associated with the alert. This is optional, and only present when the alert is targeting at a specific Firebase App.\x1a\x05\x61ppIdb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.firebase.firebasealerts.v1.AlertData", "google/events/firebase/firebasealerts/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
13
32
  end
14
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
15
36
  end
16
37
 
17
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/remoteconfig/v1/data.proto
3
4
 
@@ -5,35 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/firebase/remoteconfig/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.firebase.remoteconfig.v1.RemoteConfigEventData" do
11
- optional :version_number, :int64, 1
12
- optional :update_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :update_user, :message, 3, "google.events.firebase.remoteconfig.v1.RemoteConfigUser"
14
- optional :description, :string, 4
15
- optional :update_origin, :enum, 5, "google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin"
16
- optional :update_type, :enum, 6, "google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType"
17
- optional :rollback_source, :int64, 7
18
- end
19
- add_message "google.events.firebase.remoteconfig.v1.RemoteConfigUser" do
20
- optional :name, :string, 1
21
- optional :email, :string, 2
22
- optional :image_url, :string, 3
23
- end
24
- add_enum "google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin" do
25
- value :REMOTE_CONFIG_UPDATE_ORIGIN_UNSPECIFIED, 0
26
- value :CONSOLE, 1
27
- value :REST_API, 2
28
- value :ADMIN_SDK_NODE, 3
29
- end
30
- add_enum "google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType" do
31
- value :REMOTE_CONFIG_UPDATE_TYPE_UNSPECIFIED, 0
32
- value :INCREMENTAL_UPDATE, 1
33
- value :FORCED_UPDATE, 2
34
- value :ROLLBACK, 3
9
+
10
+ descriptor_data = "\n1google/events/firebase/remoteconfig/v1/data.proto\x12&google.events.firebase.remoteconfig.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x03\n\x15RemoteConfigEventData\x12\x16\n\x0eversion_number\x18\x01 \x01(\x03\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x0bupdate_user\x18\x03 \x01(\x0b\x32\x38.google.events.firebase.remoteconfig.v1.RemoteConfigUser\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12W\n\rupdate_origin\x18\x05 \x01(\x0e\x32@.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin\x12S\n\x0bupdate_type\x18\x06 \x01(\x0e\x32>.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType\x12\x17\n\x0frollback_source\x18\x07 \x01(\x03\"B\n\x10RemoteConfigUser\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x11\n\timage_url\x18\x03 \x01(\t*v\n\x18RemoteConfigUpdateOrigin\x12+\n\'REMOTE_CONFIG_UPDATE_ORIGIN_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43ONSOLE\x10\x01\x12\x0c\n\x08REST_API\x10\x02\x12\x12\n\x0e\x41\x44MIN_SDK_NODE\x10\x03*|\n\x16RemoteConfigUpdateType\x12)\n%REMOTE_CONFIG_UPDATE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12INCREMENTAL_UPDATE\x10\x01\x12\x11\n\rFORCED_UPDATE\x10\x02\x12\x0c\n\x08ROLLBACK\x10\x03\x42\xbf\x01\n*com.google.events.firebase.remoteconfig.v1B\tDataProto\xaa\x02/Google.Events.Protobuf.Firebase.RemoteConfig.V1\xca\x02&Google\\Events\\Firebase\\RemoteConfig\\V1\xea\x02*Google::Events::Firebase::RemoteConfig::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
31
  end
36
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
37
35
  end
38
36
 
39
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/remoteconfig/v1/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloudevent_pb'
7
8
  require 'google/events/firebase/remoteconfig/v1/data_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/firebase/remoteconfig/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.firebase.remoteconfig.v1.RemoteConfigUpdatedEvent" do
12
- optional :data, :message, 1, "google.events.firebase.remoteconfig.v1.RemoteConfigEventData"
10
+
11
+ descriptor_data = "\n3google/events/firebase/remoteconfig/v1/events.proto\x12&google.events.firebase.remoteconfig.v1\x1a\x1egoogle/events/cloudevent.proto\x1a\x31google/events/firebase/remoteconfig/v1/data.proto\"\xa2\x01\n\x18RemoteConfigUpdatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.firebase.remoteconfig.v1.RemoteConfigEventData:9\xb2\xf8\xd8,4google.firebase.remoteconfig.remoteConfig.v1.updatedB\xa3\x01\xaa\x02/Google.Events.Protobuf.Firebase.RemoteConfig.V1\xca\x02&Google\\Events\\Firebase\\RemoteConfig\\V1\xea\x02*Google::Events::Firebase::RemoteConfig::V1\xba\xf8\xd8,\x16\x46irebase Remote Configb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.firebase.remoteconfig.v1.RemoteConfigEventData", "google/events/firebase/remoteconfig/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
13
32
  end
14
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
15
36
  end
16
37
 
17
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/testlab/v1/data.proto
3
4
 
@@ -5,43 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/firebase/testlab/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.firebase.testlab.v1.TestMatrixEventData" do
11
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
12
- optional :state, :enum, 2, "google.events.firebase.testlab.v1.TestState"
13
- optional :invalid_matrix_details, :string, 3
14
- optional :outcome_summary, :enum, 4, "google.events.firebase.testlab.v1.OutcomeSummary"
15
- optional :result_storage, :message, 5, "google.events.firebase.testlab.v1.ResultStorage"
16
- optional :client_info, :message, 6, "google.events.firebase.testlab.v1.ClientInfo"
17
- optional :test_matrix_id, :string, 7
18
- end
19
- add_message "google.events.firebase.testlab.v1.ClientInfo" do
20
- optional :client, :string, 1
21
- map :details, :string, :string, 2
22
- end
23
- add_message "google.events.firebase.testlab.v1.ResultStorage" do
24
- optional :tool_results_history, :string, 1
25
- optional :tool_results_execution, :string, 2
26
- optional :results_uri, :string, 3
27
- optional :gcs_path, :string, 4
28
- end
29
- add_enum "google.events.firebase.testlab.v1.TestState" do
30
- value :TEST_STATE_UNSPECIFIED, 0
31
- value :VALIDATING, 1
32
- value :PENDING, 2
33
- value :FINISHED, 3
34
- value :ERROR, 4
35
- value :INVALID, 5
36
- end
37
- add_enum "google.events.firebase.testlab.v1.OutcomeSummary" do
38
- value :OUTCOME_SUMMARY_UNSPECIFIED, 0
39
- value :SUCCESS, 1
40
- value :FAILURE, 2
41
- value :INCONCLUSIVE, 3
42
- value :SKIPPED, 4
9
+
10
+ descriptor_data = "\n,google/events/firebase/testlab/v1/data.proto\x12!google.events.firebase.testlab.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x03\n\x13TestMatrixEventData\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x05state\x18\x02 \x01(\x0e\x32,.google.events.firebase.testlab.v1.TestState\x12\x1e\n\x16invalid_matrix_details\x18\x03 \x01(\t\x12J\n\x0foutcome_summary\x18\x04 \x01(\x0e\x32\x31.google.events.firebase.testlab.v1.OutcomeSummary\x12H\n\x0eresult_storage\x18\x05 \x01(\x0b\x32\x30.google.events.firebase.testlab.v1.ResultStorage\x12\x42\n\x0b\x63lient_info\x18\x06 \x01(\x0b\x32-.google.events.firebase.testlab.v1.ClientInfo\x12\x16\n\x0etest_matrix_id\x18\x07 \x01(\t\"\x99\x01\n\nClientInfo\x12\x0e\n\x06\x63lient\x18\x01 \x01(\t\x12K\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32:.google.events.firebase.testlab.v1.ClientInfo.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"t\n\rResultStorage\x12\x1c\n\x14tool_results_history\x18\x01 \x01(\t\x12\x1e\n\x16tool_results_execution\x18\x02 \x01(\t\x12\x13\n\x0bresults_uri\x18\x03 \x01(\t\x12\x10\n\x08gcs_path\x18\x04 \x01(\t*j\n\tTestState\x12\x1a\n\x16TEST_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nVALIDATING\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0c\n\x08\x46INISHED\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0b\n\x07INVALID\x10\x05*j\n\x0eOutcomeSummary\x12\x1f\n\x1bOUTCOME_SUMMARY_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\x12\x10\n\x0cINCONCLUSIVE\x10\x03\x12\x0b\n\x07SKIPPED\x10\x04\x42\xad\x01\n%com.google.events.firebase.testlab.v1B\tDataProtoP\x01\xaa\x02*Google.Events.Protobuf.Firebase.TestLab.V1\xca\x02!Google\\Events\\Firebase\\TestLab\\V1\xea\x02%Google::Events::Firebase::TestLab::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
43
31
  end
44
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
45
35
  end
46
36
 
47
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/firebase/testlab/v1/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloudevent_pb'
7
8
  require 'google/events/firebase/testlab/v1/data_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/firebase/testlab/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.firebase.testlab.v1.TestMatrixCompletedEvent" do
12
- optional :data, :message, 1, "google.events.firebase.testlab.v1.TestMatrixEventData"
10
+
11
+ descriptor_data = "\n.google/events/firebase/testlab/v1/events.proto\x12!google.events.firebase.testlab.v1\x1a\x1egoogle/events/cloudevent.proto\x1a,google/events/firebase/testlab/v1/data.proto\"\x96\x01\n\x18TestMatrixCompletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.testlab.v1.TestMatrixEventData:4\xb2\xf8\xd8,/google.firebase.testlab.testMatrix.v1.completedB\x8f\x01\xaa\x02*Google.Events.Protobuf.Firebase.TestLab.V1\xca\x02!Google\\Events\\Firebase\\TestLab\\V1\xea\x02%Google::Events::Firebase::TestLab::V1\xba\xf8\xd8,\x11\x46irebase Test Labb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.firebase.testlab.v1.TestMatrixEventData", "google/events/firebase/testlab/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
13
32
  end
14
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
15
36
  end
16
37
 
17
38
  module Google
@@ -20,6 +20,6 @@ module Google
20
20
  # Version of the Google events library
21
21
  # @return [String]
22
22
  #
23
- VERSION = "0.2.0"
23
+ VERSION = "0.4.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-22 00:00:00.000000000 Z
11
+ date: 2023-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -52,6 +52,8 @@ files:
52
52
  - SECURITY.md
53
53
  - lib/google-events.rb
54
54
  - lib/google/events.rb
55
+ - lib/google/events/cloud/alloydb/v1/data_pb.rb
56
+ - lib/google/events/cloud/alloydb/v1/events_pb.rb
55
57
  - lib/google/events/cloud/apigateway/v1/data_pb.rb
56
58
  - lib/google/events/cloud/apigateway/v1/events_pb.rb
57
59
  - lib/google/events/cloud/apigeeregistry/v1/data_pb.rb
@@ -80,6 +82,8 @@ files:
80
82
  - lib/google/events/cloud/datafusion/v1/events_pb.rb
81
83
  - lib/google/events/cloud/dataplex/v1/data_pb.rb
82
84
  - lib/google/events/cloud/dataplex/v1/events_pb.rb
85
+ - lib/google/events/cloud/datastore/v1/data_pb.rb
86
+ - lib/google/events/cloud/datastore/v1/events_pb.rb
83
87
  - lib/google/events/cloud/datastream/v1/data_pb.rb
84
88
  - lib/google/events/cloud/datastream/v1/events_pb.rb
85
89
  - lib/google/events/cloud/eventarc/v1/data_pb.rb
@@ -90,16 +94,34 @@ files:
90
94
  - lib/google/events/cloud/functions/v2/events_pb.rb
91
95
  - lib/google/events/cloud/gkebackup/v1/data_pb.rb
92
96
  - lib/google/events/cloud/gkebackup/v1/events_pb.rb
97
+ - lib/google/events/cloud/gkehub/v1/data_pb.rb
98
+ - lib/google/events/cloud/gkehub/v1/events_pb.rb
93
99
  - lib/google/events/cloud/iot/v1/data_pb.rb
94
100
  - lib/google/events/cloud/iot/v1/events_pb.rb
95
101
  - lib/google/events/cloud/memcache/v1/data_pb.rb
96
102
  - lib/google/events/cloud/memcache/v1/events_pb.rb
103
+ - lib/google/events/cloud/metastore/v1/data_pb.rb
104
+ - lib/google/events/cloud/metastore/v1/events_pb.rb
105
+ - lib/google/events/cloud/networkconnectivity/v1/data_pb.rb
106
+ - lib/google/events/cloud/networkconnectivity/v1/events_pb.rb
107
+ - lib/google/events/cloud/networkmanagement/v1/data_pb.rb
108
+ - lib/google/events/cloud/networkmanagement/v1/events_pb.rb
109
+ - lib/google/events/cloud/notebooks/v1/data_pb.rb
110
+ - lib/google/events/cloud/notebooks/v1/events_pb.rb
97
111
  - lib/google/events/cloud/pubsub/v1/data_pb.rb
98
112
  - lib/google/events/cloud/pubsub/v1/events_pb.rb
113
+ - lib/google/events/cloud/redis/v1/data_pb.rb
114
+ - lib/google/events/cloud/redis/v1/events_pb.rb
99
115
  - lib/google/events/cloud/scheduler/v1/data_pb.rb
100
116
  - lib/google/events/cloud/scheduler/v1/events_pb.rb
101
117
  - lib/google/events/cloud/storage/v1/data_pb.rb
102
118
  - lib/google/events/cloud/storage/v1/events_pb.rb
119
+ - lib/google/events/cloud/video/transcoder/v1/data_pb.rb
120
+ - lib/google/events/cloud/video/transcoder/v1/events_pb.rb
121
+ - lib/google/events/cloud/visionai/v1/data_pb.rb
122
+ - lib/google/events/cloud/visionai/v1/events_pb.rb
123
+ - lib/google/events/cloud/vmmigration/v1/data_pb.rb
124
+ - lib/google/events/cloud/vmmigration/v1/events_pb.rb
103
125
  - lib/google/events/cloud/workflows/v1/data_pb.rb
104
126
  - lib/google/events/cloud/workflows/v1/events_pb.rb
105
127
  - lib/google/events/cloudevent_pb.rb