google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -2
@@ -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/functions/v2/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/functions/v2/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/functions/v2/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.functions.v2.FunctionCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
13
- end
14
- add_message "google.events.cloud.functions.v2.FunctionUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
16
- end
17
- add_message "google.events.cloud.functions.v2.FunctionDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.functions.v2.FunctionEventData"
10
+
11
+ descriptor_data = "\n-google/events/cloud/functions/v2/events.proto\x12 google.events.cloud.functions.v2\x1a+google/events/cloud/functions/v2/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x14\x46unctionCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.created\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.updated\xca\xf8\xd8,\x08\x66unction\"\x97\x01\n\x14\x46unctionDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.functions.v2.FunctionEventData:<\xb2\xf8\xd8,*google.cloud.functions.function.v2.deleted\xca\xf8\xd8,\x08\x66unctionB\xd0\x01\xaa\x02)Google.Events.Protobuf.Cloud.Functions.V2\xca\x02 Google\\Events\\Cloud\\Functions\\V2\xea\x02$Google::Events::Cloud::Functions::V2\xba\xf8\xd8,\x0f\x43loud Functions\xc2\xf8\xd8,A\n\x08\x66unction\x12\x35The resource ID of the Function triggering the event.b\x06proto3"
12
+
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.functions.v2.FunctionEventData", "google/events/cloud/functions/v2/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
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."
21
36
  end
22
37
 
23
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/gkebackup/v1/data.proto
3
4
 
@@ -5,197 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/gkebackup/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.gkebackup.v1.Namespaces" do
11
- repeated :namespaces, :string, 1
12
- end
13
- add_message "google.events.cloud.gkebackup.v1.NamespacedName" do
14
- optional :namespace, :string, 1
15
- optional :name, :string, 2
16
- end
17
- add_message "google.events.cloud.gkebackup.v1.NamespacedNames" do
18
- repeated :namespaced_names, :message, 1, "google.events.cloud.gkebackup.v1.NamespacedName"
19
- end
20
- add_message "google.events.cloud.gkebackup.v1.EncryptionKey" do
21
- optional :gcp_kms_encryption_key, :string, 1
22
- end
23
- add_message "google.events.cloud.gkebackup.v1.Backup" do
24
- optional :name, :string, 1
25
- optional :uid, :string, 2
26
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
27
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
28
- optional :manual, :bool, 5
29
- map :labels, :string, :string, 6
30
- optional :delete_lock_days, :int32, 7
31
- optional :delete_lock_expire_time, :message, 8, "google.protobuf.Timestamp"
32
- optional :retain_days, :int32, 9
33
- optional :retain_expire_time, :message, 10, "google.protobuf.Timestamp"
34
- optional :encryption_key, :message, 11, "google.events.cloud.gkebackup.v1.EncryptionKey"
35
- optional :contains_volume_data, :bool, 15
36
- optional :contains_secrets, :bool, 16
37
- optional :cluster_metadata, :message, 17, "google.events.cloud.gkebackup.v1.Backup.ClusterMetadata"
38
- optional :state, :enum, 18, "google.events.cloud.gkebackup.v1.Backup.State"
39
- optional :state_reason, :string, 19
40
- optional :complete_time, :message, 20, "google.protobuf.Timestamp"
41
- optional :resource_count, :int32, 21
42
- optional :volume_count, :int32, 22
43
- optional :size_bytes, :int64, 23
44
- optional :etag, :string, 24
45
- optional :description, :string, 25
46
- optional :pod_count, :int32, 26
47
- optional :config_backup_size_bytes, :int64, 27
48
- oneof :backup_scope do
49
- optional :all_namespaces, :bool, 12
50
- optional :selected_namespaces, :message, 13, "google.events.cloud.gkebackup.v1.Namespaces"
51
- optional :selected_applications, :message, 14, "google.events.cloud.gkebackup.v1.NamespacedNames"
52
- end
53
- end
54
- add_message "google.events.cloud.gkebackup.v1.Backup.ClusterMetadata" do
55
- optional :cluster, :string, 1
56
- optional :k8s_version, :string, 2
57
- map :backup_crd_versions, :string, :string, 3
58
- oneof :platform_version do
59
- optional :gke_version, :string, 4
60
- optional :anthos_version, :string, 5
61
- end
62
- end
63
- add_enum "google.events.cloud.gkebackup.v1.Backup.State" do
64
- value :STATE_UNSPECIFIED, 0
65
- value :CREATING, 1
66
- value :IN_PROGRESS, 2
67
- value :SUCCEEDED, 3
68
- value :FAILED, 4
69
- value :DELETING, 5
70
- end
71
- add_message "google.events.cloud.gkebackup.v1.BackupPlan" do
72
- optional :name, :string, 1
73
- optional :uid, :string, 2
74
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
75
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
76
- optional :description, :string, 5
77
- optional :cluster, :string, 6
78
- optional :retention_policy, :message, 7, "google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy"
79
- map :labels, :string, :string, 8
80
- optional :backup_schedule, :message, 9, "google.events.cloud.gkebackup.v1.BackupPlan.Schedule"
81
- optional :etag, :string, 10
82
- optional :deactivated, :bool, 11
83
- optional :backup_config, :message, 12, "google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig"
84
- optional :protected_pod_count, :int32, 13
85
- end
86
- add_message "google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy" do
87
- optional :backup_delete_lock_days, :int32, 1
88
- optional :backup_retain_days, :int32, 2
89
- optional :locked, :bool, 3
90
- end
91
- add_message "google.events.cloud.gkebackup.v1.BackupPlan.Schedule" do
92
- optional :cron_schedule, :string, 1
93
- optional :paused, :bool, 2
94
- end
95
- add_message "google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig" do
96
- optional :include_volume_data, :bool, 4
97
- optional :include_secrets, :bool, 5
98
- optional :encryption_key, :message, 6, "google.events.cloud.gkebackup.v1.EncryptionKey"
99
- oneof :backup_scope do
100
- optional :all_namespaces, :bool, 1
101
- optional :selected_namespaces, :message, 2, "google.events.cloud.gkebackup.v1.Namespaces"
102
- optional :selected_applications, :message, 3, "google.events.cloud.gkebackup.v1.NamespacedNames"
103
- end
104
- end
105
- add_message "google.events.cloud.gkebackup.v1.Restore" do
106
- optional :name, :string, 1
107
- optional :uid, :string, 2
108
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
109
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
110
- optional :description, :string, 5
111
- optional :backup, :string, 6
112
- optional :cluster, :string, 7
113
- optional :restore_config, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig"
114
- map :labels, :string, :string, 9
115
- optional :state, :enum, 10, "google.events.cloud.gkebackup.v1.Restore.State"
116
- optional :state_reason, :string, 11
117
- optional :complete_time, :message, 12, "google.protobuf.Timestamp"
118
- optional :resources_restored_count, :int32, 13
119
- optional :resources_excluded_count, :int32, 14
120
- optional :resources_failed_count, :int32, 15
121
- optional :volumes_restored_count, :int32, 16
122
- optional :etag, :string, 17
123
- end
124
- add_enum "google.events.cloud.gkebackup.v1.Restore.State" do
125
- value :STATE_UNSPECIFIED, 0
126
- value :CREATING, 1
127
- value :IN_PROGRESS, 2
128
- value :SUCCEEDED, 3
129
- value :FAILED, 4
130
- value :DELETING, 5
131
- end
132
- add_message "google.events.cloud.gkebackup.v1.RestoreConfig" do
133
- optional :volume_data_restore_policy, :enum, 1, "google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy"
134
- optional :cluster_resource_conflict_policy, :enum, 2, "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy"
135
- optional :namespaced_resource_restore_mode, :enum, 3, "google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode"
136
- optional :cluster_resource_restore_scope, :message, 4, "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope"
137
- repeated :substitution_rules, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule"
138
- oneof :namespaced_resource_restore_scope do
139
- optional :all_namespaces, :bool, 5
140
- optional :selected_namespaces, :message, 6, "google.events.cloud.gkebackup.v1.Namespaces"
141
- optional :selected_applications, :message, 7, "google.events.cloud.gkebackup.v1.NamespacedNames"
142
- end
143
- end
144
- add_message "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind" do
145
- optional :resource_group, :string, 1
146
- optional :resource_kind, :string, 2
147
- end
148
- add_message "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope" do
149
- repeated :selected_group_kinds, :message, 1, "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind"
150
- end
151
- add_message "google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule" do
152
- repeated :target_namespaces, :string, 1
153
- repeated :target_group_kinds, :message, 2, "google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind"
154
- optional :target_json_path, :string, 3
155
- optional :original_value_pattern, :string, 4
156
- optional :new_value, :string, 5
157
- end
158
- add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy" do
159
- value :VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED, 0
160
- value :RESTORE_VOLUME_DATA_FROM_BACKUP, 1
161
- value :REUSE_VOLUME_HANDLE_FROM_BACKUP, 2
162
- value :NO_VOLUME_DATA_RESTORATION, 3
163
- end
164
- add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy" do
165
- value :CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED, 0
166
- value :USE_EXISTING_VERSION, 1
167
- value :USE_BACKUP_VERSION, 2
168
- end
169
- add_enum "google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode" do
170
- value :NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED, 0
171
- value :DELETE_AND_RESTORE, 1
172
- value :FAIL_ON_CONFLICT, 2
173
- end
174
- add_message "google.events.cloud.gkebackup.v1.RestorePlan" do
175
- optional :name, :string, 1
176
- optional :uid, :string, 2
177
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
178
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
179
- optional :description, :string, 5
180
- optional :backup_plan, :string, 6
181
- optional :cluster, :string, 7
182
- optional :restore_config, :message, 8, "google.events.cloud.gkebackup.v1.RestoreConfig"
183
- map :labels, :string, :string, 9
184
- optional :etag, :string, 10
185
- end
186
- add_message "google.events.cloud.gkebackup.v1.RestorePlanEventData" do
187
- proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlan"
188
- end
189
- add_message "google.events.cloud.gkebackup.v1.BackupEventData" do
190
- proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.Backup"
191
- end
192
- add_message "google.events.cloud.gkebackup.v1.BackupPlanEventData" do
193
- proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlan"
194
- end
195
- add_message "google.events.cloud.gkebackup.v1.RestoreEventData" do
196
- proto3_optional :payload, :message, 1, "google.events.cloud.gkebackup.v1.Restore"
9
+
10
+ descriptor_data = "\n+google/events/cloud/gkebackup/v1/data.proto\x12 google.events.cloud.gkebackup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\" \n\nNamespaces\x12\x12\n\nnamespaces\x18\x01 \x03(\t\"1\n\x0eNamespacedName\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"]\n\x0fNamespacedNames\x12J\n\x10namespaced_names\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.gkebackup.v1.NamespacedName\"/\n\rEncryptionKey\x12\x1e\n\x16gcp_kms_encryption_key\x18\x01 \x01(\t\"\xff\x0b\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06manual\x18\x05 \x01(\x08\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.events.cloud.gkebackup.v1.Backup.LabelsEntry\x12\x18\n\x10\x64\x65lete_lock_days\x18\x07 \x01(\x05\x12;\n\x17\x64\x65lete_lock_expire_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bretain_days\x18\t \x01(\x05\x12\x36\n\x12retain_expire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0e\x65ncryption_key\x18\x0b \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKey\x12\x18\n\x0e\x61ll_namespaces\x18\x0c \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\r \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x0e \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1c\n\x14\x63ontains_volume_data\x18\x0f \x01(\x08\x12\x18\n\x10\x63ontains_secrets\x18\x10 \x01(\x08\x12R\n\x10\x63luster_metadata\x18\x11 \x01(\x0b\x32\x38.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata\x12=\n\x05state\x18\x12 \x01(\x0e\x32..google.events.cloud.gkebackup.v1.Backup.State\x12\x14\n\x0cstate_reason\x18\x13 \x01(\t\x12\x31\n\rcomplete_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eresource_count\x18\x15 \x01(\x05\x12\x14\n\x0cvolume_count\x18\x16 \x01(\x05\x12\x12\n\nsize_bytes\x18\x17 \x01(\x03\x12\x0c\n\x04\x65tag\x18\x18 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x19 \x01(\t\x12\x11\n\tpod_count\x18\x1a \x01(\x05\x12 \n\x18\x63onfig_backup_size_bytes\x18\x1b \x01(\x03\x1a\xa4\x02\n\x0f\x43lusterMetadata\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x13\n\x0bk8s_version\x18\x02 \x01(\t\x12l\n\x13\x62\x61\x63kup_crd_versions\x18\x03 \x03(\x0b\x32O.google.events.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntry\x12\x15\n\x0bgke_version\x18\x04 \x01(\tH\x00\x12\x18\n\x0e\x61nthos_version\x18\x05 \x01(\tH\x00\x1a\x38\n\x16\x42\x61\x63kupCrdVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10platform_version\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x42\x0e\n\x0c\x62\x61\x63kup_scope\"\xd0\x08\n\nBackupPlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07\x63luster\x18\x06 \x01(\t\x12V\n\x10retention_policy\x18\x07 \x01(\x0b\x32<.google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy\x12H\n\x06labels\x18\x08 \x03(\x0b\x32\x38.google.events.cloud.gkebackup.v1.BackupPlan.LabelsEntry\x12N\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlan.Schedule\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x12P\n\rbackup_config\x18\x0c \x01(\x0b\x32\x39.google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig\x12\x1b\n\x13protected_pod_count\x18\r \x01(\x05\x1a^\n\x0fRetentionPolicy\x12\x1f\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x12\x1a\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x12\x0e\n\x06locked\x18\x03 \x01(\x08\x1a\x31\n\x08Schedule\x12\x15\n\rcron_schedule\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x1a\xd8\x02\n\x0c\x42\x61\x63kupConfig\x12\x18\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x03 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x1b\n\x13include_volume_data\x18\x04 \x01(\x08\x12\x17\n\x0finclude_secrets\x18\x05 \x01(\x08\x12G\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.EncryptionKeyB\x0e\n\x0c\x62\x61\x63kup_scope\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfe\x05\n\x07Restore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06\x62\x61\x63kup\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12\x45\n\x06labels\x18\t \x03(\x0b\x32\x35.google.events.cloud.gkebackup.v1.Restore.LabelsEntry\x12>\n\x05state\x18\n \x01(\x0e\x32/.google.events.cloud.gkebackup.v1.Restore.State\x12\x14\n\x0cstate_reason\x18\x0b \x01(\t\x12\x31\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18resources_restored_count\x18\r \x01(\x05\x12 \n\x18resources_excluded_count\x18\x0e \x01(\x05\x12\x1e\n\x16resources_failed_count\x18\x0f \x01(\x05\x12\x1e\n\x16volumes_restored_count\x18\x10 \x01(\x05\x12\x0c\n\x04\x65tag\x18\x11 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\"\xe2\x0c\n\rRestoreConfig\x12k\n\x1avolume_data_restore_policy\x18\x01 \x01(\x0e\x32G.google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy\x12w\n cluster_resource_conflict_policy\x18\x02 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy\x12w\n namespaced_resource_restore_mode\x18\x03 \x01(\x0e\x32M.google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode\x12s\n\x1e\x63luster_resource_restore_scope\x18\x04 \x01(\x0b\x32K.google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope\x12\x18\n\x0e\x61ll_namespaces\x18\x05 \x01(\x08H\x00\x12K\n\x13selected_namespaces\x18\x06 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.NamespacesH\x00\x12R\n\x15selected_applications\x18\x07 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\\\n\x12substitution_rules\x18\x08 \x03(\x0b\x32@.google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule\x1a:\n\tGroupKind\x12\x16\n\x0eresource_group\x18\x01 \x01(\t\x12\x15\n\rresource_kind\x18\x02 \x01(\t\x1av\n\x1b\x43lusterResourceRestoreScope\x12W\n\x14selected_group_kinds\x18\x01 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x1a\xd1\x01\n\x10SubstitutionRule\x12\x19\n\x11target_namespaces\x18\x01 \x03(\t\x12U\n\x12target_group_kinds\x18\x02 \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x18\n\x10target_json_path\x18\x03 \x01(\t\x12\x1e\n\x16original_value_pattern\x18\x04 \x01(\t\x12\x11\n\tnew_value\x18\x05 \x01(\t\"\xaf\x01\n\x17VolumeDataRestorePolicy\x12*\n&VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED\x10\x00\x12#\n\x1fRESTORE_VOLUME_DATA_FROM_BACKUP\x10\x01\x12#\n\x1fREUSE_VOLUME_HANDLE_FROM_BACKUP\x10\x02\x12\x1e\n\x1aNO_VOLUME_DATA_RESTORATION\x10\x03\"\x83\x01\n\x1d\x43lusterResourceConflictPolicy\x12\x30\n,CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12\x18\n\x14USE_EXISTING_VERSION\x10\x01\x12\x16\n\x12USE_BACKUP_VERSION\x10\x02\"\x7f\n\x1dNamespacedResourceRestoreMode\x12\x30\n,NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x45LETE_AND_RESTORE\x10\x01\x12\x14\n\x10\x46\x41IL_ON_CONFLICT\x10\x02\x42#\n!namespaced_resource_restore_scope\"\x96\x03\n\x0bRestorePlan\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61\x63kup_plan\x18\x06 \x01(\t\x12\x0f\n\x07\x63luster\x18\x07 \x01(\t\x12G\n\x0erestore_config\x18\x08 \x01(\x0b\x32/.google.events.cloud.gkebackup.v1.RestoreConfig\x12I\n\x06labels\x18\t \x03(\x0b\x32\x39.google.events.cloud.gkebackup.v1.RestorePlan.LabelsEntry\x12\x0c\n\x04\x65tag\x18\n \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\x14RestorePlanEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkebackup.v1.RestorePlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x0f\x42\x61\x63kupEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.gkebackup.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"e\n\x13\x42\x61\x63kupPlanEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.gkebackup.v1.BackupPlanH\x00\x88\x01\x01\x42\n\n\x08_payload\"_\n\x10RestoreEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.gkebackup.v1.RestoreH\x00\x88\x01\x01\x42\n\n\x08_payloadB,\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1b\x06proto3"
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}"
197
31
  end
198
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."
199
35
  end
200
36
 
201
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/gkebackup/v1/events.proto
3
4
 
@@ -6,45 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/gkebackup/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/gkebackup/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.gkebackup.v1.BackupPlanCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
13
- end
14
- add_message "google.events.cloud.gkebackup.v1.BackupPlanUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
16
- end
17
- add_message "google.events.cloud.gkebackup.v1.BackupPlanDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupPlanEventData"
19
- end
20
- add_message "google.events.cloud.gkebackup.v1.BackupCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
22
- end
23
- add_message "google.events.cloud.gkebackup.v1.BackupUpdatedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
25
- end
26
- add_message "google.events.cloud.gkebackup.v1.BackupDeletedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.BackupEventData"
28
- end
29
- add_message "google.events.cloud.gkebackup.v1.RestorePlanCreatedEvent" do
30
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
31
- end
32
- add_message "google.events.cloud.gkebackup.v1.RestorePlanUpdatedEvent" do
33
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
34
- end
35
- add_message "google.events.cloud.gkebackup.v1.RestorePlanDeletedEvent" do
36
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestorePlanEventData"
37
- end
38
- add_message "google.events.cloud.gkebackup.v1.RestoreCreatedEvent" do
39
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
40
- end
41
- add_message "google.events.cloud.gkebackup.v1.RestoreUpdatedEvent" do
42
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
43
- end
44
- add_message "google.events.cloud.gkebackup.v1.RestoreDeletedEvent" do
45
- optional :data, :message, 1, "google.events.cloud.gkebackup.v1.RestoreEventData"
10
+
11
+ descriptor_data = "\n-google/events/cloud/gkebackup/v1/events.proto\x12 google.events.cloud.gkebackup.v1\x1a+google/events/cloud/gkebackup/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9f\x01\n\x16\x42\x61\x63kupPlanCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.created\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.updated\xca\xf8\xd8,\nbackupplan\"\x9f\x01\n\x16\x42\x61\x63kupPlanDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.gkebackup.v1.BackupPlanEventData:@\xb2\xf8\xd8,,google.cloud.gkebackup.backupPlan.v1.deleted\xca\xf8\xd8,\nbackupplan\"\x9e\x01\n\x12\x42\x61\x63kupCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.created\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.updated\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9e\x01\n\x12\x42\x61\x63kupDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.gkebackup.v1.BackupEventData:G\xb2\xf8\xd8,(google.cloud.gkebackup.backup.v1.deleted\xca\xf8\xd8,\nbackupplan\xca\xf8\xd8,\x06\x62\x61\x63kup\"\xa3\x01\n\x17RestorePlanCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.created\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.updated\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x17RestorePlanDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.gkebackup.v1.RestorePlanEventData:B\xb2\xf8\xd8,-google.cloud.gkebackup.restorePlan.v1.deleted\xca\xf8\xd8,\x0brestoreplan\"\xa3\x01\n\x13RestoreCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.created\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.updated\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restore\"\xa3\x01\n\x13RestoreDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkebackup.v1.RestoreEventData:J\xb2\xf8\xd8,)google.cloud.gkebackup.restore.v1.deleted\xca\xf8\xd8,\x0brestoreplan\xca\xf8\xd8,\x07restoreB\xf4\x02\xaa\x02)Google.Events.Protobuf.Cloud.GkeBackup.V1\xba\xf8\xd8,\x0e\x42\x61\x63kup for GKE\xc2\xf8\xd8,Q\n\nbackupplan\x12\x37The resource ID of the BackupPlan triggering the event.\x1a\nbackupPlan\xc2\xf8\xd8,=\n\x06\x62\x61\x63kup\x12\x33The resource ID of the Backup triggering the event.\xc2\xf8\xd8,T\n\x0brestoreplan\x12\x38The resource ID of the RestorePlan triggering the event.\x1a\x0brestorePlan\xc2\xf8\xd8,?\n\x07restore\x12\x34The resource ID of the Restore triggering the event.b\x06proto3"
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.gkebackup.v1.BackupPlanEventData", "google/events/cloud/gkebackup/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
46
32
  end
47
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."
48
36
  end
49
37
 
50
38
  module Google
@@ -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