google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bac7c2d7103d9ef4c9fe0d173890934b85009134feeaec033fd21cfc1ce3efd3
4
- data.tar.gz: 609ab72551ccaf5da8edfb3ad6d386566a51db65498c834bfc5a8056af79886b
3
+ metadata.gz: 06c209f393e8a80df8479fefbfb92b533ad5a09207d062eb92b638ca1364c304
4
+ data.tar.gz: c1a2dce2a0bbae82514346d3a35f47c968b2985ecf989d5f1307805724aea5a3
5
5
  SHA512:
6
- metadata.gz: ecfa8d0fc3541c54bbf4b418cf5f71d73b9047bd54493f849564631aa261f276f3eb1b512fef1721d4971316f22f15673058ace66dec9cd1b471b8b6ba75c927
7
- data.tar.gz: d459ff0d5b92c9c17695c09a48fa7de4d88ff9c1331c7003c5cd46c94b8558bd7f6d110443ca1b013c0ee3cdb0900e255387c2ade33a184256812b0bf2241204
6
+ metadata.gz: 49ba049dc8832e418c034f8c0a17c75dc363058f371f0b787254b1800f6eb420f85b324fcfbef685dbe8470b2ceca4e6f36a2fffec1d83cd070ca5de4bd5b960
7
+ data.tar.gz: 4363f5c44fc3c74cb3512bdebdd6e3ce3f93ae46a7539f7e2837fea1d7801445cf11c4ddab68584d9b6109ecfb1c3cdb7ca73586b49ade30608e62b37293ef2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.4.0 (2023-07-11)
4
+
5
+ #### Features
6
+
7
+ * Added events for alloydb/v1 ([#42](https://github.com/googleapis/google-cloudevents-ruby/issues/42))
8
+ * Added events for datastore/v1
9
+ * Added events for gkehub/v1
10
+ * Added events for metastore/v1
11
+ * Added events for networkconnectivity/v1
12
+ * Added events for networkmanagement/v1
13
+ * Added events for notebooks/v1
14
+ * Added events for redis/v1
15
+ * Added events for visionai/v1
16
+ * Added events for vmmigration/v1
17
+
18
+ ### 0.3.0 (2023-06-13)
19
+
20
+ #### Features
21
+
22
+ * Added events for video/transcoder/v1 ([#32](https://github.com/googleapis/google-cloudevents-ruby/issues/32))
23
+ * Uses binary protobuf definitions for better forward compatibility
24
+
3
25
  ### 0.2.0 (2023-05-22)
4
26
 
5
27
  #### Features
@@ -0,0 +1,85 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/alloydb/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/duration_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ require 'google/type/dayofweek_pb'
10
+ require 'google/type/timeofday_pb'
11
+
12
+
13
+ descriptor_data = "\n)google/events/cloud/alloydb/v1/data.proto\x12\x1egoogle.events.cloud.alloydb.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\".\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xdb\x01\n\x0fMigrationSource\x12\x11\n\thost_port\x18\x01 \x01(\t\x12\x14\n\x0creference_id\x18\x02 \x01(\t\x12X\n\x0bsource_type\x18\x03 \x01(\x0e\x32\x43.google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType\"E\n\x13MigrationSourceType\x12%\n!MIGRATION_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44MS\x10\x01\"(\n\x10\x45ncryptionConfig\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\"\xd6\x01\n\x0e\x45ncryptionInfo\x12L\n\x0f\x65ncryption_type\x18\x01 \x01(\x0e\x32\x33.google.events.cloud.alloydb.v1.EncryptionInfo.Type\x12\x18\n\x10kms_key_versions\x18\x02 \x03(\t\"\\\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xbc\x02\n\tSslConfig\x12\x43\n\x08ssl_mode\x18\x01 \x01(\x0e\x32\x31.google.events.cloud.alloydb.v1.SslConfig.SslMode\x12\x45\n\tca_source\x18\x02 \x01(\x0e\x32\x32.google.events.cloud.alloydb.v1.SslConfig.CaSource\"e\n\x07SslMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSSL_MODE_ALLOW\x10\x01\x12\x14\n\x10SSL_MODE_REQUIRE\x10\x02\x12\x16\n\x12SSL_MODE_VERIFY_CA\x10\x03\"<\n\x08\x43\x61Source\x12\x19\n\x15\x43\x41_SOURCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43\x41_SOURCE_MANAGED\x10\x01\"\x83\x07\n\x15\x41utomatedBackupPolicy\x12_\n\x0fweekly_schedule\x18\x02 \x01(\x0b\x32\x44.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleH\x00\x12h\n\x14time_based_retention\x18\x04 \x01(\x0b\x32H.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionH\x01\x12p\n\x18quantity_based_retention\x18\x05 \x01(\x0b\x32L.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionH\x01\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x02\x88\x01\x01\x12\x30\n\rbackup_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12K\n\x11\x65ncryption_config\x18\x08 \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.EncryptionConfig\x12\x10\n\x08location\x18\x06 \x01(\t\x12Q\n\x06labels\x18\x07 \x03(\x0b\x32\x41.google.events.cloud.alloydb.v1.AutomatedBackupPolicy.LabelsEntry\x1ak\n\x0eWeeklySchedule\x12+\n\x0bstart_times\x18\x01 \x03(\x0b\x32\x16.google.type.TimeOfDay\x12,\n\x0c\x64\x61ys_of_week\x18\x02 \x03(\x0e\x32\x16.google.type.DayOfWeek\x1aI\n\x12TimeBasedRetention\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\'\n\x16QuantityBasedRetention\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08scheduleB\x0b\n\tretentionB\n\n\x08_enabled\"7\n\x0c\x42\x61\x63kupSource\x12\x12\n\nbackup_uid\x18\x02 \x01(\t\x12\x13\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\t\"\x84\r\n\x07\x43luster\x12\x45\n\rbackup_source\x18\x0f \x01(\x0b\x32,.google.events.cloud.alloydb.v1.BackupSourceH\x00\x12K\n\x10migration_source\x18\x10 \x01(\x0b\x32/.google.events.cloud.alloydb.v1.MigrationSourceH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06labels\x18\x07 \x03(\x0b\x32\x33.google.events.cloud.alloydb.v1.Cluster.LabelsEntry\x12<\n\x05state\x18\x08 \x01(\x0e\x32-.google.events.cloud.alloydb.v1.Cluster.State\x12I\n\x0c\x63luster_type\x18\x18 \x01(\x0e\x32\x33.google.events.cloud.alloydb.v1.Cluster.ClusterType\x12I\n\x10\x64\x61tabase_version\x18\t \x01(\x0e\x32/.google.events.cloud.alloydb.v1.DatabaseVersion\x12\x0f\n\x07network\x18\n \x01(\t\x12\x0c\n\x04\x65tag\x18\x0b \x01(\t\x12M\n\x0b\x61nnotations\x18\x0c \x03(\x0b\x32\x38.google.events.cloud.alloydb.v1.Cluster.AnnotationsEntry\x12\x13\n\x0breconciling\x18\r \x01(\x08\x12V\n\x17\x61utomated_backup_policy\x18\x11 \x01(\x0b\x32\x35.google.events.cloud.alloydb.v1.AutomatedBackupPolicy\x12=\n\nssl_config\x18\x12 \x01(\x0b\x32).google.events.cloud.alloydb.v1.SslConfig\x12K\n\x11\x65ncryption_config\x18\x13 \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.EncryptionConfig\x12G\n\x0f\x65ncryption_info\x18\x14 \x01(\x0b\x32..google.events.cloud.alloydb.v1.EncryptionInfo\x12Q\n\x10secondary_config\x18\x16 \x01(\x0b\x32\x37.google.events.cloud.alloydb.v1.Cluster.SecondaryConfig\x12M\n\x0eprimary_config\x18\x17 \x01(\x0b\x32\x35.google.events.cloud.alloydb.v1.Cluster.PrimaryConfig\x1a/\n\x0fSecondaryConfig\x12\x1c\n\x14primary_cluster_name\x18\x01 \x01(\t\x1a\x30\n\rPrimaryConfig\x12\x1f\n\x17secondary_cluster_names\x18\x01 \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\t\n\x05\x45MPTY\x10\x03\x12\x0c\n\x08\x43REATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x07\x12\x0f\n\x0bMAINTENANCE\x10\x08\x12\r\n\tPROMOTING\x10\t\"G\n\x0b\x43lusterType\x12\x1c\n\x18\x43LUSTER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\x42\x08\n\x06source\"\xcf\x0f\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06labels\x18\x07 \x03(\x0b\x32\x34.google.events.cloud.alloydb.v1.Instance.LabelsEntry\x12=\n\x05state\x18\x08 \x01(\x0e\x32..google.events.cloud.alloydb.v1.Instance.State\x12L\n\rinstance_type\x18\t \x01(\x0e\x32\x35.google.events.cloud.alloydb.v1.Instance.InstanceType\x12N\n\x0emachine_config\x18\n \x01(\x0b\x32\x36.google.events.cloud.alloydb.v1.Instance.MachineConfig\x12T\n\x11\x61vailability_type\x18\x0b \x01(\x0e\x32\x39.google.events.cloud.alloydb.v1.Instance.AvailabilityType\x12\x10\n\x08gce_zone\x18\x0c \x01(\t\x12S\n\x0e\x64\x61tabase_flags\x18\r \x03(\x0b\x32;.google.events.cloud.alloydb.v1.Instance.DatabaseFlagsEntry\x12\x44\n\rwritable_node\x18\x13 \x01(\x0b\x32-.google.events.cloud.alloydb.v1.Instance.Node\x12<\n\x05nodes\x18\x14 \x03(\x0b\x32-.google.events.cloud.alloydb.v1.Instance.Node\x12\x63\n\x15query_insights_config\x18\x15 \x01(\x0b\x32\x44.google.events.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig\x12Q\n\x10read_pool_config\x18\x0e \x01(\x0b\x32\x37.google.events.cloud.alloydb.v1.Instance.ReadPoolConfig\x12\x12\n\nip_address\x18\x0f \x01(\t\x12\x13\n\x0breconciling\x18\x10 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x12N\n\x0b\x61nnotations\x18\x12 \x03(\x0b\x32\x39.google.events.cloud.alloydb.v1.Instance.AnnotationsEntry\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a>\n\x04Node\x12\x0f\n\x07zone_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\r\n\x05state\x18\x04 \x01(\t\x1a\xfa\x01\n\x1bQueryInsightsInstanceConfig\x12$\n\x17record_application_tags\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15record_client_address\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1b\n\x13query_string_length\x18\x04 \x01(\r\x12#\n\x16query_plans_per_minute\x18\x05 \x01(\rH\x02\x88\x01\x01\x42\x1a\n\x18_record_application_tagsB\x18\n\x16_record_client_addressB\x19\n\x17_query_plans_per_minute\x1a$\n\x0eReadPoolConfig\x12\x12\n\nnode_count\x18\x01 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0f\n\x0bMAINTENANCE\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x11\n\rBOOTSTRAPPING\x10\x08\x12\r\n\tPROMOTING\x10\t\"X\n\x0cInstanceType\x12\x1d\n\x19INSTANCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tREAD_POOL\x10\x02\x12\r\n\tSECONDARY\x10\x03\"N\n\x10\x41vailabilityType\x12!\n\x1d\x41VAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\x96\x08\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0b\n\x03uid\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x06labels\x18\x06 \x03(\x0b\x32\x32.google.events.cloud.alloydb.v1.Backup.LabelsEntry\x12;\n\x05state\x18\x07 \x01(\x0e\x32,.google.events.cloud.alloydb.v1.Backup.State\x12\x39\n\x04type\x18\x08 \x01(\x0e\x32+.google.events.cloud.alloydb.v1.Backup.Type\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x13\n\x0b\x63luster_uid\x18\x12 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\n \x01(\t\x12\x13\n\x0breconciling\x18\x0b \x01(\x08\x12K\n\x11\x65ncryption_config\x18\x0c \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.EncryptionConfig\x12G\n\x0f\x65ncryption_info\x18\r \x01(\x0b\x32..google.events.cloud.alloydb.v1.EncryptionInfo\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12L\n\x0b\x61nnotations\x18\x10 \x03(\x0b\x32\x37.google.events.cloud.alloydb.v1.Backup.AnnotationsEntry\x12\x12\n\nsize_bytes\x18\x11 \x01(\x03\x12/\n\x0b\x65xpiry_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"J\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tON_DEMAND\x10\x01\x12\r\n\tAUTOMATED\x10\x02\x12\x0e\n\nCONTINUOUS\x10\x03\"_\n\x11InstanceEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.alloydb.v1.InstanceH\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.alloydb.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x10\x43lusterEventData\x12=\n\x07payload\x18\x01 \x01(\x0b\x32\'.google.events.cloud.alloydb.v1.ClusterH\x00\x88\x01\x01\x42\n\n\x08_payload*U\n\x0f\x44\x61tabaseVersion\x12 \n\x1c\x44\x41TABASE_VERSION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPOSTGRES_13\x10\x01\x12\x0f\n\x0bPOSTGRES_14\x10\x02\x42p\xaa\x02\'Google.Events.Protobuf.Cloud.AlloyDb.V1\xca\x02\x1eGoogle\\Events\\Cloud\\AlloyDb\\V1\xea\x02\"Google::Events::Cloud::AlloyDB::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ["google.type.TimeOfDay", "google/type/timeofday.proto"],
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
+ end
37
+ end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
40
+ end
41
+
42
+ module Google
43
+ module Events
44
+ module Cloud
45
+ module AlloyDB
46
+ module V1
47
+ UserPassword = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.UserPassword").msgclass
48
+ MigrationSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.MigrationSource").msgclass
49
+ MigrationSource::MigrationSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.MigrationSource.MigrationSourceType").enummodule
50
+ EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.EncryptionConfig").msgclass
51
+ EncryptionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.EncryptionInfo").msgclass
52
+ EncryptionInfo::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.EncryptionInfo.Type").enummodule
53
+ SslConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.SslConfig").msgclass
54
+ SslConfig::SslMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.SslConfig.SslMode").enummodule
55
+ SslConfig::CaSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.SslConfig.CaSource").enummodule
56
+ AutomatedBackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.AutomatedBackupPolicy").msgclass
57
+ AutomatedBackupPolicy::WeeklySchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule").msgclass
58
+ AutomatedBackupPolicy::TimeBasedRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention").msgclass
59
+ AutomatedBackupPolicy::QuantityBasedRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention").msgclass
60
+ BackupSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.BackupSource").msgclass
61
+ Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Cluster").msgclass
62
+ Cluster::SecondaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Cluster.SecondaryConfig").msgclass
63
+ Cluster::PrimaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Cluster.PrimaryConfig").msgclass
64
+ Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Cluster.State").enummodule
65
+ Cluster::ClusterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Cluster.ClusterType").enummodule
66
+ Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance").msgclass
67
+ Instance::MachineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.MachineConfig").msgclass
68
+ Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.Node").msgclass
69
+ Instance::QueryInsightsInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig").msgclass
70
+ Instance::ReadPoolConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.ReadPoolConfig").msgclass
71
+ Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.State").enummodule
72
+ Instance::InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.InstanceType").enummodule
73
+ Instance::AvailabilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Instance.AvailabilityType").enummodule
74
+ Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Backup").msgclass
75
+ Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Backup.State").enummodule
76
+ Backup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.Backup.Type").enummodule
77
+ InstanceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.InstanceEventData").msgclass
78
+ BackupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.BackupEventData").msgclass
79
+ ClusterEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.ClusterEventData").msgclass
80
+ DatabaseVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.DatabaseVersion").enummodule
81
+ end
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/alloydb/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/alloydb/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n+google/events/cloud/alloydb/v1/events.proto\x12\x1egoogle.events.cloud.alloydb.v1\x1a)google/events/cloud/alloydb/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x8f\x01\n\x13\x43lusterCreatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.ClusterEventData:8\xb2\xf8\xd8,\'google.cloud.alloydb.cluster.v1.created\xca\xf8\xd8,\x07\x63luster\"\x8f\x01\n\x13\x43lusterUpdatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.ClusterEventData:8\xb2\xf8\xd8,\'google.cloud.alloydb.cluster.v1.updated\xca\xf8\xd8,\x07\x63luster\"\x8f\x01\n\x13\x43lusterDeletedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.alloydb.v1.ClusterEventData:8\xb2\xf8\xd8,\'google.cloud.alloydb.cluster.v1.deleted\xca\xf8\xd8,\x07\x63luster\"\x9f\x01\n\x14InstanceCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.alloydb.v1.InstanceEventData:F\xb2\xf8\xd8,(google.cloud.alloydb.instance.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08instance\"\x9f\x01\n\x14InstanceUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.alloydb.v1.InstanceEventData:F\xb2\xf8\xd8,(google.cloud.alloydb.instance.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08instance\"\x9f\x01\n\x14InstanceDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.alloydb.v1.InstanceEventData:F\xb2\xf8\xd8,(google.cloud.alloydb.instance.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08instance\"\x8b\x01\n\x12\x42\x61\x63kupCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.alloydb.v1.BackupEventData:6\xb2\xf8\xd8,&google.cloud.alloydb.backup.v1.created\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x8b\x01\n\x12\x42\x61\x63kupUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.alloydb.v1.BackupEventData:6\xb2\xf8\xd8,&google.cloud.alloydb.backup.v1.updated\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x8b\x01\n\x12\x42\x61\x63kupDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.alloydb.v1.BackupEventData:6\xb2\xf8\xd8,&google.cloud.alloydb.backup.v1.deleted\xca\xf8\xd8,\x06\x62\x61\x63kupB\xd7\x02\xaa\x02\'Google.Events.Protobuf.Cloud.AlloyDb.V1\xca\x02\x1eGoogle\\Events\\Cloud\\AlloyDb\\V1\xea\x02\"Google::Events::Cloud::AlloyDB::V1\xba\xf8\xd8,\x16\x41lloyDB for PostgreSQL\xc2\xf8\xd8,?\n\x07\x63luster\x12\x34The resource ID of the Cluster triggering the event.\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,=\n\x06\x62\x61\x63kup\x12\x33The resource ID of the Backup triggering the event.b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.alloydb.v1.ClusterEventData", "google/events/cloud/alloydb/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
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module AlloyDB
42
+ module V1
43
+ ClusterCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.ClusterCreatedEvent").msgclass
44
+ ClusterUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.ClusterUpdatedEvent").msgclass
45
+ ClusterDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.ClusterDeletedEvent").msgclass
46
+ InstanceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.InstanceCreatedEvent").msgclass
47
+ InstanceUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.InstanceUpdatedEvent").msgclass
48
+ InstanceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.InstanceDeletedEvent").msgclass
49
+ BackupCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.BackupCreatedEvent").msgclass
50
+ BackupUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.BackupUpdatedEvent").msgclass
51
+ BackupDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.alloydb.v1.BackupDeletedEvent").msgclass
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/apigateway/v1/data.proto
3
4
 
@@ -5,85 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/apigateway/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.apigateway.v1.Api" do
11
- optional :name, :string, 1
12
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
- map :labels, :string, :string, 4
15
- optional :display_name, :string, 5
16
- optional :managed_service, :string, 7
17
- optional :state, :enum, 12, "google.events.cloud.apigateway.v1.Api.State"
18
- end
19
- add_enum "google.events.cloud.apigateway.v1.Api.State" do
20
- value :STATE_UNSPECIFIED, 0
21
- value :CREATING, 1
22
- value :ACTIVE, 2
23
- value :FAILED, 3
24
- value :DELETING, 4
25
- value :UPDATING, 5
26
- end
27
- add_message "google.events.cloud.apigateway.v1.ApiConfig" do
28
- optional :name, :string, 1
29
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
30
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
31
- map :labels, :string, :string, 4
32
- optional :display_name, :string, 5
33
- optional :gateway_service_account, :string, 14
34
- optional :service_config_id, :string, 12
35
- optional :state, :enum, 8, "google.events.cloud.apigateway.v1.ApiConfig.State"
36
- repeated :openapi_documents, :message, 9, "google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument"
37
- repeated :grpc_services, :message, 10, "google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition"
38
- repeated :managed_service_configs, :message, 11, "google.events.cloud.apigateway.v1.ApiConfig.File"
39
- end
40
- add_message "google.events.cloud.apigateway.v1.ApiConfig.File" do
41
- optional :path, :string, 1
42
- optional :contents, :bytes, 2
43
- end
44
- add_message "google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument" do
45
- optional :document, :message, 1, "google.events.cloud.apigateway.v1.ApiConfig.File"
46
- end
47
- add_message "google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition" do
48
- repeated :source, :message, 2, "google.events.cloud.apigateway.v1.ApiConfig.File"
49
- end
50
- add_enum "google.events.cloud.apigateway.v1.ApiConfig.State" do
51
- value :STATE_UNSPECIFIED, 0
52
- value :CREATING, 1
53
- value :ACTIVE, 2
54
- value :FAILED, 3
55
- value :DELETING, 4
56
- value :UPDATING, 5
57
- value :ACTIVATING, 6
58
- end
59
- add_message "google.events.cloud.apigateway.v1.Gateway" do
60
- optional :name, :string, 1
61
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
62
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
63
- map :labels, :string, :string, 4
64
- optional :display_name, :string, 5
65
- optional :api_config, :string, 6
66
- optional :state, :enum, 7, "google.events.cloud.apigateway.v1.Gateway.State"
67
- optional :default_hostname, :string, 9
68
- end
69
- add_enum "google.events.cloud.apigateway.v1.Gateway.State" do
70
- value :STATE_UNSPECIFIED, 0
71
- value :CREATING, 1
72
- value :ACTIVE, 2
73
- value :FAILED, 3
74
- value :DELETING, 4
75
- value :UPDATING, 5
76
- end
77
- add_message "google.events.cloud.apigateway.v1.GatewayEventData" do
78
- proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.Gateway"
79
- end
80
- add_message "google.events.cloud.apigateway.v1.ApiConfigEventData" do
81
- proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.ApiConfig"
82
- end
83
- add_message "google.events.cloud.apigateway.v1.ApiEventData" do
84
- proto3_optional :payload, :message, 1, "google.events.cloud.apigateway.v1.Api"
9
+
10
+ descriptor_data = "\n,google/events/cloud/apigateway/v1/data.proto\x12!google.events.cloud.apigateway.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x03\n\x03\x41pi\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.events.cloud.apigateway.v1.Api.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x17\n\x0fmanaged_service\x18\x07 \x01(\t\x12;\n\x05state\x18\x0c \x01(\x0e\x32,.google.events.cloud.apigateway.v1.Api.State\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\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\"\xdf\x07\n\tApiConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.events.cloud.apigateway.v1.ApiConfig.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x1f\n\x17gateway_service_account\x18\x0e \x01(\t\x12\x19\n\x11service_config_id\x18\x0c \x01(\t\x12\x41\n\x05state\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.apigateway.v1.ApiConfig.State\x12W\n\x11openapi_documents\x18\t \x03(\x0b\x32<.google.events.cloud.apigateway.v1.ApiConfig.OpenApiDocument\x12Y\n\rgrpc_services\x18\n \x03(\x0b\x32\x42.google.events.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition\x12R\n\x17managed_service_configs\x18\x0b \x03(\x0b\x32\x31.google.events.cloud.apigateway.v1.ApiConfig.File\x1a&\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x10\n\x08\x63ontents\x18\x02 \x01(\x0c\x1aV\n\x0fOpenApiDocument\x12\x43\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.apigateway.v1.ApiConfig.File\x1aZ\n\x15GrpcServiceDefinition\x12\x41\n\x06source\x18\x02 \x03(\x0b\x32\x31.google.events.cloud.apigateway.v1.ApiConfig.File\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0e\n\nACTIVATING\x10\x06\"\xd7\x03\n\x07Gateway\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.events.cloud.apigateway.v1.Gateway.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x12\n\napi_config\x18\x06 \x01(\t\x12?\n\x05state\x18\x07 \x01(\x0e\x32\x30.google.events.cloud.apigateway.v1.Gateway.State\x12\x18\n\x10\x64\x65\x66\x61ult_hostname\x18\t \x01(\t\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\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\"`\n\x10GatewayEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.apigateway.v1.GatewayH\x00\x88\x01\x01\x42\n\n\x08_payload\"d\n\x12\x41piConfigEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.apigateway.v1.ApiConfigH\x00\x88\x01\x01\x42\n\n\x08_payload\"X\n\x0c\x41piEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.apigateway.v1.ApiH\x00\x88\x01\x01\x42\n\n\x08_payloadBy\xaa\x02*Google.Events.Protobuf.Cloud.ApiGateway.V1\xca\x02!Google\\Events\\Cloud\\ApiGateway\\V1\xea\x02%Google::Events::Cloud::ApiGateway::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
85
31
  end
86
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."
87
35
  end
88
36
 
89
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/apigateway/v1/events.proto
3
4
 
@@ -6,36 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/apigateway/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/apigateway/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.apigateway.v1.GatewayCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
13
- end
14
- add_message "google.events.cloud.apigateway.v1.GatewayUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
16
- end
17
- add_message "google.events.cloud.apigateway.v1.GatewayDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.GatewayEventData"
19
- end
20
- add_message "google.events.cloud.apigateway.v1.ApiCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
22
- end
23
- add_message "google.events.cloud.apigateway.v1.ApiUpdatedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
25
- end
26
- add_message "google.events.cloud.apigateway.v1.ApiDeletedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiEventData"
28
- end
29
- add_message "google.events.cloud.apigateway.v1.ApiConfigCreatedEvent" do
30
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
31
- end
32
- add_message "google.events.cloud.apigateway.v1.ApiConfigUpdatedEvent" do
33
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
34
- end
35
- add_message "google.events.cloud.apigateway.v1.ApiConfigDeletedEvent" do
36
- optional :data, :message, 1, "google.events.cloud.apigateway.v1.ApiConfigEventData"
10
+
11
+ descriptor_data = "\n.google/events/cloud/apigateway/v1/events.proto\x12!google.events.cloud.apigateway.v1\x1a,google/events/cloud/apigateway/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x95\x01\n\x13GatewayCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigateway.v1.GatewayEventData:;\xb2\xf8\xd8,*google.cloud.apigateway.gateway.v1.created\xca\xf8\xd8,\x07gateway\"\x95\x01\n\x13GatewayUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigateway.v1.GatewayEventData:;\xb2\xf8\xd8,*google.cloud.apigateway.gateway.v1.updated\xca\xf8\xd8,\x07gateway\"\x95\x01\n\x13GatewayDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.apigateway.v1.GatewayEventData:;\xb2\xf8\xd8,*google.cloud.apigateway.gateway.v1.deleted\xca\xf8\xd8,\x07gateway\"\x85\x01\n\x0f\x41piCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.apigateway.v1.ApiEventData:3\xb2\xf8\xd8,&google.cloud.apigateway.api.v1.created\xca\xf8\xd8,\x03\x61pi\"\x85\x01\n\x0f\x41piUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.apigateway.v1.ApiEventData:3\xb2\xf8\xd8,&google.cloud.apigateway.api.v1.updated\xca\xf8\xd8,\x03\x61pi\"\x85\x01\n\x0f\x41piDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.apigateway.v1.ApiEventData:3\xb2\xf8\xd8,&google.cloud.apigateway.api.v1.deleted\xca\xf8\xd8,\x03\x61pi\"\xa5\x01\n\x15\x41piConfigCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.apigateway.v1.ApiConfigEventData:G\xb2\xf8\xd8,,google.cloud.apigateway.apiConfig.v1.created\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\tapiconfig\"\xa5\x01\n\x15\x41piConfigUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.apigateway.v1.ApiConfigEventData:G\xb2\xf8\xd8,,google.cloud.apigateway.apiConfig.v1.updated\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\tapiconfig\"\xa5\x01\n\x15\x41piConfigDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.apigateway.v1.ApiConfigEventData:G\xb2\xf8\xd8,,google.cloud.apigateway.apiConfig.v1.deleted\xca\xf8\xd8,\x03\x61pi\xca\xf8\xd8,\tapiconfigB\xdc\x02\xaa\x02*Google.Events.Protobuf.Cloud.ApiGateway.V1\xca\x02!Google\\Events\\Cloud\\ApiGateway\\V1\xea\x02%Google::Events::Cloud::ApiGateway::V1\xba\xf8\xd8,\x0b\x41PI Gateway\xc2\xf8\xd8,?\n\x07gateway\x12\x34The resource ID of the Gateway triggering the event.\xc2\xf8\xd8,7\n\x03\x61pi\x12\x30The resource ID of the Api triggering the event.\xc2\xf8\xd8,N\n\tapiconfig\x12\x36The resource ID of the ApiConfig triggering the event.\x1a\tapiConfigb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.apigateway.v1.GatewayEventData", "google/events/cloud/apigateway/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}"
37
32
  end
38
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."
39
36
  end
40
37
 
41
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/apigeeregistry/v1/data.proto
3
4
 
@@ -5,98 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/apigeeregistry/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.apigeeregistry.v1.Instance" do
11
- optional :name, :string, 1
12
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
14
- optional :state, :enum, 4, "google.events.cloud.apigeeregistry.v1.Instance.State"
15
- optional :state_message, :string, 5
16
- optional :config, :message, 6, "google.events.cloud.apigeeregistry.v1.Instance.Config"
17
- end
18
- add_message "google.events.cloud.apigeeregistry.v1.Instance.Config" do
19
- optional :location, :string, 1
20
- optional :cmek_key_name, :string, 2
21
- end
22
- add_enum "google.events.cloud.apigeeregistry.v1.Instance.State" do
23
- value :STATE_UNSPECIFIED, 0
24
- value :INACTIVE, 1
25
- value :CREATING, 2
26
- value :ACTIVE, 3
27
- value :UPDATING, 4
28
- value :DELETING, 5
29
- value :FAILED, 6
30
- end
31
- add_message "google.events.cloud.apigeeregistry.v1.Api" do
32
- optional :name, :string, 1
33
- optional :display_name, :string, 2
34
- optional :description, :string, 3
35
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
36
- optional :update_time, :message, 5, "google.protobuf.Timestamp"
37
- optional :availability, :string, 6
38
- optional :recommended_version, :string, 7
39
- optional :recommended_deployment, :string, 8
40
- map :labels, :string, :string, 9
41
- map :annotations, :string, :string, 10
42
- end
43
- add_message "google.events.cloud.apigeeregistry.v1.ApiVersion" do
44
- optional :name, :string, 1
45
- optional :display_name, :string, 2
46
- optional :description, :string, 3
47
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
48
- optional :update_time, :message, 5, "google.protobuf.Timestamp"
49
- optional :state, :string, 6
50
- map :labels, :string, :string, 7
51
- map :annotations, :string, :string, 8
52
- end
53
- add_message "google.events.cloud.apigeeregistry.v1.ApiSpec" do
54
- optional :name, :string, 1
55
- optional :filename, :string, 2
56
- optional :description, :string, 3
57
- optional :revision_id, :string, 4
58
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
59
- optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
60
- optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
61
- optional :mime_type, :string, 8
62
- optional :size_bytes, :int32, 9
63
- optional :hash, :string, 10
64
- optional :source_uri, :string, 11
65
- map :labels, :string, :string, 14
66
- map :annotations, :string, :string, 15
67
- end
68
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeployment" do
69
- optional :name, :string, 1
70
- optional :display_name, :string, 2
71
- optional :description, :string, 3
72
- optional :revision_id, :string, 4
73
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
74
- optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
75
- optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
76
- optional :api_spec_revision, :string, 8
77
- optional :endpoint_uri, :string, 9
78
- optional :external_channel_uri, :string, 10
79
- optional :intended_audience, :string, 11
80
- optional :access_guidance, :string, 12
81
- map :labels, :string, :string, 14
82
- map :annotations, :string, :string, 15
83
- end
84
- add_message "google.events.cloud.apigeeregistry.v1.ApiVersionEventData" do
85
- proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiVersion"
86
- end
87
- add_message "google.events.cloud.apigeeregistry.v1.InstanceEventData" do
88
- proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.Instance"
89
- end
90
- add_message "google.events.cloud.apigeeregistry.v1.ApiSpecEventData" do
91
- proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiSpec"
92
- end
93
- add_message "google.events.cloud.apigeeregistry.v1.ApiDeploymentEventData" do
94
- proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.ApiDeployment"
95
- end
96
- add_message "google.events.cloud.apigeeregistry.v1.ApiEventData" do
97
- proto3_optional :payload, :message, 1, "google.events.cloud.apigeeregistry.v1.Api"
9
+
10
+ descriptor_data = "\n0google/events/cloud/apigeeregistry/v1/data.proto\x12%google.events.cloud.apigeeregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc2\x03\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x05state\x18\x04 \x01(\x0e\x32\x35.google.events.cloud.apigeeregistry.v1.Instance.State\x12\x15\n\rstate_message\x18\x05 \x01(\t\x12\x46\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x36.google.events.cloud.apigeeregistry.v1.Instance.Config\x1a\x31\n\x06\x43onfig\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x15\n\rcmek_key_name\x18\x02 \x01(\t\"n\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"\xf0\x03\n\x03\x41pi\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x61vailability\x18\x06 \x01(\t\x12\x1b\n\x13recommended_version\x18\x07 \x01(\t\x12\x1e\n\x16recommended_deployment\x18\x08 \x01(\t\x12\x46\n\x06labels\x18\t \x03(\x0b\x32\x36.google.events.cloud.apigeeregistry.v1.Api.LabelsEntry\x12P\n\x0b\x61nnotations\x18\n \x03(\x0b\x32;.google.events.cloud.apigeeregistry.v1.Api.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc1\x03\n\nApiVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\x06 \x01(\t\x12M\n\x06labels\x18\x07 \x03(\x0b\x32=.google.events.cloud.apigeeregistry.v1.ApiVersion.LabelsEntry\x12W\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32\x42.google.events.cloud.apigeeregistry.v1.ApiVersion.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc6\x04\n\x07\x41piSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0brevision_id\x18\x04 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tmime_type\x18\x08 \x01(\t\x12\x12\n\nsize_bytes\x18\t \x01(\x05\x12\x0c\n\x04hash\x18\n \x01(\t\x12\x12\n\nsource_uri\x18\x0b \x01(\t\x12J\n\x06labels\x18\x0e \x03(\x0b\x32:.google.events.cloud.apigeeregistry.v1.ApiSpec.LabelsEntry\x12T\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32?.google.events.cloud.apigeeregistry.v1.ApiSpec.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x96\x05\n\rApiDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0brevision_id\x18\x04 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11\x61pi_spec_revision\x18\x08 \x01(\t\x12\x14\n\x0c\x65ndpoint_uri\x18\t \x01(\t\x12\x1c\n\x14\x65xternal_channel_uri\x18\n \x01(\t\x12\x19\n\x11intended_audience\x18\x0b \x01(\t\x12\x17\n\x0f\x61\x63\x63\x65ss_guidance\x18\x0c \x01(\t\x12P\n\x06labels\x18\x0e \x03(\x0b\x32@.google.events.cloud.apigeeregistry.v1.ApiDeployment.LabelsEntry\x12Z\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32\x45.google.events.cloud.apigeeregistry.v1.ApiDeployment.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"j\n\x13\x41piVersionEventData\x12G\n\x07payload\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.apigeeregistry.v1.ApiVersionH\x00\x88\x01\x01\x42\n\n\x08_payload\"f\n\x11InstanceEventData\x12\x45\n\x07payload\x18\x01 \x01(\x0b\x32/.google.events.cloud.apigeeregistry.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payload\"d\n\x10\x41piSpecEventData\x12\x44\n\x07payload\x18\x01 \x01(\x0b\x32..google.events.cloud.apigeeregistry.v1.ApiSpecH\x00\x88\x01\x01\x42\n\n\x08_payload\"p\n\x16\x41piDeploymentEventData\x12J\n\x07payload\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.apigeeregistry.v1.ApiDeploymentH\x00\x88\x01\x01\x42\n\n\x08_payload\"\\\n\x0c\x41piEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.apigeeregistry.v1.ApiH\x00\x88\x01\x01\x42\n\n\x08_payloadB\x85\x01\xaa\x02.Google.Events.Protobuf.Cloud.ApigeeRegistry.V1\xca\x02%Google\\Events\\Cloud\\ApigeeRegistry\\V1\xea\x02)Google::Events::Cloud::ApigeeRegistry::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
98
31
  end
99
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."
100
35
  end
101
36
 
102
37
  module Google