google-events 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/google/events/cloud/alloydb/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/alloydb/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/audit/v1/data_pb.rb +1 -27
- data/lib/google/events/cloud/audit/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/batch/v1/data_pb.rb +68 -0
- data/lib/google/events/cloud/batch/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +1 -26
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +1 -24
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +1 -23
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/datastore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/datastore/v1/events_pb.rb +6 -24
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/deploy/v1/data_pb.rb +113 -0
- data/lib/google/events/cloud/deploy/v1/events_pb.rb +39 -0
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +6 -24
- data/lib/google/events/cloud/functions/v2/data_pb.rb +1 -23
- data/lib/google/events/cloud/functions/v2/events_pb.rb +1 -23
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +3 -25
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +3 -25
- data/lib/google/events/cloud/gkehub/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/gkehub/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/iot/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/iot/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/metastore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/metastore/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkservices/v1/data_pb.rb +85 -0
- data/lib/google/events/cloud/networkservices/v1/events_pb.rb +48 -0
- data/lib/google/events/cloud/notebooks/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/notebooks/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/redis/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/redis/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +17 -23
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +5 -24
- data/lib/google/events/cloud/speech/v1/data_pb.rb +32 -0
- data/lib/google/events/cloud/speech/v1/events_pb.rb +31 -0
- data/lib/google/events/cloud/storage/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/storage/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/visionai/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/visionai/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +1 -26
- data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +1 -23
- data/lib/google/events/cloudevent_pb.rb +1 -22
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +1 -22
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/auth/v1/data_pb.rb +1 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/database/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/database/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +1 -24
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +1 -24
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +1 -23
- data/lib/google/events/version.rb +1 -1
- metadata +11 -3
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
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}"
|
33
|
-
end
|
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."
|
37
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
38
15
|
|
39
16
|
module Google
|
40
17
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/firebasealerts/v1/data_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
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}"
|
32
|
-
end
|
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."
|
36
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
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}"
|
31
|
-
end
|
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."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Google
|
38
16
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/remoteconfig/v1/data_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
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}"
|
32
|
-
end
|
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."
|
36
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
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}"
|
31
|
-
end
|
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."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Google
|
38
16
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/testlab/v1/data_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
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}"
|
32
|
-
end
|
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."
|
36
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
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.
|
4
|
+
version: 0.6.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:
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: googleapis-common-protos-types
|
@@ -60,6 +60,8 @@ files:
|
|
60
60
|
- lib/google/events/cloud/apigeeregistry/v1/events_pb.rb
|
61
61
|
- lib/google/events/cloud/audit/v1/data_pb.rb
|
62
62
|
- lib/google/events/cloud/audit/v1/events_pb.rb
|
63
|
+
- lib/google/events/cloud/batch/v1/data_pb.rb
|
64
|
+
- lib/google/events/cloud/batch/v1/events_pb.rb
|
63
65
|
- lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb
|
64
66
|
- lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb
|
65
67
|
- lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb
|
@@ -86,6 +88,8 @@ files:
|
|
86
88
|
- lib/google/events/cloud/datastore/v1/events_pb.rb
|
87
89
|
- lib/google/events/cloud/datastream/v1/data_pb.rb
|
88
90
|
- lib/google/events/cloud/datastream/v1/events_pb.rb
|
91
|
+
- lib/google/events/cloud/deploy/v1/data_pb.rb
|
92
|
+
- lib/google/events/cloud/deploy/v1/events_pb.rb
|
89
93
|
- lib/google/events/cloud/eventarc/v1/data_pb.rb
|
90
94
|
- lib/google/events/cloud/eventarc/v1/events_pb.rb
|
91
95
|
- lib/google/events/cloud/firestore/v1/data_pb.rb
|
@@ -106,6 +110,8 @@ files:
|
|
106
110
|
- lib/google/events/cloud/networkconnectivity/v1/events_pb.rb
|
107
111
|
- lib/google/events/cloud/networkmanagement/v1/data_pb.rb
|
108
112
|
- lib/google/events/cloud/networkmanagement/v1/events_pb.rb
|
113
|
+
- lib/google/events/cloud/networkservices/v1/data_pb.rb
|
114
|
+
- lib/google/events/cloud/networkservices/v1/events_pb.rb
|
109
115
|
- lib/google/events/cloud/notebooks/v1/data_pb.rb
|
110
116
|
- lib/google/events/cloud/notebooks/v1/events_pb.rb
|
111
117
|
- lib/google/events/cloud/pubsub/v1/data_pb.rb
|
@@ -114,6 +120,8 @@ files:
|
|
114
120
|
- lib/google/events/cloud/redis/v1/events_pb.rb
|
115
121
|
- lib/google/events/cloud/scheduler/v1/data_pb.rb
|
116
122
|
- lib/google/events/cloud/scheduler/v1/events_pb.rb
|
123
|
+
- lib/google/events/cloud/speech/v1/data_pb.rb
|
124
|
+
- lib/google/events/cloud/speech/v1/events_pb.rb
|
117
125
|
- lib/google/events/cloud/storage/v1/data_pb.rb
|
118
126
|
- lib/google/events/cloud/storage/v1/events_pb.rb
|
119
127
|
- lib/google/events/cloud/video/transcoder/v1/data_pb.rb
|
@@ -161,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
169
|
- !ruby/object:Gem::Version
|
162
170
|
version: '0'
|
163
171
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
172
|
+
rubygems_version: 3.5.6
|
165
173
|
signing_key:
|
166
174
|
specification_version: 4
|
167
175
|
summary: Google CloudEvents types for Ruby
|