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.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +1 -25
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +1 -23
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +1 -23
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +1 -23
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +1 -23
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +1 -23
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +1 -27
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +1 -23
  11. data/lib/google/events/cloud/batch/v1/data_pb.rb +68 -0
  12. data/lib/google/events/cloud/batch/v1/events_pb.rb +27 -0
  13. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +1 -23
  14. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +1 -23
  15. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +1 -23
  16. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +1 -23
  17. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +1 -23
  18. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +1 -23
  19. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +1 -23
  20. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +1 -23
  21. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +1 -23
  22. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +1 -23
  23. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +1 -24
  24. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +1 -23
  25. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +1 -24
  26. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +1 -23
  27. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +1 -26
  28. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +1 -23
  29. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +1 -24
  30. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +1 -23
  31. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +1 -23
  32. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +1 -23
  33. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +1 -24
  34. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +1 -23
  35. data/lib/google/events/cloud/datastore/v1/data_pb.rb +1 -24
  36. data/lib/google/events/cloud/datastore/v1/events_pb.rb +6 -24
  37. data/lib/google/events/cloud/datastream/v1/data_pb.rb +1 -24
  38. data/lib/google/events/cloud/datastream/v1/events_pb.rb +1 -23
  39. data/lib/google/events/cloud/deploy/v1/data_pb.rb +113 -0
  40. data/lib/google/events/cloud/deploy/v1/events_pb.rb +39 -0
  41. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +1 -23
  42. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +1 -23
  43. data/lib/google/events/cloud/firestore/v1/data_pb.rb +1 -24
  44. data/lib/google/events/cloud/firestore/v1/events_pb.rb +6 -24
  45. data/lib/google/events/cloud/functions/v2/data_pb.rb +1 -23
  46. data/lib/google/events/cloud/functions/v2/events_pb.rb +1 -23
  47. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +3 -25
  48. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +3 -25
  49. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +1 -23
  50. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +1 -23
  51. data/lib/google/events/cloud/iot/v1/data_pb.rb +1 -24
  52. data/lib/google/events/cloud/iot/v1/events_pb.rb +1 -23
  53. data/lib/google/events/cloud/memcache/v1/data_pb.rb +1 -25
  54. data/lib/google/events/cloud/memcache/v1/events_pb.rb +1 -23
  55. data/lib/google/events/cloud/metastore/v1/data_pb.rb +1 -24
  56. data/lib/google/events/cloud/metastore/v1/events_pb.rb +1 -23
  57. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +1 -24
  58. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +1 -23
  59. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +1 -24
  60. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +1 -23
  61. data/lib/google/events/cloud/networkservices/v1/data_pb.rb +85 -0
  62. data/lib/google/events/cloud/networkservices/v1/events_pb.rb +48 -0
  63. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +1 -23
  64. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +1 -23
  65. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +1 -23
  66. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +1 -23
  67. data/lib/google/events/cloud/redis/v1/data_pb.rb +1 -25
  68. data/lib/google/events/cloud/redis/v1/events_pb.rb +1 -23
  69. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +17 -23
  70. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +5 -24
  71. data/lib/google/events/cloud/speech/v1/data_pb.rb +32 -0
  72. data/lib/google/events/cloud/speech/v1/events_pb.rb +31 -0
  73. data/lib/google/events/cloud/storage/v1/data_pb.rb +1 -23
  74. data/lib/google/events/cloud/storage/v1/events_pb.rb +1 -23
  75. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +1 -25
  76. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +1 -23
  77. data/lib/google/events/cloud/visionai/v1/data_pb.rb +1 -24
  78. data/lib/google/events/cloud/visionai/v1/events_pb.rb +1 -23
  79. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +1 -26
  80. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +1 -23
  81. data/lib/google/events/cloud/workflows/v1/data_pb.rb +1 -23
  82. data/lib/google/events/cloud/workflows/v1/events_pb.rb +1 -23
  83. data/lib/google/events/cloudevent_pb.rb +1 -22
  84. data/lib/google/events/firebase/analytics/v1/data_pb.rb +1 -22
  85. data/lib/google/events/firebase/analytics/v1/events_pb.rb +1 -23
  86. data/lib/google/events/firebase/auth/v1/data_pb.rb +1 -24
  87. data/lib/google/events/firebase/auth/v1/events_pb.rb +1 -23
  88. data/lib/google/events/firebase/database/v1/data_pb.rb +1 -23
  89. data/lib/google/events/firebase/database/v1/events_pb.rb +1 -23
  90. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +1 -24
  91. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +1 -24
  92. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +1 -23
  93. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +1 -23
  94. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +1 -23
  95. data/lib/google/events/firebase/testlab/v1/data_pb.rb +1 -23
  96. data/lib/google/events/firebase/testlab/v1/events_pb.rb +1 -23
  97. data/lib/google/events/version.rb +1 -1
  98. metadata +11 -3
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/deploy/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/deploy/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n*google/events/cloud/deploy/v1/events.proto\x12\x1dgoogle.events.cloud.deploy.v1\x1a(google/events/cloud/deploy/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb1\x01\n\x1c\x44\x65liveryPipelineCreatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.DeliveryPipelineEventData:I\xb2\xf8\xd8,/google.cloud.deploy.deliveryPipeline.v1.created\xca\xf8\xd8,\x10\x64\x65liverypipeline\"\xb1\x01\n\x1c\x44\x65liveryPipelineUpdatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.DeliveryPipelineEventData:I\xb2\xf8\xd8,/google.cloud.deploy.deliveryPipeline.v1.updated\xca\xf8\xd8,\x10\x64\x65liverypipeline\"\xb1\x01\n\x1c\x44\x65liveryPipelineDeletedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.DeliveryPipelineEventData:I\xb2\xf8\xd8,/google.cloud.deploy.deliveryPipeline.v1.deleted\xca\xf8\xd8,\x10\x64\x65liverypipeline\"\x89\x01\n\x12TargetCreatedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.deploy.v1.TargetEventData:5\xb2\xf8\xd8,%google.cloud.deploy.target.v1.created\xca\xf8\xd8,\x06target\"\x89\x01\n\x12TargetUpdatedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.deploy.v1.TargetEventData:5\xb2\xf8\xd8,%google.cloud.deploy.target.v1.updated\xca\xf8\xd8,\x06target\"\x89\x01\n\x12TargetDeletedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.deploy.v1.TargetEventData:5\xb2\xf8\xd8,%google.cloud.deploy.target.v1.deleted\xca\xf8\xd8,\x06target\"\xb1\x01\n\x1c\x43ustomTargetTypeCreatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.CustomTargetTypeEventData:I\xb2\xf8\xd8,/google.cloud.deploy.customTargetType.v1.created\xca\xf8\xd8,\x10\x63ustomtargettype\"\xb1\x01\n\x1c\x43ustomTargetTypeUpdatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.CustomTargetTypeEventData:I\xb2\xf8\xd8,/google.cloud.deploy.customTargetType.v1.updated\xca\xf8\xd8,\x10\x63ustomtargettype\"\xb1\x01\n\x1c\x43ustomTargetTypeDeletedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.deploy.v1.CustomTargetTypeEventData:I\xb2\xf8\xd8,/google.cloud.deploy.customTargetType.v1.deleted\xca\xf8\xd8,\x10\x63ustomtargettype\"\xa2\x01\n\x13ReleaseCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.deploy.v1.ReleaseEventData:L\xb2\xf8\xd8,&google.cloud.deploy.release.v1.created\xca\xf8\xd8,\x10\x64\x65liverypipeline\xca\xf8\xd8,\x07release\"\xae\x01\n\x13RolloutCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.deploy.v1.RolloutEventData:X\xb2\xf8\xd8,&google.cloud.deploy.rollout.v1.created\xca\xf8\xd8,\x10\x64\x65liverypipeline\xca\xf8\xd8,\x07release\xca\xf8\xd8,\x07rollout\"\xae\x01\n\x16\x41utomationCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.deploy.v1.AutomationEventData:R\xb2\xf8\xd8,)google.cloud.deploy.automation.v1.created\xca\xf8\xd8,\nautomation\xca\xf8\xd8,\x10\x64\x65liverypipeline\"\xae\x01\n\x16\x41utomationUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.deploy.v1.AutomationEventData:R\xb2\xf8\xd8,)google.cloud.deploy.automation.v1.updated\xca\xf8\xd8,\nautomation\xca\xf8\xd8,\x10\x64\x65liverypipeline\"\xae\x01\n\x16\x41utomationDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.deploy.v1.AutomationEventData:R\xb2\xf8\xd8,)google.cloud.deploy.automation.v1.deleted\xca\xf8\xd8,\nautomation\xca\xf8\xd8,\x10\x64\x65liverypipelineB\xe3\x04\xaa\x02&Google.Events.Protobuf.Cloud.Deploy.V1\xca\x02\x1dGoogle\\Events\\Cloud\\Deploy\\V1\xea\x02\" Google::Events::Cloud::Deploy::V1\xba\xf8\xd8,\x0c\x43loud Deploy\xc2\xf8\xd8,E\n\nautomation\x12\x37The resource ID of the Automation triggering the event.\xc2\xf8\xd8,c\n\x10\x63ustomtargettype\x12=The resource ID of the CustomTargetType triggering the event.\x1a\x10\x63ustomTargetType\xc2\xf8\xd8,c\n\x10\x64\x65liverypipeline\x12=The resource ID of the DeliveryPipeline triggering the event.\x1a\x10\x64\x65liveryPipeline\xc2\xf8\xd8,?\n\x07release\x12\x34The resource ID of the Release triggering the event.\xc2\xf8\xd8,?\n\x07rollout\x12\x34The resource ID of the Rollout triggering the event.\xc2\xf8\xd8,=\n\x06target\x12\x33The resource ID of the Target triggering the event.b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Google
17
+ module Events
18
+ module Cloud
19
+ module Deploy
20
+ module V1
21
+ DeliveryPipelineCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.DeliveryPipelineCreatedEvent").msgclass
22
+ DeliveryPipelineUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.DeliveryPipelineUpdatedEvent").msgclass
23
+ DeliveryPipelineDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.DeliveryPipelineDeletedEvent").msgclass
24
+ TargetCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.TargetCreatedEvent").msgclass
25
+ TargetUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.TargetUpdatedEvent").msgclass
26
+ TargetDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.TargetDeletedEvent").msgclass
27
+ CustomTargetTypeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.CustomTargetTypeCreatedEvent").msgclass
28
+ CustomTargetTypeUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.CustomTargetTypeUpdatedEvent").msgclass
29
+ CustomTargetTypeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.CustomTargetTypeDeletedEvent").msgclass
30
+ ReleaseCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.ReleaseCreatedEvent").msgclass
31
+ RolloutCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.RolloutCreatedEvent").msgclass
32
+ AutomationCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.AutomationCreatedEvent").msgclass
33
+ AutomationUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.AutomationUpdatedEvent").msgclass
34
+ AutomationDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.deploy.v1.AutomationDeletedEvent").msgclass
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -11,29 +11,7 @@ require 'google/rpc/code_pb'
11
11
  descriptor_data = "\n*google/events/cloud/eventarc/v1/data.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xf6\x02\n\x07\x43hannel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x16\n\x0cpubsub_topic\x18\x08 \x01(\tH\x00\x12=\n\x05state\x18\t \x01(\x0e\x32..google.events.cloud.eventarc.v1.Channel.State\x12\x18\n\x10\x61\x63tivation_token\x18\n \x01(\t\x12\x17\n\x0f\x63rypto_key_name\x18\x0b \x01(\t\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x42\x0b\n\ttransport\"\xa1\x01\n\x11\x43hannelConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x05\n\x07Trigger\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\revent_filters\x18\x08 \x03(\x0b\x32,.google.events.cloud.eventarc.v1.EventFilter\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x41\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32,.google.events.cloud.eventarc.v1.Destination\x12=\n\ttransport\x18\x0b \x01(\x0b\x32*.google.events.cloud.eventarc.v1.Transport\x12\x44\n\x06labels\x18\x0c \x03(\x0b\x32\x34.google.events.cloud.eventarc.v1.Trigger.LabelsEntry\x12\x0f\n\x07\x63hannel\x18\r \x01(\t\x12L\n\nconditions\x18\x0f \x03(\x0b\x32\x38.google.events.cloud.eventarc.v1.Trigger.ConditionsEntry\x12\x1f\n\x17\x65vent_data_content_type\x18\x10 \x01(\t\x12\x0c\n\x04\x65tag\x18\x63 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x62\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.events.cloud.eventarc.v1.StateCondition:\x02\x38\x01\"A\n\x0b\x45ventFilter\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x10\n\x08operator\x18\x03 \x01(\t\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\xbe\x01\n\x0b\x44\x65stination\x12>\n\tcloud_run\x18\x01 \x01(\x0b\x32).google.events.cloud.eventarc.v1.CloudRunH\x00\x12\x18\n\x0e\x63loud_function\x18\x02 \x01(\tH\x00\x12\x33\n\x03gke\x18\x03 \x01(\x0b\x32$.google.events.cloud.eventarc.v1.GKEH\x00\x12\x12\n\x08workflow\x18\x04 \x01(\tH\x00\x42\x0c\n\ndescriptor\"V\n\tTransport\x12\x39\n\x06pubsub\x18\x01 \x01(\x0b\x32\'.google.events.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"9\n\x08\x43loudRun\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\"Z\n\x03GKE\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x05 \x01(\t\"-\n\x06Pubsub\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"M\n\x10TriggerEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Trigger\"M\n\x10\x43hannelEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Channel\"a\n\x1a\x43hannelConnectionEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.eventarc.v1.ChannelConnectionBs\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::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
- ]
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
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
11
11
  descriptor_data = "\n,google/events/cloud/eventarc/v1/events.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a*google/events/cloud/eventarc/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x13TriggerCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.created\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.updated\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.deleted\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13\x43hannelCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.created\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.updated\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.deleted\xca\xf8\xd8,\x07\x63hannel\"\xb9\x01\n\x1d\x43hannelConnectionCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.created\xca\xf8\xd8,\x11\x63hannelconnection\"\xb9\x01\n\x1d\x43hannelConnectionDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.deleted\xca\xf8\xd8,\x11\x63hannelconnectionB\xf3\x02\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::V1\xba\xf8\xd8,\x08\x45ventarc\xc2\xf8\xd8,?\n\x07trigger\x12\x34The resource ID of the Trigger triggering the event.\xc2\xf8\xd8,?\n\x07\x63hannel\x12\x34The resource ID of the Channel triggering the event.\xc2\xf8\xd8,f\n\x11\x63hannelconnection\x12>The resource ID of the ChannelConnection triggering the event.\x1a\x11\x63hannelConnectionb\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.cloud.eventarc.v1.TriggerEventData", "google/events/cloud/eventarc/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
@@ -12,30 +12,7 @@ require 'google/type/latlng_pb'
12
12
  descriptor_data = "\n+google/events/cloud/firestore/v1/data.proto\x12 google.events.cloud.firestore.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\xd2\x01\n\x11\x44ocumentEventData\x12\x39\n\x05value\x18\x01 \x01(\x0b\x32*.google.events.cloud.firestore.v1.Document\x12=\n\told_value\x18\x02 \x01(\x0b\x32*.google.events.cloud.firestore.v1.Document\x12\x43\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32..google.events.cloud.firestore.v1.DocumentMask\"#\n\x0c\x44ocumentMask\x12\x13\n\x0b\x66ield_paths\x18\x01 \x03(\t\"\x9a\x02\n\x08\x44ocument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x46\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x36.google.events.cloud.firestore.v1.Document.FieldsEntry\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.events.cloud.firestore.v1.Value:\x02\x38\x01\"\xc8\x03\n\x05Value\x12\x30\n\nnull_value\x18\x0b \x01(\x0e\x32\x1a.google.protobuf.NullValueH\x00\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x17\n\rinteger_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x35\n\x0ftimestamp_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x16\n\x0cstring_value\x18\x11 \x01(\tH\x00\x12\x15\n\x0b\x62ytes_value\x18\x12 \x01(\x0cH\x00\x12\x19\n\x0freference_value\x18\x05 \x01(\tH\x00\x12.\n\x0fgeo_point_value\x18\x08 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x12\x43\n\x0b\x61rray_value\x18\t \x01(\x0b\x32,.google.events.cloud.firestore.v1.ArrayValueH\x00\x12?\n\tmap_value\x18\x06 \x01(\x0b\x32*.google.events.cloud.firestore.v1.MapValueH\x00\x42\x0c\n\nvalue_type\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.google.events.cloud.firestore.v1.Value\"\xaa\x01\n\x08MapValue\x12\x46\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x36.google.events.cloud.firestore.v1.MapValue.FieldsEntry\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.events.cloud.firestore.v1.Value:\x02\x38\x01\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Firestore.V1\xca\x02 Google\\Events\\Cloud\\Firestore\\V1\xea\x02$Google::Events::Cloud::Firestore::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
- ["google.type.LatLng", "google/type/latlng.proto"],
29
- ]
30
- imports.each do |type_name, expected_filename|
31
- import_file = pool.lookup(type_name).file_descriptor
32
- if import_file.name != expected_filename
33
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
- end
35
- end
36
- warn "Each proto file must use a consistent fully-qualified name."
37
- warn "This will become an error in the next major version."
38
- end
15
+ pool.add_serialized_file(descriptor_data)
39
16
 
40
17
  module Google
41
18
  module Events
@@ -8,32 +8,10 @@ require 'google/events/cloud/firestore/v1/data_pb'
8
8
  require 'google/events/cloudevent_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n-google/events/cloud/firestore/v1/events.proto\x12 google.events.cloud.firestore.v1\x1a+google/events/cloud/firestore/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb2\x01\n\x14\x44ocumentCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.created\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.updated\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.deleted\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentWrittenEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.written\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocumentB\xb0\x03\xaa\x02)Google.Events.Protobuf.Cloud.Firestore.V1\xca\x02 Google\\Events\\Cloud\\Firestore\\V1\xea\x02$Google::Events::Cloud::Firestore::V1\xba\xf8\xd8,\x0f\x43loud Firestore\xc2\xf8\xd8,R\n\x08\x64\x61tabase\x12\x46The Firestore database name. The default database name is \"(default)\".\xc2\xf8\xd8,\x96\x01\n\tnamespace\x12\x88\x01The Firestore database namespace. Applicable to database instances running in Datastore mode only. The default namespace is \"(default)\".\xc2\xf8\xd8,.\n\x08\x64ocument\x12\"Pattern to match for the resource.b\x06proto3"
11
+ descriptor_data = "\n-google/events/cloud/firestore/v1/events.proto\x12 google.events.cloud.firestore.v1\x1a+google/events/cloud/firestore/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb2\x01\n\x14\x44ocumentCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.created\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.updated\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.deleted\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xb2\x01\n\x14\x44ocumentWrittenEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:W\xb2\xf8\xd8,*google.cloud.firestore.document.v1.written\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\"\xe9\x01\n#DocumentCreatedEventWithAuthContext\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:\x7f\xb2\xf8\xd8,:google.cloud.firestore.document.v1.created.withAuthContext\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\xca\xf8\xd8,\x08\x61uthtype\xca\xf8\xd8,\x06\x61uthid\"\xe9\x01\n#DocumentUpdatedEventWithAuthContext\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:\x7f\xb2\xf8\xd8,:google.cloud.firestore.document.v1.updated.withAuthContext\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\xca\xf8\xd8,\x08\x61uthtype\xca\xf8\xd8,\x06\x61uthid\"\xe9\x01\n#DocumentDeletedEventWithAuthContext\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:\x7f\xb2\xf8\xd8,:google.cloud.firestore.document.v1.deleted.withAuthContext\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\xca\xf8\xd8,\x08\x61uthtype\xca\xf8\xd8,\x06\x61uthid\"\xe9\x01\n#DocumentWrittenEventWithAuthContext\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.firestore.v1.DocumentEventData:\x7f\xb2\xf8\xd8,:google.cloud.firestore.document.v1.written.withAuthContext\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x08\x64ocument\xca\xf8\xd8,\x08\x61uthtype\xca\xf8\xd8,\x06\x61uthidB\xb0\x03\xaa\x02)Google.Events.Protobuf.Cloud.Firestore.V1\xca\x02 Google\\Events\\Cloud\\Firestore\\V1\xea\x02$Google::Events::Cloud::Firestore::V1\xba\xf8\xd8,\x0f\x43loud Firestore\xc2\xf8\xd8,R\n\x08\x64\x61tabase\x12\x46The Firestore database name. The default database name is \"(default)\".\xc2\xf8\xd8,\x96\x01\n\tnamespace\x12\x88\x01The Firestore database namespace. Applicable to database instances running in Datastore mode only. The default namespace is \"(default)\".\xc2\xf8\xd8,.\n\x08\x64ocument\x12\"Pattern to match for the resource.b\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.cloud.firestore.v1.DocumentEventData", "google/events/cloud/firestore/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
@@ -44,6 +22,10 @@ module Google
44
22
  DocumentUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentUpdatedEvent").msgclass
45
23
  DocumentDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentDeletedEvent").msgclass
46
24
  DocumentWrittenEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentWrittenEvent").msgclass
25
+ DocumentCreatedEventWithAuthContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentCreatedEventWithAuthContext").msgclass
26
+ DocumentUpdatedEventWithAuthContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentUpdatedEventWithAuthContext").msgclass
27
+ DocumentDeletedEventWithAuthContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentDeletedEventWithAuthContext").msgclass
28
+ DocumentWrittenEventWithAuthContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.firestore.v1.DocumentWrittenEventWithAuthContext").msgclass
47
29
  end
48
30
  end
49
31
  end
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
10
  descriptor_data = "\n+google/events/cloud/functions/v2/data.proto\x12 google.events.cloud.functions.v2\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x05\n\x08\x46unction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x0b\x65nvironment\x18\n \x01(\x0e\x32-.google.events.cloud.functions.v2.Environment\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x43\n\x0c\x62uild_config\x18\x03 \x01(\x0b\x32-.google.events.cloud.functions.v2.BuildConfig\x12G\n\x0eservice_config\x18\x04 \x01(\x0b\x32/.google.events.cloud.functions.v2.ServiceConfig\x12\x45\n\revent_trigger\x18\x05 \x01(\x0b\x32..google.events.cloud.functions.v2.EventTrigger\x12?\n\x05state\x18\x06 \x01(\x0e\x32\x30.google.events.cloud.functions.v2.Function.State\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x36.google.events.cloud.functions.v2.Function.LabelsEntry\x12\x46\n\x0estate_messages\x18\t \x03(\x0b\x32..google.events.cloud.functions.v2.StateMessage\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tDEPLOYING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x05\"\xc0\x01\n\x0cStateMessage\x12I\n\x08severity\x18\x01 \x01(\x0e\x32\x37.google.events.cloud.functions.v2.StateMessage.Severity\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\"F\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\x08\n\x04INFO\x10\x03\"C\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xa3\x01\n\nRepoSource\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x0b\n\x03\x64ir\x18\x06 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x07 \x01(\x08\x42\n\n\x08revision\"\xa2\x01\n\x06Source\x12I\n\x0estorage_source\x18\x01 \x01(\x0b\x32/.google.events.cloud.functions.v2.StorageSourceH\x00\x12\x43\n\x0brepo_source\x18\x02 \x01(\x0b\x32,.google.events.cloud.functions.v2.RepoSourceH\x00\x42\x08\n\x06source\"\xb0\x01\n\x10SourceProvenance\x12P\n\x17resolved_storage_source\x18\x01 \x01(\x0b\x32/.google.events.cloud.functions.v2.StorageSource\x12J\n\x14resolved_repo_source\x18\x02 \x01(\x0b\x32,.google.events.cloud.functions.v2.RepoSource\"\xf2\x04\n\x0b\x42uildConfig\x12\r\n\x05\x62uild\x18\x01 \x01(\t\x12\x0f\n\x07runtime\x18\x02 \x01(\t\x12\x13\n\x0b\x65ntry_point\x18\x03 \x01(\t\x12\x38\n\x06source\x18\x04 \x01(\x0b\x32(.google.events.cloud.functions.v2.Source\x12M\n\x11source_provenance\x18\x08 \x01(\x0b\x32\x32.google.events.cloud.functions.v2.SourceProvenance\x12\x13\n\x0bworker_pool\x18\x05 \x01(\t\x12\x66\n\x15\x65nvironment_variables\x18\x06 \x03(\x0b\x32G.google.events.cloud.functions.v2.BuildConfig.EnvironmentVariablesEntry\x12U\n\x0f\x64ocker_registry\x18\n \x01(\x0e\x32<.google.events.cloud.functions.v2.BuildConfig.DockerRegistry\x12\x19\n\x11\x64ocker_repository\x18\x07 \x01(\t\x12\x17\n\x0f\x62uildpack_stack\x18\t \x01(\t\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x0e\x44ockerRegistry\x12\x1f\n\x1b\x44OCKER_REGISTRY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONTAINER_REGISTRY\x10\x01\x12\x15\n\x11\x41RTIFACT_REGISTRY\x10\x02\"\xfd\t\n\rServiceConfig\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x12\x18\n\x10\x61vailable_memory\x18\r \x01(\t\x12\x15\n\ravailable_cpu\x18\x16 \x01(\t\x12h\n\x15\x65nvironment_variables\x18\x04 \x03(\x0b\x32I.google.events.cloud.functions.v2.ServiceConfig.EnvironmentVariablesEntry\x12\x1a\n\x12max_instance_count\x18\x05 \x01(\x05\x12\x1a\n\x12min_instance_count\x18\x0c \x01(\x05\x12\x15\n\rvpc_connector\x18\x06 \x01(\t\x12q\n\x1dvpc_connector_egress_settings\x18\x07 \x01(\x0e\x32J.google.events.cloud.functions.v2.ServiceConfig.VpcConnectorEgressSettings\x12Y\n\x10ingress_settings\x18\x08 \x01(\x0e\x32?.google.events.cloud.functions.v2.ServiceConfig.IngressSettings\x12\x0b\n\x03uri\x18\t \x01(\t\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12&\n\x1e\x61ll_traffic_on_latest_revision\x18\x10 \x01(\x08\x12T\n\x1csecret_environment_variables\x18\x11 \x03(\x0b\x32..google.events.cloud.functions.v2.SecretEnvVar\x12\x46\n\x0esecret_volumes\x18\x13 \x03(\x0b\x32..google.events.cloud.functions.v2.SecretVolume\x12\x10\n\x08revision\x18\x12 \x01(\t\x12(\n max_instance_request_concurrency\x18\x14 \x01(\x05\x12U\n\x0esecurity_level\x18\x15 \x01(\x0e\x32=.google.events.cloud.functions.v2.ServiceConfig.SecurityLevel\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1aVpcConnectorEgressSettings\x12-\n)VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x01\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x02\"x\n\x0fIngressSettings\x12 \n\x1cINGRESS_SETTINGS_UNSPECIFIED\x10\x00\x12\r\n\tALLOW_ALL\x10\x01\x12\x17\n\x13\x41LLOW_INTERNAL_ONLY\x10\x02\x12\x1b\n\x17\x41LLOW_INTERNAL_AND_GCLB\x10\x03\"W\n\rSecurityLevel\x12\x1e\n\x1aSECURITY_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rSECURE_ALWAYS\x10\x01\x12\x13\n\x0fSECURE_OPTIONAL\x10\x02\"P\n\x0cSecretEnvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\"\xc6\x01\n\x0cSecretVolume\x12\x12\n\nmount_path\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0e\n\x06secret\x18\x03 \x01(\t\x12N\n\x08versions\x18\x04 \x03(\x0b\x32<.google.events.cloud.functions.v2.SecretVolume.SecretVersion\x1a.\n\rSecretVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x8d\x03\n\x0c\x45ventTrigger\x12\x0f\n\x07trigger\x18\x01 \x01(\t\x12\x16\n\x0etrigger_region\x18\x02 \x01(\t\x12\x12\n\nevent_type\x18\x03 \x01(\t\x12\x44\n\revent_filters\x18\x04 \x03(\x0b\x32-.google.events.cloud.functions.v2.EventFilter\x12\x14\n\x0cpubsub_topic\x18\x05 \x01(\t\x12\x1d\n\x15service_account_email\x18\x06 \x01(\t\x12P\n\x0cretry_policy\x18\x07 \x01(\x0e\x32:.google.events.cloud.functions.v2.EventTrigger.RetryPolicy\x12\x0f\n\x07\x63hannel\x18\x08 \x01(\t\"b\n\x0bRetryPolicy\x12\x1c\n\x18RETRY_POLICY_UNSPECIFIED\x10\x00\x12\x1d\n\x19RETRY_POLICY_DO_NOT_RETRY\x10\x01\x12\x16\n\x12RETRY_POLICY_RETRY\x10\x02\"A\n\x0b\x45ventFilter\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x10\n\x08operator\x18\x03 \x01(\t\"a\n\x11\x46unctionEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.functions.v2.FunctionH\x00\x88\x01\x01\x42\n\n\x08_payload*@\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\t\n\x05GEN_1\x10\x01\x12\t\n\x05GEN_2\x10\x02\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Functions.V2\xca\x02 Google\\Events\\Cloud\\Functions\\V2\xea\x02$Google::Events::Cloud::Functions::V2b\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/cloudevent_pb'
11
11
  descriptor_data = "\n-google/events/cloud/functions/v2/events.proto\x12 google.events.cloud.functions.v2\x1a+google/events/cloud/functions/v2/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x14\x46unctionCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.created\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.updated\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.deleted\xca\xf8\xd8,\x08\x66unctionB\xd0\x01\xaa\x02)Google.Events.Protobuf.Cloud.Functions.V2\xca\x02 Google\\Events\\Cloud\\Functions\\V2\xea\x02$Google::Events::Cloud::Functions::V2\xba\xf8\xd8,\x0f\x43loud Functions\xc2\xf8\xd8,A\n\x08\x66unction\x12\x35The resource ID of the Function triggering the event.b\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.cloud.functions.v2.FunctionEventData", "google/events/cloud/functions/v2/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
@@ -7,37 +7,15 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/timestamp_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n+google/events/cloud/gkebackup/v1/data.proto\x12 google.events.cloud.gkebackup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\" \n\nNamespaces\x12\x12\n\nnamespaces\x18\x01 \x03(\t\"1\n\x0eNamespacedName\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"]\n\x0fNamespacedNames\x12J\n\x10namespaced_names\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.gkebackup.v1.NamespacedName\"/\n\rEncryptionKey\x12\x1e\n\x16gcp_kms_encryption_key\x18\x01 \x01(\t\"\xff\x0b\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06manual\x18\x05 \x01(\x08\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.events.cloud.gkebackup.v1.Backup.LabelsEntry\x12\x18\n\x10\x64\x65lete_lock_days\x18\x07 \x01(\x05\x12;\n\x17\x64\x65lete_lock_expire_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bretain_days\x18\t \x01(\x05\x12\x36\n\x12retain_expire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKey\x12\x18\n\x0e\x61ll_namespaces\x18\x0c \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\r \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x0e \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1c\n\x14\x63ontains_volume_data\x18\x0f \x01(\x08\x12\x18\n\x10\x63ontains_secrets\x18\x10 \x01(\x08\x12R\n\x10\x63luster_metadata\x18\x11 \x01(\x0b\x32\x38.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata\x12=\n\x05state\x18\x12 \x01(\x0e\x32..google.events.cloud.gkebackup.v1.Backup.State\x12\x14\n\x0cstate_reason\x18\x13 \x01(\t\x12\x31\n\rcomplete_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eresource_count\x18\x15 \x01(\x05\x12\x14\n\x0cvolume_count\x18\x16 \x01(\x05\x12\x12\n\nsize_bytes\x18\x17 \x01(\x03\x12\x0c\n\x04\x65tag\x18\x18 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x19 \x01(\t\x12\x11\n\tpod_count\x18\x1a \x01(\x05\x12 \n\x18\x63onfig_backup_size_bytes\x18\x1b \x01(\x03\x1a\xa4\x02\n\x0f\x43lusterMetadata\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x13\n\x0bk8s_version\x18\x02 \x01(\t\x12l\n\x13\x62\x61\x63kup_crd_versions\x18\x03 \x03(\x0b\x32O.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntry\x12\x15\n\x0bgke_version\x18\x04 \x01(\tH\x00\x12\x18\n\x0e\x61nthos_version\x18\x05 \x01(\tH\x00\x1a\x38\n\x16\x42\x61\x63kupCrdVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10platform_version\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x42\x0e\n\x0c\x62\x61\x63kup_scope\"\xd0\x08\n\nBackupPlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07\x63luster\x18\x06 \x01(\t\x12V\n\x10retention_policy\x18\x07 \x01(\x0b\x32<.google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy\x12H\n\x06labels\x18\x08 \x03(\x0b\x32\x38.google.events.cloud.gkebackup.v1.BackupPlan.LabelsEntry\x12N\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlan.Schedule\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x12P\n\rbackup_config\x18\x0c \x01(\x0b\x32\x39.google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig\x12\x1b\n\x13protected_pod_count\x18\r \x01(\x05\x1a^\n\x0fRetentionPolicy\x12\x1f\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x12\x1a\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x12\x0e\n\x06locked\x18\x03 \x01(\x08\x1a\x31\n\x08Schedule\x12\x15\n\rcron_schedule\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x1a\xd8\x02\n\x0c\x42\x61\x63kupConfig\x12\x18\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x03 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1b\n\x13include_volume_data\x18\x04 \x01(\x08\x12\x17\n\x0finclude_secrets\x18\x05 \x01(\x08\x12G\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKeyB\x0e\n\x0c\x62\x61\x63kup_scope\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfe\x05\n\x07Restore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06\x62\x61\x63kup\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12\x45\n\x06labels\x18\t \x03(\x0b\x32\x35.google.events.cloud.gkebackup.v1.Restore.LabelsEntry\x12>\n\x05state\x18\n \x01(\x0e\x32/.google.events.cloud.gkebackup.v1.Restore.State\x12\x14\n\x0cstate_reason\x18\x0b \x01(\t\x12\x31\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18resources_restored_count\x18\r \x01(\x05\x12 \n\x18resources_excluded_count\x18\x0e \x01(\x05\x12\x1e\n\x16resources_failed_count\x18\x0f \x01(\x05\x12\x1e\n\x16volumes_restored_count\x18\x10 \x01(\x05\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\"\xe2\x0c\n\rRestoreConfig\x12k\n\x1avolume_data_restore_policy\x18\x01 \x01(\x0e\x32G.google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy\x12w\n cluster_resource_conflict_policy\x18\x02 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy\x12w\n namespaced_resource_restore_mode\x18\x03 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode\x12s\n\x1e\x63luster_resource_restore_scope\x18\x04 \x01(\x0b\x32K.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope\x12\x18\n\x0e\x61ll_namespaces\x18\x05 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x06 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x07 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\\\n\x12substitution_rules\x18\x08 \x03(\x0b\x32@.google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule\x1a:\n\tGroupKind\x12\x16\n\x0eresource_group\x18\x01 \x01(\t\x12\x15\n\rresource_kind\x18\x02 \x01(\t\x1av\n\x1b\x43lusterResourceRestoreScope\x12W\n\x14selected_group_kinds\x18\x01 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x1a\xd1\x01\n\x10SubstitutionRule\x12\x19\n\x11target_namespaces\x18\x01 \x03(\t\x12U\n\x12target_group_kinds\x18\x02 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x18\n\x10target_json_path\x18\x03 \x01(\t\x12\x1e\n\x16original_value_pattern\x18\x04 \x01(\t\x12\x11\n\tnew_value\x18\x05 \x01(\t\"\xaf\x01\n\x17VolumeDataRestorePolicy\x12*\n&VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED\x10\x00\x12#\n\x1fRESTORE_VOLUME_DATA_FROM_BACKUP\x10\x01\x12#\n\x1fREUSE_VOLUME_HANDLE_FROM_BACKUP\x10\x02\x12\x1e\n\x1aNO_VOLUME_DATA_RESTORATION\x10\x03\"\x83\x01\n\x1d\x43lusterResourceConflictPolicy\x12\x30\n,CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12\x18\n\x14USE_EXISTING_VERSION\x10\x01\x12\x16\n\x12USE_BACKUP_VERSION\x10\x02\"\x7f\n\x1dNamespacedResourceRestoreMode\x12\x30\n,NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x45LETE_AND_RESTORE\x10\x01\x12\x14\n\x10\x46\x41IL_ON_CONFLICT\x10\x02\x42#\n!namespaced_resource_restore_scope\"\x96\x03\n\x0bRestorePlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61\x63kup_plan\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12I\n\x06labels\x18\t \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestorePlan.LabelsEntry\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x14RestorePlanEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkebackup.v1.RestorePlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x0f\x42\x61\x63kupEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.gkebackup.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"e\n\x13\x42\x61\x63kupPlanEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.BackupPlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"_\n\x10RestoreEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.gkebackup.v1.RestoreH\x00\x88\x01\x01\x42\n\n\x08_payloadB,\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1b\x06proto3"
10
+ descriptor_data = "\n+google/events/cloud/gkebackup/v1/data.proto\x12 google.events.cloud.gkebackup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\" \n\nNamespaces\x12\x12\n\nnamespaces\x18\x01 \x03(\t\"1\n\x0eNamespacedName\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"]\n\x0fNamespacedNames\x12J\n\x10namespaced_names\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.gkebackup.v1.NamespacedName\"/\n\rEncryptionKey\x12\x1e\n\x16gcp_kms_encryption_key\x18\x01 \x01(\t\"\xff\x0b\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06manual\x18\x05 \x01(\x08\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.events.cloud.gkebackup.v1.Backup.LabelsEntry\x12\x18\n\x10\x64\x65lete_lock_days\x18\x07 \x01(\x05\x12;\n\x17\x64\x65lete_lock_expire_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bretain_days\x18\t \x01(\x05\x12\x36\n\x12retain_expire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKey\x12\x18\n\x0e\x61ll_namespaces\x18\x0c \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\r \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x0e \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1c\n\x14\x63ontains_volume_data\x18\x0f \x01(\x08\x12\x18\n\x10\x63ontains_secrets\x18\x10 \x01(\x08\x12R\n\x10\x63luster_metadata\x18\x11 \x01(\x0b\x32\x38.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata\x12=\n\x05state\x18\x12 \x01(\x0e\x32..google.events.cloud.gkebackup.v1.Backup.State\x12\x14\n\x0cstate_reason\x18\x13 \x01(\t\x12\x31\n\rcomplete_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eresource_count\x18\x15 \x01(\x05\x12\x14\n\x0cvolume_count\x18\x16 \x01(\x05\x12\x12\n\nsize_bytes\x18\x17 \x01(\x03\x12\x0c\n\x04\x65tag\x18\x18 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x19 \x01(\t\x12\x11\n\tpod_count\x18\x1a \x01(\x05\x12 \n\x18\x63onfig_backup_size_bytes\x18\x1b \x01(\x03\x1a\xa4\x02\n\x0f\x43lusterMetadata\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x13\n\x0bk8s_version\x18\x02 \x01(\t\x12l\n\x13\x62\x61\x63kup_crd_versions\x18\x03 \x03(\x0b\x32O.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntry\x12\x15\n\x0bgke_version\x18\x04 \x01(\tH\x00\x12\x18\n\x0e\x61nthos_version\x18\x05 \x01(\tH\x00\x1a\x38\n\x16\x42\x61\x63kupCrdVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10platform_version\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x42\x0e\n\x0c\x62\x61\x63kup_scope\"\xd0\x08\n\nBackupPlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07\x63luster\x18\x06 \x01(\t\x12V\n\x10retention_policy\x18\x07 \x01(\x0b\x32<.google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy\x12H\n\x06labels\x18\x08 \x03(\x0b\x32\x38.google.events.cloud.gkebackup.v1.BackupPlan.LabelsEntry\x12N\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlan.Schedule\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x12P\n\rbackup_config\x18\x0c \x01(\x0b\x32\x39.google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig\x12\x1b\n\x13protected_pod_count\x18\r \x01(\x05\x1a^\n\x0fRetentionPolicy\x12\x1f\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x12\x1a\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x12\x0e\n\x06locked\x18\x03 \x01(\x08\x1a\x31\n\x08Schedule\x12\x15\n\rcron_schedule\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x1a\xd8\x02\n\x0c\x42\x61\x63kupConfig\x12\x18\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x03 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1b\n\x13include_volume_data\x18\x04 \x01(\x08\x12\x17\n\x0finclude_secrets\x18\x05 \x01(\x08\x12G\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKeyB\x0e\n\x0c\x62\x61\x63kup_scope\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfe\x05\n\x07Restore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06\x62\x61\x63kup\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12\x45\n\x06labels\x18\t \x03(\x0b\x32\x35.google.events.cloud.gkebackup.v1.Restore.LabelsEntry\x12>\n\x05state\x18\n \x01(\x0e\x32/.google.events.cloud.gkebackup.v1.Restore.State\x12\x14\n\x0cstate_reason\x18\x0b \x01(\t\x12\x31\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18resources_restored_count\x18\r \x01(\x05\x12 \n\x18resources_excluded_count\x18\x0e \x01(\x05\x12\x1e\n\x16resources_failed_count\x18\x0f \x01(\x05\x12\x1e\n\x16volumes_restored_count\x18\x10 \x01(\x05\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\"\xe2\x0c\n\rRestoreConfig\x12k\n\x1avolume_data_restore_policy\x18\x01 \x01(\x0e\x32G.google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy\x12w\n cluster_resource_conflict_policy\x18\x02 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy\x12w\n namespaced_resource_restore_mode\x18\x03 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode\x12s\n\x1e\x63luster_resource_restore_scope\x18\x04 \x01(\x0b\x32K.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope\x12\x18\n\x0e\x61ll_namespaces\x18\x05 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x06 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x07 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\\\n\x12substitution_rules\x18\x08 \x03(\x0b\x32@.google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule\x1a:\n\tGroupKind\x12\x16\n\x0eresource_group\x18\x01 \x01(\t\x12\x15\n\rresource_kind\x18\x02 \x01(\t\x1av\n\x1b\x43lusterResourceRestoreScope\x12W\n\x14selected_group_kinds\x18\x01 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x1a\xd1\x01\n\x10SubstitutionRule\x12\x19\n\x11target_namespaces\x18\x01 \x03(\t\x12U\n\x12target_group_kinds\x18\x02 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x18\n\x10target_json_path\x18\x03 \x01(\t\x12\x1e\n\x16original_value_pattern\x18\x04 \x01(\t\x12\x11\n\tnew_value\x18\x05 \x01(\t\"\xaf\x01\n\x17VolumeDataRestorePolicy\x12*\n&VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED\x10\x00\x12#\n\x1fRESTORE_VOLUME_DATA_FROM_BACKUP\x10\x01\x12#\n\x1fREUSE_VOLUME_HANDLE_FROM_BACKUP\x10\x02\x12\x1e\n\x1aNO_VOLUME_DATA_RESTORATION\x10\x03\"\x83\x01\n\x1d\x43lusterResourceConflictPolicy\x12\x30\n,CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12\x18\n\x14USE_EXISTING_VERSION\x10\x01\x12\x16\n\x12USE_BACKUP_VERSION\x10\x02\"\x7f\n\x1dNamespacedResourceRestoreMode\x12\x30\n,NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x45LETE_AND_RESTORE\x10\x01\x12\x14\n\x10\x46\x41IL_ON_CONFLICT\x10\x02\x42#\n!namespaced_resource_restore_scope\"\x96\x03\n\x0bRestorePlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61\x63kup_plan\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12I\n\x06labels\x18\t \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestorePlan.LabelsEntry\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x14RestorePlanEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkebackup.v1.RestorePlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x0f\x42\x61\x63kupEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.gkebackup.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"e\n\x13\x42\x61\x63kupPlanEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.BackupPlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"_\n\x10RestoreEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.gkebackup.v1.RestoreH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1\xca\x02 Google\\Events\\Cloud\\GkeBackup\\V1\xea\x02$Google::Events::Cloud::GkeBackup::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
39
17
  module Cloud
40
- module Gkebackup
18
+ module GkeBackup
41
19
  module V1
42
20
  Namespaces = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Namespaces").msgclass
43
21
  NamespacedName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.NamespacedName").msgclass
@@ -8,37 +8,15 @@ require 'google/events/cloud/gkebackup/v1/data_pb'
8
8
  require 'google/events/cloudevent_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n-google/events/cloud/gkebackup/v1/events.proto\x12 google.events.cloud.gkebackup.v1\x1a+google/events/cloud/gkebackup/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9f\x01\n\x16\x42\x61\x63kupPlanCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.created\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.updated\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.deleted\xca\xf8\xd8,\nbackupplan\"\x9e\x01\n\x12\x42\x61\x63kupCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.created\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.updated\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.deleted\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\xa3\x01\n\x17RestorePlanCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.created\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.updated\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.deleted\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x13RestoreCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.created\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.updated\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.deleted\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restoreB\xf4\x02\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1\xba\xf8\xd8,\x0e\x42\x61\x63kup for GKE\xc2\xf8\xd8,Q\n\nbackupplan\x12\x37The resource ID of the BackupPlan triggering the event.\x1a\nbackupPlan\xc2\xf8\xd8,=\n\x06\x62\x61\x63kup\x12\x33The resource ID of the Backup triggering the event.\xc2\xf8\xd8,T\n\x0brestoreplan\x12\x38The resource ID of the RestorePlan triggering the event.\x1a\x0brestorePlan\xc2\xf8\xd8,?\n\x07restore\x12\x34The resource ID of the Restore triggering the event.b\x06proto3"
11
+ descriptor_data = "\n-google/events/cloud/gkebackup/v1/events.proto\x12 google.events.cloud.gkebackup.v1\x1a+google/events/cloud/gkebackup/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9f\x01\n\x16\x42\x61\x63kupPlanCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.created\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.updated\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.deleted\xca\xf8\xd8,\nbackupplan\"\x9e\x01\n\x12\x42\x61\x63kupCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.created\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.updated\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.deleted\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\xa3\x01\n\x17RestorePlanCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.created\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.updated\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.deleted\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x13RestoreCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.created\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.updated\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.deleted\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restoreB\xbe\x03\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1\xca\x02 Google\\Events\\Cloud\\GkeBackup\\V1\xea\x02$Google::Events::Cloud::GkeBackup::V1\xba\xf8\xd8,\x0e\x42\x61\x63kup for GKE\xc2\xf8\xd8,Q\n\nbackupplan\x12\x37The resource ID of the BackupPlan triggering the event.\x1a\nbackupPlan\xc2\xf8\xd8,=\n\x06\x62\x61\x63kup\x12\x33The resource ID of the Backup triggering the event.\xc2\xf8\xd8,T\n\x0brestoreplan\x12\x38The resource ID of the RestorePlan triggering the event.\x1a\x0brestorePlan\xc2\xf8\xd8,?\n\x07restore\x12\x34The resource ID of the Restore triggering the event.b\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.cloud.gkebackup.v1.BackupPlanEventData", "google/events/cloud/gkebackup/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
40
18
  module Cloud
41
- module Gkebackup
19
+ module GkeBackup
42
20
  module V1
43
21
  BackupPlanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanCreatedEvent").msgclass
44
22
  BackupPlanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanUpdatedEvent").msgclass
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
10
  descriptor_data = "\n(google/events/cloud/gkehub/v1/data.proto\x12\x1dgoogle.events.cloud.gkehub.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x06\n\x07\x46\x65\x61ture\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.google.events.cloud.gkehub.v1.Feature.LabelsEntry\x12K\n\x0eresource_state\x18\x03 \x01(\x0b\x32\x33.google.events.cloud.gkehub.v1.FeatureResourceState\x12@\n\x05state\x18\x06 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.CommonFeatureState\x12W\n\x11membership_states\x18\x07 \x03(\x0b\x32<.google.events.cloud.gkehub.v1.Feature.MembershipStatesEntry\x12/\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x0cscope_states\x18\r \x03(\x0b\x32\x37.google.events.cloud.gkehub.v1.Feature.ScopeStatesEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1an\n\x15MembershipStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.events.cloud.gkehub.v1.MembershipFeatureState:\x02\x38\x01\x1a\x64\n\x10ScopeStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.ScopeFeatureState:\x02\x38\x01\"\xcd\x01\n\x14\x46\x65\x61tureResourceState\x12H\n\x05state\x18\x01 \x01(\x0e\x32\x39.google.events.cloud.gkehub.v1.FeatureResourceState.State\"k\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xd2\x01\n\x0c\x46\x65\x61tureState\x12>\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x30.google.events.cloud.gkehub.v1.FeatureState.Code\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"<\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"P\n\x12\x43ommonFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"O\n\x11ScopeFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"T\n\x16MembershipFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"\xf8\x01\n\x05Scope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x05state\x18\x06 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.ScopeLifecycleState\"\xaf\x01\n\x13ScopeLifecycleState\x12\x45\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x37.google.events.cloud.gkehub.v1.ScopeLifecycleState.Code\"Q\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\"\xbc\x02\n\x11MembershipBinding\x12\x0f\n\x05scope\x18\x03 \x01(\tH\x00\x12\x0f\n\x05\x66leet\x18\x04 \x01(\x08H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x05state\x18\x08 \x01(\x0b\x32>.google.events.cloud.gkehub.v1.MembershipBindingLifecycleStateB\x08\n\x06target\"\xc7\x01\n\x1fMembershipBindingLifecycleState\x12Q\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x43.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code\"Q\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\"\xe5\x04\n\nMembership\x12\x45\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.MembershipEndpointH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x06labels\x18\x02 \x03(\x0b\x32\x35.google.events.cloud.gkehub.v1.Membership.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x05state\x18\x05 \x01(\x0b\x32..google.events.cloud.gkehub.v1.MembershipState\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x65xternal_id\x18\t \x01(\t\x12\x38\n\x14last_connection_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tunique_id\x18\x0b \x01(\t\x12;\n\tauthority\x18\x0c \x01(\x0b\x32(.google.events.cloud.gkehub.v1.Authority\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x06\n\x04type\"\xc2\x04\n\x12MembershipEndpoint\x12@\n\x0bgke_cluster\x18\x01 \x01(\x0b\x32).google.events.cloud.gkehub.v1.GkeClusterH\x00\x12G\n\x0fon_prem_cluster\x18\x04 \x01(\x0b\x32,.google.events.cloud.gkehub.v1.OnPremClusterH\x00\x12O\n\x13multi_cloud_cluster\x18\x05 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.MultiCloudClusterH\x00\x12\x42\n\x0c\x65\x64ge_cluster\x18\x06 \x01(\x0b\x32*.google.events.cloud.gkehub.v1.EdgeClusterH\x00\x12L\n\x11\x61ppliance_cluster\x18\x07 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.ApplianceClusterH\x00\x12N\n\x13kubernetes_metadata\x18\x02 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.KubernetesMetadata\x12N\n\x13kubernetes_resource\x18\x03 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.KubernetesResource\x12\x16\n\x0egoogle_managed\x18\x08 \x01(\x08\x42\x06\n\x04type\"\xf9\x01\n\x12KubernetesResource\x12M\n\x14membership_resources\x18\x02 \x03(\x0b\x32/.google.events.cloud.gkehub.v1.ResourceManifest\x12J\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32/.google.events.cloud.gkehub.v1.ResourceManifest\x12H\n\x10resource_options\x18\x04 \x01(\x0b\x32..google.events.cloud.gkehub.v1.ResourceOptions\"T\n\x0fResourceOptions\x12\x17\n\x0f\x63onnect_version\x18\x01 \x01(\t\x12\x13\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x12\x13\n\x0bk8s_version\x18\x03 \x01(\t\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"<\n\nGkeCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\"\x87\x02\n\rOnPremCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x12\x15\n\radmin_cluster\x18\x03 \x01(\x08\x12N\n\x0c\x63luster_type\x18\x04 \x01(\x0e\x32\x38.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType\"_\n\x0b\x43lusterType\x12\x1b\n\x17\x43LUSTERTYPE_UNSPECIFIED\x10\x00\x12\r\n\tBOOTSTRAP\x10\x01\x12\n\n\x06HYBRID\x10\x02\x12\x0e\n\nSTANDALONE\x10\x03\x12\x08\n\x04USER\x10\x04\"C\n\x11MultiCloudCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\"$\n\x0b\x45\x64geCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\")\n\x10\x41pplianceCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\"\xc1\x01\n\x12KubernetesMetadata\x12%\n\x1dkubernetes_api_server_version\x18\x01 \x01(\t\x12\x18\n\x10node_provider_id\x18\x02 \x01(\t\x12\x12\n\nnode_count\x18\x03 \x01(\x05\x12\x12\n\nvcpu_count\x18\x04 \x01(\x05\x12\x11\n\tmemory_mb\x18\x05 \x01(\x05\x12/\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xbd\x01\n\x0fMembershipState\x12\x41\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x33.google.events.cloud.gkehub.v1.MembershipState.Code\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"i\n\tAuthority\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x1e\n\x16workload_identity_pool\x18\x02 \x01(\t\x12\x19\n\x11identity_provider\x18\x03 \x01(\t\x12\x11\n\toidc_jwks\x18\x04 \x01(\x0c\"X\n\x0eScopeEventData\x12:\n\x07payload\x18\x01 \x01(\x0b\x32$.google.events.cloud.gkehub.v1.ScopeH\x00\x88\x01\x01\x42\n\n\x08_payload\"b\n\x13MembershipEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.gkehub.v1.MembershipH\x00\x88\x01\x01\x42\n\n\x08_payload\"\\\n\x10\x46\x65\x61tureEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.gkehub.v1.FeatureH\x00\x88\x01\x01\x42\n\n\x08_payload\"p\n\x1aMembershipBindingEventData\x12\x46\n\x07payload\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.MembershipBindingH\x00\x88\x01\x01\x42\n\n\x08_payloadBm\xaa\x02&Google.Events.Protobuf.Cloud.GkeHub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\GkeHub\\V1\xea\x02!Google::Events::Cloud::GkeHub::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/cloudevent_pb'
11
11
  descriptor_data = "\n*google/events/cloud/gkehub/v1/events.proto\x12\x1dgoogle.events.cloud.gkehub.v1\x1a(google/events/cloud/gkehub/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x99\x01\n\x16MembershipCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.created\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.created\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x99\x01\n\x16MembershipDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.deleted\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.deleted\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x99\x01\n\x16MembershipUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.updated\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.updated\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x85\x01\n\x11ScopeCreatedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkehub.v1.ScopeEventData:3\xb2\xf8\xd8,$google.cloud.gkehub.scope.v1.created\xca\xf8\xd8,\x05scope\"\x85\x01\n\x11ScopeDeletedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkehub.v1.ScopeEventData:3\xb2\xf8\xd8,$google.cloud.gkehub.scope.v1.deleted\xca\xf8\xd8,\x05scope\"\xc4\x01\n\x1dMembershipBindingCreatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.created\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbinding\"\xc4\x01\n\x1dMembershipBindingUpdatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.updated\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbinding\"\xc4\x01\n\x1dMembershipBindingDeletedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.deleted\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbindingB\xb2\x03\xaa\x02&Google.Events.Protobuf.Cloud.GkeHub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\GkeHub\\V1\xea\x02!Google::Events::Cloud::GkeHub::V1\xba\xf8\xd8,\x07GKE Hub\xc2\xf8\xd8,E\n\nmembership\x12\x37The resource ID of the Membership triggering the event.\xc2\xf8\xd8,?\n\x07\x66\x65\x61ture\x12\x34The resource ID of the Feature triggering the event.\xc2\xf8\xd8,;\n\x05scope\x12\x32The resource ID of the Scope triggering the event.\xc2\xf8\xd8,f\n\x11membershipbinding\x12>The resource ID of the MembershipBinding triggering the event.\x1a\x11membershipBindingb\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.cloud.gkehub.v1.MembershipEventData", "google/events/cloud/gkehub/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
@@ -11,30 +11,7 @@ require 'google/rpc/status_pb'
11
11
  descriptor_data = "\n%google/events/cloud/iot/v1/data.proto\x12\x1agoogle.events.cloud.iot.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe5\x06\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06num_id\x18\x03 \x01(\x04\x12\x41\n\x0b\x63redentials\x18\x0c \x03(\x0b\x32,.google.events.cloud.iot.v1.DeviceCredential\x12\x37\n\x13last_heartbeat_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0flast_event_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0flast_state_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_config_ack_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15last_config_send_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x62locked\x18\x13 \x01(\x08\x12\x33\n\x0flast_error_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x11last_error_status\x18\x0b \x01(\x0b\x32\x12.google.rpc.Status\x12\x38\n\x06\x63onfig\x18\r \x01(\x0b\x32(.google.events.cloud.iot.v1.DeviceConfig\x12\x36\n\x05state\x18\x10 \x01(\x0b\x32\'.google.events.cloud.iot.v1.DeviceState\x12\x37\n\tlog_level\x18\x15 \x01(\x0e\x32$.google.events.cloud.iot.v1.LogLevel\x12\x42\n\x08metadata\x18\x11 \x03(\x0b\x32\x30.google.events.cloud.iot.v1.Device.MetadataEntry\x12\x41\n\x0egateway_config\x18\x18 \x01(\x0b\x32).google.events.cloud.iot.v1.GatewayConfig\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfc\x01\n\rGatewayConfig\x12=\n\x0cgateway_type\x18\x01 \x01(\x0e\x32\'.google.events.cloud.iot.v1.GatewayType\x12J\n\x13gateway_auth_method\x18\x02 \x01(\x0e\x32-.google.events.cloud.iot.v1.GatewayAuthMethod\x12 \n\x18last_accessed_gateway_id\x18\x03 \x01(\t\x12>\n\x1alast_accessed_gateway_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x03\n\x0e\x44\x65viceRegistry\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12W\n\x1a\x65vent_notification_configs\x18\n \x03(\x0b\x32\x33.google.events.cloud.iot.v1.EventNotificationConfig\x12V\n\x19state_notification_config\x18\x07 \x01(\x0b\x32\x33.google.events.cloud.iot.v1.StateNotificationConfig\x12;\n\x0bmqtt_config\x18\x04 \x01(\x0b\x32&.google.events.cloud.iot.v1.MqttConfig\x12;\n\x0bhttp_config\x18\t \x01(\x0b\x32&.google.events.cloud.iot.v1.HttpConfig\x12\x37\n\tlog_level\x18\x0b \x01(\x0e\x32$.google.events.cloud.iot.v1.LogLevel\x12\x43\n\x0b\x63redentials\x18\x08 \x03(\x0b\x32..google.events.cloud.iot.v1.RegistryCredential\"O\n\nMqttConfig\x12\x41\n\x12mqtt_enabled_state\x18\x01 \x01(\x0e\x32%.google.events.cloud.iot.v1.MqttState\"O\n\nHttpConfig\x12\x41\n\x12http_enabled_state\x18\x01 \x01(\x0e\x32%.google.events.cloud.iot.v1.HttpState\"O\n\x17\x45ventNotificationConfig\x12\x19\n\x11subfolder_matches\x18\x02 \x01(\t\x12\x19\n\x11pubsub_topic_name\x18\x01 \x01(\t\"4\n\x17StateNotificationConfig\x12\x19\n\x11pubsub_topic_name\x18\x01 \x01(\t\"v\n\x12RegistryCredential\x12R\n\x16public_key_certificate\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.iot.v1.PublicKeyCertificateH\x00\x42\x0c\n\ncredential\"\xd0\x01\n\x16X509CertificateDetails\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpiry_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13signature_algorithm\x18\x05 \x01(\t\x12\x17\n\x0fpublic_key_type\x18\x06 \x01(\t\"\xbd\x01\n\x14PublicKeyCertificate\x12\x46\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x36.google.events.cloud.iot.v1.PublicKeyCertificateFormat\x12\x13\n\x0b\x63\x65rtificate\x18\x02 \x01(\t\x12H\n\x0cx509_details\x18\x03 \x01(\x0b\x32\x32.google.events.cloud.iot.v1.X509CertificateDetails\"\x9c\x01\n\x10\x44\x65viceCredential\x12\x45\n\npublic_key\x18\x02 \x01(\x0b\x32/.google.events.cloud.iot.v1.PublicKeyCredentialH\x00\x12\x33\n\x0f\x65xpiration_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0c\n\ncredential\"_\n\x13PublicKeyCredential\x12;\n\x06\x66ormat\x18\x01 \x01(\x0e\x32+.google.events.cloud.iot.v1.PublicKeyFormat\x12\x0b\n\x03key\x18\x02 \x01(\t\"\xa0\x01\n\x0c\x44\x65viceConfig\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x35\n\x11\x63loud_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x64\x65vice_ack_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x62inary_data\x18\x04 \x01(\x0c\"S\n\x0b\x44\x65viceState\x12/\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x62inary_data\x18\x02 \x01(\x0c\"W\n\x0f\x44\x65viceEventData\x12\x38\n\x07payload\x18\x01 \x01(\x0b\x32\".google.events.cloud.iot.v1.DeviceH\x00\x88\x01\x01\x42\n\n\x08_payload\"a\n\x11RegistryEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.iot.v1.DeviceRegistryH\x00\x88\x01\x01\x42\n\n\x08_payload*L\n\tMqttState\x12\x1a\n\x16MQTT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMQTT_ENABLED\x10\x01\x12\x11\n\rMQTT_DISABLED\x10\x02*L\n\tHttpState\x12\x1a\n\x16HTTP_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cHTTP_ENABLED\x10\x01\x12\x11\n\rHTTP_DISABLED\x10\x02*O\n\x08LogLevel\x12\x19\n\x15LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\n\x12\t\n\x05\x45RROR\x10\x14\x12\x08\n\x04INFO\x10\x1e\x12\t\n\x05\x44\x45\x42UG\x10(*I\n\x0bGatewayType\x12\x1c\n\x18GATEWAY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GATEWAY\x10\x01\x12\x0f\n\x0bNON_GATEWAY\x10\x02*\x91\x01\n\x11GatewayAuthMethod\x12#\n\x1fGATEWAY_AUTH_METHOD_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41SSOCIATION_ONLY\x10\x01\x12\x1a\n\x16\x44\x45VICE_AUTH_TOKEN_ONLY\x10\x02\x12%\n!ASSOCIATION_AND_DEVICE_AUTH_TOKEN\x10\x03*e\n\x1aPublicKeyCertificateFormat\x12-\n)UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT\x10\x00\x12\x18\n\x14X509_CERTIFICATE_PEM\x10\x01*v\n\x0fPublicKeyFormat\x12!\n\x1dUNSPECIFIED_PUBLIC_KEY_FORMAT\x10\x00\x12\x0b\n\x07RSA_PEM\x10\x03\x12\x10\n\x0cRSA_X509_PEM\x10\x01\x12\r\n\tES256_PEM\x10\x02\x12\x12\n\x0e\x45S256_X509_PEM\x10\x04\x42\x64\xaa\x02#Google.Events.Protobuf.Cloud.Iot.V1\xca\x02\x1aGoogle\\Events\\Cloud\\Iot\\V1\xea\x02\x1eGoogle::Events::Cloud::Iot::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.rpc.Status", "google/rpc/status.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/cloudevent_pb'
11
11
  descriptor_data = "\n\'google/events/cloud/iot/v1/events.proto\x12\x1agoogle.events.cloud.iot.v1\x1a%google/events/cloud/iot/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9b\x01\n\x11\x43reateDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.CreateDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\x9b\x01\n\x11UpdateDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.UpdateDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\x9b\x01\n\x11\x44\x65leteDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.DeleteDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19\x43reateDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19UpdateDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19\x44\x65leteDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry\xca\xf8\xd8,\x08registryB\x8c\x02\xaa\x02#Google.Events.Protobuf.Cloud.Iot.V1\xca\x02\x1aGoogle\\Events\\Cloud\\Iot\\V1\xea\x02\x1eGoogle::Events::Cloud::Iot::V1\xba\xf8\xd8,\tCloud IoT\xc2\xf8\xd8,E\n\x06\x64\x65vice\x12\x33The resource ID of the Device triggering the event.\x1a\x06\x64\x65vice\xc2\xf8\xd8,K\n\x08registry\x12\x35The resource ID of the Registry triggering the event.\x1a\x08registryb\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.cloud.iot.v1.DeviceEventData", "google/events/cloud/iot/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