google-events 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32c9fe87b54867dbbc74c9d7ddd5f7dda8b3182a3e42dbb6bea92aeb609a924f
4
- data.tar.gz: 2eed18d2cacbd62ff4073594c1ba1bcb443acbf219ff8326bfaf95d4a5537e31
3
+ metadata.gz: 06c209f393e8a80df8479fefbfb92b533ad5a09207d062eb92b638ca1364c304
4
+ data.tar.gz: c1a2dce2a0bbae82514346d3a35f47c968b2985ecf989d5f1307805724aea5a3
5
5
  SHA512:
6
- metadata.gz: dc9c1b7d89de76178bd78fd400b092df8540c54a4663d1de4aad387f4806701b2ce385e3143b017dbce6a6e850941a7e4e577ffe0fdcc737e20332558a64e0a7
7
- data.tar.gz: 53ae240405b3010aa9f63d87c151690e44a33f3bd5d1dd34101e424540bcd4ee293a8ff81d0a94f1222a93c97488ca07b92e9f2698bb5d14c9ae97efc68bfc4c
6
+ metadata.gz: 49ba049dc8832e418c034f8c0a17c75dc363058f371f0b787254b1800f6eb420f85b324fcfbef685dbe8470b2ceca4e6f36a2fffec1d83cd070ca5de4bd5b960
7
+ data.tar.gz: 4363f5c44fc3c74cb3512bdebdd6e3ce3f93ae46a7539f7e2837fea1d7801445cf11c4ddab68584d9b6109ecfb1c3cdb7ca73586b49ade30608e62b37293ef2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
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
+
3
18
  ### 0.3.0 (2023-06-13)
4
19
 
5
20
  #### 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
@@ -8,7 +8,7 @@ require 'google/events/cloud/dataflow/v1beta3/data_pb'
8
8
  require 'google/events/cloudevent_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n1google/events/cloud/dataflow/v1beta3/events.proto\x12$google.events.cloud.dataflow.v1beta3\x1a/google/events/cloud/dataflow/v1beta3/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x15JobStatusChangedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.JobEventData:<\xb2\xf8\xd8,/google.cloud.dataflow.job.v1beta3.statusChanged\xca\xf8\xd8,\x03jobB\xca\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3\xba\xf8\xd8,\x0e\x43loud Dataflow\xc2\xf8\xd8,0\n\x03job\x12)The name of the Job triggering the event.b\x06proto3"
11
+ descriptor_data = "\n1google/events/cloud/dataflow/v1beta3/events.proto\x12$google.events.cloud.dataflow.v1beta3\x1a/google/events/cloud/dataflow/v1beta3/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x15JobStatusChangedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.JobEventData:<\xb2\xf8\xd8,/google.cloud.dataflow.job.v1beta3.statusChanged\xca\xf8\xd8,\x03jobB\xc4\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3\xba\xf8\xd8,\x08\x44\x61taflow\xc2\xf8\xd8,0\n\x03job\x12)The name of the Job triggering the event.b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/datastore/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/struct_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ require 'google/type/latlng_pb'
10
+
11
+
12
+ descriptor_data = "\n+google/events/cloud/datastore/v1/data.proto\x12 google.events.cloud.datastore.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\xd8\x01\n\x0f\x45ntityEventData\x12=\n\x05value\x18\x01 \x01(\x0b\x32..google.events.cloud.datastore.v1.EntityResult\x12\x41\n\told_value\x18\x02 \x01(\x0b\x32..google.events.cloud.datastore.v1.EntityResult\x12\x43\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32..google.events.cloud.datastore.v1.PropertyMask\"&\n\x0cPropertyMask\x12\x16\n\x0eproperty_paths\x18\x01 \x03(\t\"\x9e\x02\n\x0c\x45ntityResult\x12\x38\n\x06\x65ntity\x18\x01 \x01(\x0b\x32(.google.events.cloud.datastore.v1.Entity\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06\x63ursor\x18\x03 \x01(\x0c\"Q\n\nResultType\x12\x1b\n\x17RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x0e\n\nPROJECTION\x10\x02\x12\x0c\n\x08KEY_ONLY\x10\x03\"L\n\x0bPartitionId\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\"\xd1\x01\n\x03Key\x12\x43\n\x0cpartition_id\x18\x01 \x01(\x0b\x32-.google.events.cloud.datastore.v1.PartitionId\x12?\n\x04path\x18\x02 \x03(\x0b\x32\x31.google.events.cloud.datastore.v1.Key.PathElement\x1a\x44\n\x0bPathElement\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\x03H\x00\x12\x0e\n\x04name\x18\x03 \x01(\tH\x00\x42\t\n\x07id_type\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.google.events.cloud.datastore.v1.Value\"\x98\x04\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:\n\tkey_value\x18\x05 \x01(\x0b\x32%.google.events.cloud.datastore.v1.KeyH\x00\x12\x16\n\x0cstring_value\x18\x11 \x01(\tH\x00\x12\x14\n\nblob_value\x18\x12 \x01(\x0cH\x00\x12.\n\x0fgeo_point_value\x18\x08 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x12@\n\x0c\x65ntity_value\x18\x06 \x01(\x0b\x32(.google.events.cloud.datastore.v1.EntityH\x00\x12\x43\n\x0b\x61rray_value\x18\t \x01(\x0b\x32,.google.events.cloud.datastore.v1.ArrayValueH\x00\x12\x0f\n\x07meaning\x18\x0e \x01(\x05\x12\x1c\n\x14\x65xclude_from_indexes\x18\x13 \x01(\x08\x42\x0c\n\nvalue_type\"\xe6\x01\n\x06\x45ntity\x12\x32\n\x03key\x18\x01 \x01(\x0b\x32%.google.events.cloud.datastore.v1.Key\x12L\n\nproperties\x18\x03 \x03(\x0b\x32\x38.google.events.cloud.datastore.v1.Entity.PropertiesEntry\x1aZ\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.events.cloud.datastore.v1.Value:\x02\x38\x01\x42xP\x01\xaa\x02)Google.Events.Protobuf.Cloud.Datastore.V1\xca\x02 Google\\Events\\Cloud\\Datastore\\V1\xea\x02$Google::Events::Cloud::Datastore::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
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
39
+
40
+ module Google
41
+ module Events
42
+ module Cloud
43
+ module Datastore
44
+ module V1
45
+ EntityEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityEventData").msgclass
46
+ PropertyMask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.PropertyMask").msgclass
47
+ EntityResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityResult").msgclass
48
+ EntityResult::ResultType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityResult.ResultType").enummodule
49
+ PartitionId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.PartitionId").msgclass
50
+ Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.Key").msgclass
51
+ Key::PathElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.Key.PathElement").msgclass
52
+ ArrayValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.ArrayValue").msgclass
53
+ Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.Value").msgclass
54
+ Entity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.Entity").msgclass
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/datastore/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/datastore/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n-google/events/cloud/datastore/v1/events.proto\x12 google.events.cloud.datastore.v1\x1a+google/events/cloud/datastore/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xaa\x01\n\x12\x45ntityCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastore.v1.EntityEventData:S\xb2\xf8\xd8,(google.cloud.datastore.entity.v1.created\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x06\x65ntity\"\xaa\x01\n\x12\x45ntityUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastore.v1.EntityEventData:S\xb2\xf8\xd8,(google.cloud.datastore.entity.v1.updated\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x06\x65ntity\"\xaa\x01\n\x12\x45ntityDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastore.v1.EntityEventData:S\xb2\xf8\xd8,(google.cloud.datastore.entity.v1.deleted\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x06\x65ntity\"\xaa\x01\n\x12\x45ntityWrittenEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastore.v1.EntityEventData:S\xb2\xf8\xd8,(google.cloud.datastore.entity.v1.written\xca\xf8\xd8,\x08\x64\x61tabase\xca\xf8\xd8,\tnamespace\xca\xf8\xd8,\x06\x65ntityB\xeb\x02\xaa\x02)Google.Events.Protobuf.Cloud.Datastore.V1\xca\x02 Google\\Events\\Cloud\\Datastore\\V1\xea\x02$Google::Events::Cloud::Datastore::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,T\n\tnamespace\x12GThe Firestore database namespace. The default namespace is \"(default)\".\xc2\xf8\xd8,,\n\x06\x65ntity\x12\"Pattern to match for the resource.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.datastore.v1.EntityEventData", "google/events/cloud/datastore/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 Datastore
42
+ module V1
43
+ EntityCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityCreatedEvent").msgclass
44
+ EntityUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityUpdatedEvent").msgclass
45
+ EntityDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityDeletedEvent").msgclass
46
+ EntityWrittenEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.datastore.v1.EntityWrittenEvent").msgclass
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/gkehub/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/timestamp_pb'
8
+
9
+
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
+
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}"
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
36
+
37
+ module Google
38
+ module Events
39
+ module Cloud
40
+ module GkeHub
41
+ module V1
42
+ Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Feature").msgclass
43
+ FeatureResourceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureResourceState").msgclass
44
+ FeatureResourceState::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureResourceState.State").enummodule
45
+ FeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureState").msgclass
46
+ FeatureState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureState.Code").enummodule
47
+ CommonFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.CommonFeatureState").msgclass
48
+ ScopeFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeFeatureState").msgclass
49
+ MembershipFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipFeatureState").msgclass
50
+ Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Scope").msgclass
51
+ ScopeLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeLifecycleState").msgclass
52
+ ScopeLifecycleState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeLifecycleState.Code").enummodule
53
+ MembershipBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBinding").msgclass
54
+ MembershipBindingLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingLifecycleState").msgclass
55
+ MembershipBindingLifecycleState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code").enummodule
56
+ Membership = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Membership").msgclass
57
+ MembershipEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipEndpoint").msgclass
58
+ KubernetesResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.KubernetesResource").msgclass
59
+ ResourceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ResourceOptions").msgclass
60
+ ResourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ResourceManifest").msgclass
61
+ GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.GkeCluster").msgclass
62
+ OnPremCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.OnPremCluster").msgclass
63
+ OnPremCluster::ClusterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.OnPremCluster.ClusterType").enummodule
64
+ MultiCloudCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MultiCloudCluster").msgclass
65
+ EdgeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.EdgeCluster").msgclass
66
+ ApplianceCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ApplianceCluster").msgclass
67
+ KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.KubernetesMetadata").msgclass
68
+ MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipState").msgclass
69
+ MembershipState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipState.Code").enummodule
70
+ Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Authority").msgclass
71
+ ScopeEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeEventData").msgclass
72
+ MembershipEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipEventData").msgclass
73
+ FeatureEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureEventData").msgclass
74
+ MembershipBindingEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingEventData").msgclass
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/gkehub/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/gkehub/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
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
+
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.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
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module GkeHub
42
+ module V1
43
+ MembershipCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipCreatedEvent").msgclass
44
+ FeatureCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureCreatedEvent").msgclass
45
+ MembershipDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipDeletedEvent").msgclass
46
+ FeatureDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureDeletedEvent").msgclass
47
+ MembershipUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipUpdatedEvent").msgclass
48
+ FeatureUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureUpdatedEvent").msgclass
49
+ ScopeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeCreatedEvent").msgclass
50
+ ScopeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeDeletedEvent").msgclass
51
+ MembershipBindingCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingCreatedEvent").msgclass
52
+ MembershipBindingUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingUpdatedEvent").msgclass
53
+ MembershipBindingDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingDeletedEvent").msgclass
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,88 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/metastore/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf/wrappers_pb'
9
+ require 'google/type/dayofweek_pb'
10
+
11
+
12
+ descriptor_data = "\n+google/events/cloud/metastore/v1/data.proto\x12 google.events.cloud.metastore.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xb3\x05\n\nFederation\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.metastore.v1.Federation.LabelsEntry\x12\x0f\n\x07version\x18\x05 \x01(\t\x12_\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32\x43.google.events.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x14\n\x0c\x65ndpoint_uri\x18\x07 \x01(\t\x12\x41\n\x05state\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.metastore.v1.Federation.State\x12\x15\n\rstate_message\x18\t \x01(\t\x12\x0b\n\x03uid\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\x1al\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.BackendMetastore:\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\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\"\xc3\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12X\n\x0emetastore_type\x18\x02 \x01(\x0e\x32@.google.events.cloud.metastore.v1.BackendMetastore.MetastoreType\"G\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\"\xa0\x0c\n\x07Service\x12V\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32\x35.google.events.cloud.metastore.v1.HiveMetastoreConfigH\x00\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\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.metastore.v1.Service.LabelsEntry\x12\x0f\n\x07network\x18\x07 \x01(\t\x12\x14\n\x0c\x65ndpoint_uri\x18\x08 \x01(\t\x12\x0c\n\x04port\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32/.google.events.cloud.metastore.v1.Service.State\x12\x15\n\rstate_message\x18\x0b \x01(\t\x12\x18\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\t\x12<\n\x04tier\x18\r \x01(\x0e\x32..google.events.cloud.metastore.v1.Service.Tier\x12O\n\x12maintenance_window\x18\x0f \x01(\x0b\x32\x33.google.events.cloud.metastore.v1.MaintenanceWindow\x12\x0b\n\x03uid\x18\x10 \x01(\t\x12\x62\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32<.google.events.cloud.metastore.v1.MetadataManagementActivity\x12Q\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x38.google.events.cloud.metastore.v1.Service.ReleaseChannel\x12M\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.EncryptionConfig\x12G\n\x0enetwork_config\x18\x15 \x01(\x0b\x32/.google.events.cloud.metastore.v1.NetworkConfig\x12M\n\rdatabase_type\x18\x16 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.Service.DatabaseType\x12K\n\x10telemetry_config\x18\x17 \x01(\x0b\x32\x31.google.events.cloud.metastore.v1.TelemetryConfig\x12G\n\x0escaling_config\x18\x18 \x01(\x0b\x32/.google.events.cloud.metastore.v1.ScalingConfig\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\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02\x42\x12\n\x10metastore_config\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\xed\x03\n\x13HiveMetastoreConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x64\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32J.google.events.cloud.metastore.v1.HiveMetastoreConfig.ConfigOverridesEntry\x12I\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.metastore.v1.KerberosConfig\x12h\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32L.google.events.cloud.metastore.v1.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ar\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.events.cloud.metastore.v1.AuxiliaryVersionConfig:\x02\x38\x01\"z\n\x0eKerberosConfig\x12\x38\n\x06keytab\x18\x01 \x01(\x0b\x32(.google.events.cloud.metastore.v1.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x93\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12g\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32M.google.events.cloud.metastore.v1.AuxiliaryVersionConfig.ConfigOverridesEntry\x12G\n\x0enetwork_config\x18\x03 \x01(\x0b\x32/.google.events.cloud.metastore.v1.NetworkConfig\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\rNetworkConfig\x12K\n\tconsumers\x18\x01 \x03(\x0b\x32\x38.google.events.cloud.metastore.v1.NetworkConfig.Consumer\x1a\x46\n\x08\x43onsumer\x12\x14\n\nsubnetwork\x18\x01 \x01(\tH\x00\x12\x14\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x0e\n\x0cvpc_resource\"\xa1\x01\n\x0fTelemetryConfig\x12O\n\nlog_format\x18\x01 \x01(\x0e\x32;.google.events.cloud.metastore.v1.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa5\x01\n\x1aMetadataManagementActivity\x12J\n\x10metadata_exports\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.metastore.v1.MetadataExport\x12;\n\x08restores\x18\x02 \x03(\x0b\x32).google.events.cloud.metastore.v1.Restore\"\xe3\x05\n\x0eMetadataImport\x12V\n\rdatabase_dump\x18\x06 \x01(\x0b\x32=.google.events.cloud.metastore.v1.MetadataImport.DatabaseDumpH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\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\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x05 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.MetadataImport.State\x1a\x9c\x02\n\x0c\x44\x61tabaseDump\x12\x61\n\rdatabase_type\x18\x01 \x01(\x0e\x32J.google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x17\n\x0fsource_database\x18\x03 \x01(\t\x12\x45\n\x04type\x18\x04 \x01(\x0e\x32\x37.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x42\n\n\x08metadata\"\x8f\x03\n\x0eMetadataExport\x12\x1d\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tH\x00\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.MetadataExport.State\x12S\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x37.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x8d\x03\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x05state\x18\x04 \x01(\x0e\x32..google.events.cloud.metastore.v1.Backup.State\x12\x43\n\x10service_revision\x18\x05 \x01(\x0b\x32).google.events.cloud.metastore.v1.Service\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1a\n\x12restoring_services\x18\x07 \x03(\t\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05\"\xae\x03\n\x07Restore\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.events.cloud.metastore.v1.Restore.State\x12\x0e\n\x06\x62\x61\x63kup\x18\x04 \x01(\t\x12\x43\n\x04type\x18\x05 \x01(\x0e\x32\x35.google.events.cloud.metastore.v1.Restore.RestoreType\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\x84\x02\n\rScalingConfig\x12U\n\rinstance_size\x18\x01 \x01(\x0e\x32<.google.events.cloud.metastore.v1.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\"\\\n\x17MetadataImportEventData\x12\x41\n\x07payload\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.metastore.v1.MetadataImport\"e\n\x13\x46\x65\x64\x65rationEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.metastore.v1.FederationH\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.metastore.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"_\n\x10ServiceEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.metastore.v1.ServiceH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.Metastore.V1\xca\x02 Google\\Events\\Cloud\\Metastore\\V1\xea\x02$Google::Events::Cloud::Metastore::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
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.protobuf.Int32Value", "google/protobuf/wrappers.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
39
+
40
+ module Google
41
+ module Events
42
+ module Cloud
43
+ module Metastore
44
+ module V1
45
+ Federation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Federation").msgclass
46
+ Federation::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Federation.State").enummodule
47
+ BackendMetastore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackendMetastore").msgclass
48
+ BackendMetastore::MetastoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackendMetastore.MetastoreType").enummodule
49
+ Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service").msgclass
50
+ Service::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.State").enummodule
51
+ Service::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.Tier").enummodule
52
+ Service::ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.ReleaseChannel").enummodule
53
+ Service::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.DatabaseType").enummodule
54
+ MaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MaintenanceWindow").msgclass
55
+ HiveMetastoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.HiveMetastoreConfig").msgclass
56
+ KerberosConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.KerberosConfig").msgclass
57
+ Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Secret").msgclass
58
+ EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.EncryptionConfig").msgclass
59
+ AuxiliaryVersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.AuxiliaryVersionConfig").msgclass
60
+ NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.NetworkConfig").msgclass
61
+ NetworkConfig::Consumer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.NetworkConfig.Consumer").msgclass
62
+ TelemetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.TelemetryConfig").msgclass
63
+ TelemetryConfig::LogFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.TelemetryConfig.LogFormat").enummodule
64
+ MetadataManagementActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataManagementActivity").msgclass
65
+ MetadataImport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport").msgclass
66
+ MetadataImport::DatabaseDump = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.DatabaseDump").msgclass
67
+ MetadataImport::DatabaseDump::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType").enummodule
68
+ MetadataImport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.State").enummodule
69
+ MetadataExport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataExport").msgclass
70
+ MetadataExport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataExport.State").enummodule
71
+ Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Backup").msgclass
72
+ Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Backup.State").enummodule
73
+ Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore").msgclass
74
+ Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore.State").enummodule
75
+ Restore::RestoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore.RestoreType").enummodule
76
+ ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ScalingConfig").msgclass
77
+ ScalingConfig::InstanceSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ScalingConfig.InstanceSize").enummodule
78
+ DatabaseDumpSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.DatabaseDumpSpec").msgclass
79
+ DatabaseDumpSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.DatabaseDumpSpec.Type").enummodule
80
+ MetadataImportEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImportEventData").msgclass
81
+ FederationEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.FederationEventData").msgclass
82
+ BackupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackupEventData").msgclass
83
+ ServiceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ServiceEventData").msgclass
84
+ end
85
+ end
86
+ end
87
+ end
88
+ end