google-events 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
- data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
- data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
- data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
- data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
- data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
- data/lib/google/events/cloudevent_pb.rb +24 -6
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
- data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
- data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
- data/lib/google/events/version.rb +1 -1
- metadata +4 -2
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/cloudbuild/v1/events.proto
|
3
4
|
|
@@ -6,12 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/events/cloud/cloudbuild/v1/data_pb'
|
7
8
|
require 'google/events/cloudevent_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
|
11
|
+
descriptor_data = "\n.google/events/cloud/cloudbuild/v1/events.proto\x12!google.events.cloud.cloudbuild.v1\x1a,google/events/cloud/cloudbuild/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x87\x01\n\x0f\x43loudBuildEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.cloudbuild.v1.BuildEventData:3\xb2\xf8\xd8,.google.cloud.cloudbuild.build.v1.statusChangedB\x89\x01\xaa\x02*Google.Events.Protobuf.Cloud.CloudBuild.V1\xca\x02!Google\\Events\\Cloud\\CloudBuild\\V1\xea\x02%Google::Events::Cloud::CloudBuild::V1\xba\xf8\xd8,\x0b\x43loud Buildb\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.cloudbuild.v1.BuildEventData", "google/events/cloud/cloudbuild/v1/data.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
13
32
|
end
|
14
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
15
36
|
end
|
16
37
|
|
17
38
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/clouddms/v1/data.proto
|
3
4
|
|
@@ -8,249 +9,35 @@ require 'google/protobuf/timestamp_pb'
|
|
8
9
|
require 'google/protobuf/wrappers_pb'
|
9
10
|
require 'google/rpc/status_pb'
|
10
11
|
|
11
|
-
|
12
|
-
add_file("google/events/cloud/clouddms/v1/data.proto", :syntax => :proto3) do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
optional :network_architecture, :enum, 8, "google.events.cloud.clouddms.v1.NetworkArchitecture"
|
37
|
-
end
|
38
|
-
add_message "google.events.cloud.clouddms.v1.CloudSqlConnectionProfile" do
|
39
|
-
optional :cloud_sql_id, :string, 1
|
40
|
-
optional :settings, :message, 2, "google.events.cloud.clouddms.v1.CloudSqlSettings"
|
41
|
-
optional :private_ip, :string, 3
|
42
|
-
optional :public_ip, :string, 4
|
43
|
-
optional :additional_public_ip, :string, 5
|
44
|
-
end
|
45
|
-
add_message "google.events.cloud.clouddms.v1.AlloyDbConnectionProfile" do
|
46
|
-
optional :cluster_id, :string, 1
|
47
|
-
optional :settings, :message, 2, "google.events.cloud.clouddms.v1.AlloyDbSettings"
|
48
|
-
end
|
49
|
-
add_message "google.events.cloud.clouddms.v1.SqlAclEntry" do
|
50
|
-
optional :value, :string, 1
|
51
|
-
optional :label, :string, 3
|
52
|
-
oneof :expiration do
|
53
|
-
optional :expire_time, :message, 10, "google.protobuf.Timestamp"
|
54
|
-
end
|
55
|
-
end
|
56
|
-
add_message "google.events.cloud.clouddms.v1.SqlIpConfig" do
|
57
|
-
optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
|
58
|
-
optional :private_network, :string, 2
|
59
|
-
optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
|
60
|
-
repeated :authorized_networks, :message, 4, "google.events.cloud.clouddms.v1.SqlAclEntry"
|
61
|
-
end
|
62
|
-
add_message "google.events.cloud.clouddms.v1.CloudSqlSettings" do
|
63
|
-
optional :database_version, :enum, 1, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion"
|
64
|
-
map :user_labels, :string, :string, 2
|
65
|
-
optional :tier, :string, 3
|
66
|
-
optional :storage_auto_resize_limit, :message, 4, "google.protobuf.Int64Value"
|
67
|
-
optional :activation_policy, :enum, 5, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy"
|
68
|
-
optional :ip_config, :message, 6, "google.events.cloud.clouddms.v1.SqlIpConfig"
|
69
|
-
optional :auto_storage_increase, :message, 7, "google.protobuf.BoolValue"
|
70
|
-
map :database_flags, :string, :string, 8
|
71
|
-
optional :data_disk_type, :enum, 9, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
|
72
|
-
optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
|
73
|
-
optional :zone, :string, 11
|
74
|
-
optional :secondary_zone, :string, 18
|
75
|
-
optional :source_id, :string, 12
|
76
|
-
optional :root_password_set, :bool, 14
|
77
|
-
optional :collation, :string, 15
|
78
|
-
optional :cmek_key_name, :string, 16
|
79
|
-
optional :availability_type, :enum, 17, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType"
|
80
|
-
end
|
81
|
-
add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
|
82
|
-
value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
|
83
|
-
value :ALWAYS, 1
|
84
|
-
value :NEVER, 2
|
85
|
-
end
|
86
|
-
add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType" do
|
87
|
-
value :SQL_DATA_DISK_TYPE_UNSPECIFIED, 0
|
88
|
-
value :PD_SSD, 1
|
89
|
-
value :PD_HDD, 2
|
90
|
-
end
|
91
|
-
add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion" do
|
92
|
-
value :SQL_DATABASE_VERSION_UNSPECIFIED, 0
|
93
|
-
value :MYSQL_5_6, 1
|
94
|
-
value :MYSQL_5_7, 2
|
95
|
-
value :POSTGRES_9_6, 3
|
96
|
-
value :POSTGRES_11, 4
|
97
|
-
value :POSTGRES_10, 5
|
98
|
-
value :MYSQL_8_0, 6
|
99
|
-
value :POSTGRES_12, 7
|
100
|
-
value :POSTGRES_13, 8
|
101
|
-
value :POSTGRES_14, 17
|
102
|
-
end
|
103
|
-
add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType" do
|
104
|
-
value :SQL_AVAILABILITY_TYPE_UNSPECIFIED, 0
|
105
|
-
value :ZONAL, 1
|
106
|
-
value :REGIONAL, 2
|
107
|
-
end
|
108
|
-
add_message "google.events.cloud.clouddms.v1.AlloyDbSettings" do
|
109
|
-
optional :vpc_network, :string, 2
|
110
|
-
map :labels, :string, :string, 3
|
111
|
-
optional :primary_instance_settings, :message, 4, "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings"
|
112
|
-
end
|
113
|
-
add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.UserPassword" do
|
114
|
-
optional :user, :string, 1
|
115
|
-
optional :password_set, :bool, 3
|
116
|
-
end
|
117
|
-
add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings" do
|
118
|
-
optional :id, :string, 1
|
119
|
-
optional :machine_config, :message, 2, "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig"
|
120
|
-
map :database_flags, :string, :string, 6
|
121
|
-
map :labels, :string, :string, 7
|
122
|
-
optional :private_ip, :string, 8
|
123
|
-
end
|
124
|
-
add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig" do
|
125
|
-
optional :cpu_count, :int32, 1
|
126
|
-
end
|
127
|
-
add_message "google.events.cloud.clouddms.v1.StaticIpConnectivity" do
|
128
|
-
end
|
129
|
-
add_message "google.events.cloud.clouddms.v1.ReverseSshConnectivity" do
|
130
|
-
optional :vm_ip, :string, 1
|
131
|
-
optional :vm_port, :int32, 2
|
132
|
-
optional :vm, :string, 3
|
133
|
-
optional :vpc, :string, 4
|
134
|
-
end
|
135
|
-
add_message "google.events.cloud.clouddms.v1.VpcPeeringConnectivity" do
|
136
|
-
optional :vpc, :string, 1
|
137
|
-
end
|
138
|
-
add_message "google.events.cloud.clouddms.v1.DatabaseType" do
|
139
|
-
optional :provider, :enum, 1, "google.events.cloud.clouddms.v1.DatabaseProvider"
|
140
|
-
optional :engine, :enum, 2, "google.events.cloud.clouddms.v1.DatabaseEngine"
|
141
|
-
end
|
142
|
-
add_message "google.events.cloud.clouddms.v1.MigrationJob" do
|
143
|
-
optional :name, :string, 1
|
144
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
145
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
146
|
-
map :labels, :string, :string, 4
|
147
|
-
optional :display_name, :string, 5
|
148
|
-
optional :state, :enum, 6, "google.events.cloud.clouddms.v1.MigrationJob.State"
|
149
|
-
optional :phase, :enum, 7, "google.events.cloud.clouddms.v1.MigrationJob.Phase"
|
150
|
-
optional :type, :enum, 8, "google.events.cloud.clouddms.v1.MigrationJob.Type"
|
151
|
-
optional :dump_path, :string, 9
|
152
|
-
optional :dump_flags, :message, 17, "google.events.cloud.clouddms.v1.MigrationJob.DumpFlags"
|
153
|
-
optional :source, :string, 10
|
154
|
-
optional :destination, :string, 11
|
155
|
-
optional :duration, :message, 12, "google.protobuf.Duration"
|
156
|
-
optional :error, :message, 13, "google.rpc.Status"
|
157
|
-
optional :source_database, :message, 14, "google.events.cloud.clouddms.v1.DatabaseType"
|
158
|
-
optional :destination_database, :message, 15, "google.events.cloud.clouddms.v1.DatabaseType"
|
159
|
-
optional :end_time, :message, 16, "google.protobuf.Timestamp"
|
160
|
-
oneof :connectivity do
|
161
|
-
optional :reverse_ssh_connectivity, :message, 101, "google.events.cloud.clouddms.v1.ReverseSshConnectivity"
|
162
|
-
optional :vpc_peering_connectivity, :message, 102, "google.events.cloud.clouddms.v1.VpcPeeringConnectivity"
|
163
|
-
optional :static_ip_connectivity, :message, 103, "google.events.cloud.clouddms.v1.StaticIpConnectivity"
|
164
|
-
end
|
165
|
-
end
|
166
|
-
add_message "google.events.cloud.clouddms.v1.MigrationJob.DumpFlag" do
|
167
|
-
optional :name, :string, 1
|
168
|
-
optional :value, :string, 2
|
169
|
-
end
|
170
|
-
add_message "google.events.cloud.clouddms.v1.MigrationJob.DumpFlags" do
|
171
|
-
repeated :dump_flags, :message, 1, "google.events.cloud.clouddms.v1.MigrationJob.DumpFlag"
|
172
|
-
end
|
173
|
-
add_enum "google.events.cloud.clouddms.v1.MigrationJob.State" do
|
174
|
-
value :STATE_UNSPECIFIED, 0
|
175
|
-
value :MAINTENANCE, 1
|
176
|
-
value :DRAFT, 2
|
177
|
-
value :CREATING, 3
|
178
|
-
value :NOT_STARTED, 4
|
179
|
-
value :RUNNING, 5
|
180
|
-
value :FAILED, 6
|
181
|
-
value :COMPLETED, 7
|
182
|
-
value :DELETING, 8
|
183
|
-
value :STOPPING, 9
|
184
|
-
value :STOPPED, 10
|
185
|
-
value :DELETED, 11
|
186
|
-
value :UPDATING, 12
|
187
|
-
value :STARTING, 13
|
188
|
-
value :RESTARTING, 14
|
189
|
-
value :RESUMING, 15
|
190
|
-
end
|
191
|
-
add_enum "google.events.cloud.clouddms.v1.MigrationJob.Phase" do
|
192
|
-
value :PHASE_UNSPECIFIED, 0
|
193
|
-
value :FULL_DUMP, 1
|
194
|
-
value :CDC, 2
|
195
|
-
value :PROMOTE_IN_PROGRESS, 3
|
196
|
-
value :WAITING_FOR_SOURCE_WRITES_TO_STOP, 4
|
197
|
-
value :PREPARING_THE_DUMP, 5
|
198
|
-
end
|
199
|
-
add_enum "google.events.cloud.clouddms.v1.MigrationJob.Type" do
|
200
|
-
value :TYPE_UNSPECIFIED, 0
|
201
|
-
value :ONE_TIME, 1
|
202
|
-
value :CONTINUOUS, 2
|
203
|
-
end
|
204
|
-
add_message "google.events.cloud.clouddms.v1.ConnectionProfile" do
|
205
|
-
optional :name, :string, 1
|
206
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
207
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
208
|
-
map :labels, :string, :string, 4
|
209
|
-
optional :state, :enum, 5, "google.events.cloud.clouddms.v1.ConnectionProfile.State"
|
210
|
-
optional :display_name, :string, 6
|
211
|
-
optional :error, :message, 7, "google.rpc.Status"
|
212
|
-
optional :provider, :enum, 8, "google.events.cloud.clouddms.v1.DatabaseProvider"
|
213
|
-
oneof :connection_profile do
|
214
|
-
optional :mysql, :message, 100, "google.events.cloud.clouddms.v1.MySqlConnectionProfile"
|
215
|
-
optional :postgresql, :message, 101, "google.events.cloud.clouddms.v1.PostgreSqlConnectionProfile"
|
216
|
-
optional :cloudsql, :message, 102, "google.events.cloud.clouddms.v1.CloudSqlConnectionProfile"
|
217
|
-
optional :alloydb, :message, 105, "google.events.cloud.clouddms.v1.AlloyDbConnectionProfile"
|
218
|
-
end
|
219
|
-
end
|
220
|
-
add_enum "google.events.cloud.clouddms.v1.ConnectionProfile.State" do
|
221
|
-
value :STATE_UNSPECIFIED, 0
|
222
|
-
value :DRAFT, 1
|
223
|
-
value :CREATING, 2
|
224
|
-
value :READY, 3
|
225
|
-
value :UPDATING, 4
|
226
|
-
value :DELETING, 5
|
227
|
-
value :DELETED, 6
|
228
|
-
value :FAILED, 7
|
229
|
-
end
|
230
|
-
add_message "google.events.cloud.clouddms.v1.ConnectionProfileEventData" do
|
231
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.clouddms.v1.ConnectionProfile"
|
232
|
-
end
|
233
|
-
add_message "google.events.cloud.clouddms.v1.MigrationJobEventData" do
|
234
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.clouddms.v1.MigrationJob"
|
235
|
-
end
|
236
|
-
add_enum "google.events.cloud.clouddms.v1.NetworkArchitecture" do
|
237
|
-
value :NETWORK_ARCHITECTURE_UNSPECIFIED, 0
|
238
|
-
value :NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, 1
|
239
|
-
value :NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER, 2
|
240
|
-
end
|
241
|
-
add_enum "google.events.cloud.clouddms.v1.DatabaseEngine" do
|
242
|
-
value :DATABASE_ENGINE_UNSPECIFIED, 0
|
243
|
-
value :MYSQL, 1
|
244
|
-
value :POSTGRESQL, 2
|
245
|
-
end
|
246
|
-
add_enum "google.events.cloud.clouddms.v1.DatabaseProvider" do
|
247
|
-
value :DATABASE_PROVIDER_UNSPECIFIED, 0
|
248
|
-
value :CLOUDSQL, 1
|
249
|
-
value :RDS, 2
|
250
|
-
value :AURORA, 3
|
251
|
-
value :ALLOYDB, 4
|
12
|
+
|
13
|
+
descriptor_data = "\n*google/events/cloud/clouddms/v1/data.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\x96\x01\n\tSslConfig\x12@\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.SslConfig.SslType\"G\n\x07SslType\x12\x18\n\x14SSL_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSERVER_ONLY\x10\x01\x12\x11\n\rSERVER_CLIENT\x10\x02\"\xab\x01\n\x16MySqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\"\x84\x02\n\x1bPostgreSqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\x12R\n\x14network_architecture\x18\x08 \x01(\x0e\x32\x34.google.events.cloud.clouddms.v1.NetworkArchitecture\"\xbb\x01\n\x19\x43loudSqlConnectionProfile\x12\x14\n\x0c\x63loud_sql_id\x18\x01 \x01(\t\x12\x43\n\x08settings\x18\x02 \x01(\x0b\x32\x31.google.events.cloud.clouddms.v1.CloudSqlSettings\x12\x12\n\nprivate_ip\x18\x03 \x01(\t\x12\x11\n\tpublic_ip\x18\x04 \x01(\t\x12\x1c\n\x14\x61\x64\x64itional_public_ip\x18\x05 \x01(\t\"r\n\x18\x41lloyDbConnectionProfile\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x42\n\x08settings\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.clouddms.v1.AlloyDbSettings\"l\n\x0bSqlAclEntry\x12\r\n\x05value\x18\x01 \x01(\t\x12\x31\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\r\n\x05label\x18\x03 \x01(\tB\x0c\n\nexpiration\"\xd3\x01\n\x0bSqlIpConfig\x12/\n\x0b\x65nable_ipv4\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0fprivate_network\x18\x02 \x01(\t\x12/\n\x0brequire_ssl\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12I\n\x13\x61uthorized_networks\x18\x04 \x03(\x0b\x32,.google.events.cloud.clouddms.v1.SqlAclEntry\"\xfc\x0b\n\x10\x43loudSqlSettings\x12^\n\x10\x64\x61tabase_version\x18\x01 \x01(\x0e\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion\x12V\n\x0buser_labels\x18\x02 \x03(\x0b\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.UserLabelsEntry\x12\x0c\n\x04tier\x18\x03 \x01(\t\x12>\n\x19storage_auto_resize_limit\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12`\n\x11\x61\x63tivation_policy\x18\x05 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy\x12?\n\tip_config\x18\x06 \x01(\x0b\x32,.google.events.cloud.clouddms.v1.SqlIpConfig\x12\x39\n\x15\x61uto_storage_increase\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\\\n\x0e\x64\x61tabase_flags\x18\x08 \x03(\x0b\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.DatabaseFlagsEntry\x12Y\n\x0e\x64\x61ta_disk_type\x18\t \x01(\x0e\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType\x12\x36\n\x11\x64\x61ta_disk_size_gb\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x0c\n\x04zone\x18\x0b \x01(\t\x12\x16\n\x0esecondary_zone\x18\x12 \x01(\t\x12\x11\n\tsource_id\x18\x0c \x01(\t\x12\x19\n\x11root_password_set\x18\x0e \x01(\x08\x12\x11\n\tcollation\x18\x0f \x01(\t\x12\x15\n\rcmek_key_name\x18\x10 \x01(\t\x12`\n\x11\x61vailability_type\x18\x11 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType\x1a\x31\n\x0fUserLabelsEntry\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\"S\n\x13SqlActivationPolicy\x12%\n!SQL_ACTIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02\"M\n\x0fSqlDataDiskType\x12\"\n\x1eSQL_DATA_DISK_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PD_SSD\x10\x01\x12\n\n\x06PD_HDD\x10\x02\"\xce\x01\n\x12SqlDatabaseVersion\x12$\n SQL_DATABASE_VERSION_UNSPECIFIED\x10\x00\x12\r\n\tMYSQL_5_6\x10\x01\x12\r\n\tMYSQL_5_7\x10\x02\x12\x10\n\x0cPOSTGRES_9_6\x10\x03\x12\x0f\n\x0bPOSTGRES_11\x10\x04\x12\x0f\n\x0bPOSTGRES_10\x10\x05\x12\r\n\tMYSQL_8_0\x10\x06\x12\x0f\n\x0bPOSTGRES_12\x10\x07\x12\x0f\n\x0bPOSTGRES_13\x10\x08\x12\x0f\n\x0bPOSTGRES_14\x10\x11\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\xd4\x06\n\x0f\x41lloyDbSettings\x12\x13\n\x0bvpc_network\x18\x02 \x01(\t\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.google.events.cloud.clouddms.v1.AlloyDbSettings.LabelsEntry\x12k\n\x19primary_instance_settings\x18\x04 \x01(\x0b\x32H.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings\x1a\x32\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x14\n\x0cpassword_set\x18\x03 \x01(\x08\x1a\x8d\x04\n\x17PrimaryInstanceSettings\x12\n\n\x02id\x18\x01 \x01(\t\x12n\n\x0emachine_config\x18\x02 \x01(\x0b\x32V.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig\x12s\n\x0e\x64\x61tabase_flags\x18\x06 \x03(\x0b\x32[.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.DatabaseFlagsEntry\x12\x64\n\x06labels\x18\x07 \x03(\x0b\x32T.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.LabelsEntry\x12\x12\n\nprivate_ip\x18\x08 \x01(\t\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\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-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14StaticIpConnectivity\"Q\n\x16ReverseSshConnectivity\x12\r\n\x05vm_ip\x18\x01 \x01(\t\x12\x0f\n\x07vm_port\x18\x02 \x01(\x05\x12\n\n\x02vm\x18\x03 \x01(\t\x12\x0b\n\x03vpc\x18\x04 \x01(\t\"%\n\x16VpcPeeringConnectivity\x12\x0b\n\x03vpc\x18\x01 \x01(\t\"\x94\x01\n\x0c\x44\x61tabaseType\x12\x43\n\x08provider\x18\x01 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x12?\n\x06\x65ngine\x18\x02 \x01(\x0e\x32/.google.events.cloud.clouddms.v1.DatabaseEngine\"\xd6\r\n\x0cMigrationJob\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\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.events.cloud.clouddms.v1.MigrationJob.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.State\x12\x42\n\x05phase\x18\x07 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.Phase\x12@\n\x04type\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.MigrationJob.Type\x12\x11\n\tdump_path\x18\t \x01(\t\x12K\n\ndump_flags\x18\x11 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags\x12\x0e\n\x06source\x18\n \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x0b \x01(\t\x12[\n\x18reverse_ssh_connectivity\x18\x65 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.ReverseSshConnectivityH\x00\x12[\n\x18vpc_peering_connectivity\x18\x66 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.VpcPeeringConnectivityH\x00\x12W\n\x16static_ip_connectivity\x18g \x01(\x0b\x32\x35.google.events.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12+\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12!\n\x05\x65rror\x18\r \x01(\x0b\x32\x12.google.rpc.Status\x12\x46\n\x0fsource_database\x18\x0e \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12K\n\x14\x64\x65stination_database\x18\x0f \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12,\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\'\n\x08\x44umpFlag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aW\n\tDumpFlags\x12J\n\ndump_flags\x18\x01 \x03(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJob.DumpFlag\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf1\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMAINTENANCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0b\n\x07RUNNING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCOMPLETED\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0b\n\x07\x44\x45LETED\x10\x0b\x12\x0c\n\x08UPDATING\x10\x0c\x12\x0c\n\x08STARTING\x10\r\x12\x0e\n\nRESTARTING\x10\x0e\x12\x0c\n\x08RESUMING\x10\x0f\"\x8e\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_DUMP\x10\x01\x12\x07\n\x03\x43\x44\x43\x10\x02\x12\x17\n\x13PROMOTE_IN_PROGRESS\x10\x03\x12%\n!WAITING_FOR_SOURCE_WRITES_TO_STOP\x10\x04\x12\x16\n\x12PREPARING_THE_DUMP\x10\x05\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02\x42\x0e\n\x0c\x63onnectivity\"\x94\x07\n\x11\x43onnectionProfile\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\x12N\n\x06labels\x18\x04 \x03(\x0b\x32>.google.events.cloud.clouddms.v1.ConnectionProfile.LabelsEntry\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x38.google.events.cloud.clouddms.v1.ConnectionProfile.State\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12H\n\x05mysql\x18\x64 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MySqlConnectionProfileH\x00\x12R\n\npostgresql\x18\x65 \x01(\x0b\x32<.google.events.cloud.clouddms.v1.PostgreSqlConnectionProfileH\x00\x12N\n\x08\x63loudsql\x18\x66 \x01(\x0b\x32:.google.events.cloud.clouddms.v1.CloudSqlConnectionProfileH\x00\x12L\n\x07\x61lloydb\x18i \x01(\x0b\x32\x39.google.events.cloud.clouddms.v1.AlloyDbConnectionProfileH\x00\x12!\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.Status\x12\x43\n\x08provider\x18\x08 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x42\x14\n\x12\x63onnection_profile\"r\n\x1a\x43onnectionProfileEventData\x12H\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.clouddms.v1.ConnectionProfileH\x00\x88\x01\x01\x42\n\n\x08_payload\"h\n\x15MigrationJobEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.clouddms.v1.MigrationJobH\x00\x88\x01\x01\x42\n\n\x08_payload*\x93\x01\n\x13NetworkArchitecture\x12$\n NETWORK_ARCHITECTURE_UNSPECIFIED\x10\x00\x12*\n&NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER\x10\x01\x12*\n&NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER\x10\x02*L\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02*e\n\x10\x44\x61tabaseProvider\x12!\n\x1d\x44\x41TABASE_PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43LOUDSQL\x10\x01\x12\x07\n\x03RDS\x10\x02\x12\n\n\x06\x41URORA\x10\x03\x12\x0b\n\x07\x41LLOYDB\x10\x04\x42s\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::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.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
|
30
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
31
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
252
37
|
end
|
253
38
|
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
254
41
|
end
|
255
42
|
|
256
43
|
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/clouddms/v1/events.proto
|
3
4
|
|
@@ -6,27 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/events/cloud/clouddms/v1/data_pb'
|
7
8
|
require 'google/events/cloudevent_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
10
|
+
|
11
|
+
descriptor_data = "\n,google/events/cloud/clouddms/v1/events.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a*google/events/cloud/clouddms/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa5\x01\n\x18MigrationJobCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.created\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.updated\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.deleted\xca\xf8\xd8,\x0cmigrationjob\"\xb9\x01\n\x1d\x43onnectionProfileCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.created\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileUpdatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.updated\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.deleted\xca\xf8\xd8,\x11\x63onnectionprofileB\xd1\x02\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::V1\xba\xf8\xd8,\x12\x44\x61tabase Migration\xc2\xf8\xd8,W\n\x0cmigrationjob\x12\x39The resource ID of the MigrationJob triggering the event.\x1a\x0cmigrationJob\xc2\xf8\xd8,f\n\x11\x63onnectionprofile\x12>The resource ID of the ConnectionProfile triggering the event.\x1a\x11\x63onnectionProfileb\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.clouddms.v1.MigrationJobEventData", "google/events/cloud/clouddms/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}"
|
28
32
|
end
|
29
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."
|
30
36
|
end
|
31
37
|
|
32
38
|
module Google
|