google-events 0.a → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +11 -0
- data/CHANGELOG.md +11 -0
- data/LICENSE +202 -0
- data/README.md +27 -8
- data/SECURITY.md +7 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +110 -0
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +59 -0
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +123 -0
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +79 -0
- data/lib/google/events/cloud/audit/v1/data_pb.rb +128 -0
- data/lib/google/events/cloud/audit/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +74 -0
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +37 -0
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +74 -0
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +37 -0
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +66 -0
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +33 -0
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +79 -0
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +37 -0
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +47 -0
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +33 -0
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +206 -0
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +79 -0
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +207 -0
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +299 -0
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +47 -0
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +245 -0
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +27 -0
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +143 -0
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +43 -0
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +721 -0
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +131 -0
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +364 -0
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +63 -0
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +125 -0
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +55 -0
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +65 -0
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +39 -0
- data/lib/google/events/cloud/functions/v2/data_pb.rb +198 -0
- data/lib/google/events/cloud/functions/v2/events_pb.rb +35 -0
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +235 -0
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +71 -0
- data/lib/google/events/cloud/iot/v1/data_pb.rb +177 -0
- data/lib/google/events/cloud/iot/v1/events_pb.rb +47 -0
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +120 -0
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +35 -0
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +35 -0
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -0
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/storage/v1/data_pb.rb +59 -0
- data/lib/google/events/cloud/storage/v1/events_pb.rb +39 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +46 -0
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +35 -0
- data/lib/google/events/cloudevent_pb.rb +22 -0
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +106 -0
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +27 -0
- data/lib/google/events/firebase/auth/v1/data_pb.rb +49 -0
- data/lib/google/events/firebase/auth/v1/events_pb.rb +31 -0
- data/lib/google/events/firebase/database/v1/data_pb.rb +27 -0
- data/lib/google/events/firebase/database/v1/events_pb.rb +39 -0
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +115 -0
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +29 -0
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +27 -0
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +52 -0
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +27 -0
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +61 -0
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +27 -0
- data/lib/google/events/version.rb +8 -2
- data/lib/google/events.rb +25 -0
- data/lib/google-events.rb +17 -0
- metadata +114 -17
- data/LICENSE.md +0 -201
@@ -0,0 +1,235 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/events/cloud/gkebackup/v1/data.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
|
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"
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
module Google
|
202
|
+
module Events
|
203
|
+
module Cloud
|
204
|
+
module Gkebackup
|
205
|
+
module V1
|
206
|
+
Namespaces = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Namespaces").msgclass
|
207
|
+
NamespacedName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.NamespacedName").msgclass
|
208
|
+
NamespacedNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.NamespacedNames").msgclass
|
209
|
+
EncryptionKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.EncryptionKey").msgclass
|
210
|
+
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup").msgclass
|
211
|
+
Backup::ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup.ClusterMetadata").msgclass
|
212
|
+
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Backup.State").enummodule
|
213
|
+
BackupPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan").msgclass
|
214
|
+
BackupPlan::RetentionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.RetentionPolicy").msgclass
|
215
|
+
BackupPlan::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.Schedule").msgclass
|
216
|
+
BackupPlan::BackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlan.BackupConfig").msgclass
|
217
|
+
Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Restore").msgclass
|
218
|
+
Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.Restore.State").enummodule
|
219
|
+
RestoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig").msgclass
|
220
|
+
RestoreConfig::GroupKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.GroupKind").msgclass
|
221
|
+
RestoreConfig::ClusterResourceRestoreScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope").msgclass
|
222
|
+
RestoreConfig::SubstitutionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule").msgclass
|
223
|
+
RestoreConfig::VolumeDataRestorePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy").enummodule
|
224
|
+
RestoreConfig::ClusterResourceConflictPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy").enummodule
|
225
|
+
RestoreConfig::NamespacedResourceRestoreMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode").enummodule
|
226
|
+
RestorePlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlan").msgclass
|
227
|
+
RestorePlanEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanEventData").msgclass
|
228
|
+
BackupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupEventData").msgclass
|
229
|
+
BackupPlanEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanEventData").msgclass
|
230
|
+
RestoreEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreEventData").msgclass
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/events/cloud/gkebackup/v1/events.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/events/cloud/gkebackup/v1/data_pb'
|
7
|
+
require 'google/events/cloudevent_pb'
|
8
|
+
|
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"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Google
|
51
|
+
module Events
|
52
|
+
module Cloud
|
53
|
+
module Gkebackup
|
54
|
+
module V1
|
55
|
+
BackupPlanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanCreatedEvent").msgclass
|
56
|
+
BackupPlanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanUpdatedEvent").msgclass
|
57
|
+
BackupPlanDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupPlanDeletedEvent").msgclass
|
58
|
+
BackupCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupCreatedEvent").msgclass
|
59
|
+
BackupUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupUpdatedEvent").msgclass
|
60
|
+
BackupDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.BackupDeletedEvent").msgclass
|
61
|
+
RestorePlanCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanCreatedEvent").msgclass
|
62
|
+
RestorePlanUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanUpdatedEvent").msgclass
|
63
|
+
RestorePlanDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestorePlanDeletedEvent").msgclass
|
64
|
+
RestoreCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreCreatedEvent").msgclass
|
65
|
+
RestoreUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreUpdatedEvent").msgclass
|
66
|
+
RestoreDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkebackup.v1.RestoreDeletedEvent").msgclass
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,177 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/events/cloud/iot/v1/data.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/rpc/status_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/events/cloud/iot/v1/data.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.events.cloud.iot.v1.Device" do
|
12
|
+
optional :id, :string, 1
|
13
|
+
optional :name, :string, 2
|
14
|
+
optional :num_id, :uint64, 3
|
15
|
+
repeated :credentials, :message, 12, "google.events.cloud.iot.v1.DeviceCredential"
|
16
|
+
optional :last_heartbeat_time, :message, 7, "google.protobuf.Timestamp"
|
17
|
+
optional :last_event_time, :message, 8, "google.protobuf.Timestamp"
|
18
|
+
optional :last_state_time, :message, 20, "google.protobuf.Timestamp"
|
19
|
+
optional :last_config_ack_time, :message, 14, "google.protobuf.Timestamp"
|
20
|
+
optional :last_config_send_time, :message, 18, "google.protobuf.Timestamp"
|
21
|
+
optional :blocked, :bool, 19
|
22
|
+
optional :last_error_time, :message, 10, "google.protobuf.Timestamp"
|
23
|
+
optional :last_error_status, :message, 11, "google.rpc.Status"
|
24
|
+
optional :config, :message, 13, "google.events.cloud.iot.v1.DeviceConfig"
|
25
|
+
optional :state, :message, 16, "google.events.cloud.iot.v1.DeviceState"
|
26
|
+
optional :log_level, :enum, 21, "google.events.cloud.iot.v1.LogLevel"
|
27
|
+
map :metadata, :string, :string, 17
|
28
|
+
optional :gateway_config, :message, 24, "google.events.cloud.iot.v1.GatewayConfig"
|
29
|
+
end
|
30
|
+
add_message "google.events.cloud.iot.v1.GatewayConfig" do
|
31
|
+
optional :gateway_type, :enum, 1, "google.events.cloud.iot.v1.GatewayType"
|
32
|
+
optional :gateway_auth_method, :enum, 2, "google.events.cloud.iot.v1.GatewayAuthMethod"
|
33
|
+
optional :last_accessed_gateway_id, :string, 3
|
34
|
+
optional :last_accessed_gateway_time, :message, 4, "google.protobuf.Timestamp"
|
35
|
+
end
|
36
|
+
add_message "google.events.cloud.iot.v1.DeviceRegistry" do
|
37
|
+
optional :id, :string, 1
|
38
|
+
optional :name, :string, 2
|
39
|
+
repeated :event_notification_configs, :message, 10, "google.events.cloud.iot.v1.EventNotificationConfig"
|
40
|
+
optional :state_notification_config, :message, 7, "google.events.cloud.iot.v1.StateNotificationConfig"
|
41
|
+
optional :mqtt_config, :message, 4, "google.events.cloud.iot.v1.MqttConfig"
|
42
|
+
optional :http_config, :message, 9, "google.events.cloud.iot.v1.HttpConfig"
|
43
|
+
optional :log_level, :enum, 11, "google.events.cloud.iot.v1.LogLevel"
|
44
|
+
repeated :credentials, :message, 8, "google.events.cloud.iot.v1.RegistryCredential"
|
45
|
+
end
|
46
|
+
add_message "google.events.cloud.iot.v1.MqttConfig" do
|
47
|
+
optional :mqtt_enabled_state, :enum, 1, "google.events.cloud.iot.v1.MqttState"
|
48
|
+
end
|
49
|
+
add_message "google.events.cloud.iot.v1.HttpConfig" do
|
50
|
+
optional :http_enabled_state, :enum, 1, "google.events.cloud.iot.v1.HttpState"
|
51
|
+
end
|
52
|
+
add_message "google.events.cloud.iot.v1.EventNotificationConfig" do
|
53
|
+
optional :subfolder_matches, :string, 2
|
54
|
+
optional :pubsub_topic_name, :string, 1
|
55
|
+
end
|
56
|
+
add_message "google.events.cloud.iot.v1.StateNotificationConfig" do
|
57
|
+
optional :pubsub_topic_name, :string, 1
|
58
|
+
end
|
59
|
+
add_message "google.events.cloud.iot.v1.RegistryCredential" do
|
60
|
+
oneof :credential do
|
61
|
+
optional :public_key_certificate, :message, 1, "google.events.cloud.iot.v1.PublicKeyCertificate"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
add_message "google.events.cloud.iot.v1.X509CertificateDetails" do
|
65
|
+
optional :issuer, :string, 1
|
66
|
+
optional :subject, :string, 2
|
67
|
+
optional :start_time, :message, 3, "google.protobuf.Timestamp"
|
68
|
+
optional :expiry_time, :message, 4, "google.protobuf.Timestamp"
|
69
|
+
optional :signature_algorithm, :string, 5
|
70
|
+
optional :public_key_type, :string, 6
|
71
|
+
end
|
72
|
+
add_message "google.events.cloud.iot.v1.PublicKeyCertificate" do
|
73
|
+
optional :format, :enum, 1, "google.events.cloud.iot.v1.PublicKeyCertificateFormat"
|
74
|
+
optional :certificate, :string, 2
|
75
|
+
optional :x509_details, :message, 3, "google.events.cloud.iot.v1.X509CertificateDetails"
|
76
|
+
end
|
77
|
+
add_message "google.events.cloud.iot.v1.DeviceCredential" do
|
78
|
+
optional :expiration_time, :message, 6, "google.protobuf.Timestamp"
|
79
|
+
oneof :credential do
|
80
|
+
optional :public_key, :message, 2, "google.events.cloud.iot.v1.PublicKeyCredential"
|
81
|
+
end
|
82
|
+
end
|
83
|
+
add_message "google.events.cloud.iot.v1.PublicKeyCredential" do
|
84
|
+
optional :format, :enum, 1, "google.events.cloud.iot.v1.PublicKeyFormat"
|
85
|
+
optional :key, :string, 2
|
86
|
+
end
|
87
|
+
add_message "google.events.cloud.iot.v1.DeviceConfig" do
|
88
|
+
optional :version, :int64, 1
|
89
|
+
optional :cloud_update_time, :message, 2, "google.protobuf.Timestamp"
|
90
|
+
optional :device_ack_time, :message, 3, "google.protobuf.Timestamp"
|
91
|
+
optional :binary_data, :bytes, 4
|
92
|
+
end
|
93
|
+
add_message "google.events.cloud.iot.v1.DeviceState" do
|
94
|
+
optional :update_time, :message, 1, "google.protobuf.Timestamp"
|
95
|
+
optional :binary_data, :bytes, 2
|
96
|
+
end
|
97
|
+
add_message "google.events.cloud.iot.v1.DeviceEventData" do
|
98
|
+
proto3_optional :payload, :message, 1, "google.events.cloud.iot.v1.Device"
|
99
|
+
end
|
100
|
+
add_message "google.events.cloud.iot.v1.RegistryEventData" do
|
101
|
+
proto3_optional :payload, :message, 1, "google.events.cloud.iot.v1.DeviceRegistry"
|
102
|
+
end
|
103
|
+
add_enum "google.events.cloud.iot.v1.MqttState" do
|
104
|
+
value :MQTT_STATE_UNSPECIFIED, 0
|
105
|
+
value :MQTT_ENABLED, 1
|
106
|
+
value :MQTT_DISABLED, 2
|
107
|
+
end
|
108
|
+
add_enum "google.events.cloud.iot.v1.HttpState" do
|
109
|
+
value :HTTP_STATE_UNSPECIFIED, 0
|
110
|
+
value :HTTP_ENABLED, 1
|
111
|
+
value :HTTP_DISABLED, 2
|
112
|
+
end
|
113
|
+
add_enum "google.events.cloud.iot.v1.LogLevel" do
|
114
|
+
value :LOG_LEVEL_UNSPECIFIED, 0
|
115
|
+
value :NONE, 10
|
116
|
+
value :ERROR, 20
|
117
|
+
value :INFO, 30
|
118
|
+
value :DEBUG, 40
|
119
|
+
end
|
120
|
+
add_enum "google.events.cloud.iot.v1.GatewayType" do
|
121
|
+
value :GATEWAY_TYPE_UNSPECIFIED, 0
|
122
|
+
value :GATEWAY, 1
|
123
|
+
value :NON_GATEWAY, 2
|
124
|
+
end
|
125
|
+
add_enum "google.events.cloud.iot.v1.GatewayAuthMethod" do
|
126
|
+
value :GATEWAY_AUTH_METHOD_UNSPECIFIED, 0
|
127
|
+
value :ASSOCIATION_ONLY, 1
|
128
|
+
value :DEVICE_AUTH_TOKEN_ONLY, 2
|
129
|
+
value :ASSOCIATION_AND_DEVICE_AUTH_TOKEN, 3
|
130
|
+
end
|
131
|
+
add_enum "google.events.cloud.iot.v1.PublicKeyCertificateFormat" do
|
132
|
+
value :UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT, 0
|
133
|
+
value :X509_CERTIFICATE_PEM, 1
|
134
|
+
end
|
135
|
+
add_enum "google.events.cloud.iot.v1.PublicKeyFormat" do
|
136
|
+
value :UNSPECIFIED_PUBLIC_KEY_FORMAT, 0
|
137
|
+
value :RSA_PEM, 3
|
138
|
+
value :RSA_X509_PEM, 1
|
139
|
+
value :ES256_PEM, 2
|
140
|
+
value :ES256_X509_PEM, 4
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
module Google
|
146
|
+
module Events
|
147
|
+
module Cloud
|
148
|
+
module Iot
|
149
|
+
module V1
|
150
|
+
Device = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.Device").msgclass
|
151
|
+
GatewayConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.GatewayConfig").msgclass
|
152
|
+
DeviceRegistry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeviceRegistry").msgclass
|
153
|
+
MqttConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.MqttConfig").msgclass
|
154
|
+
HttpConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.HttpConfig").msgclass
|
155
|
+
EventNotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.EventNotificationConfig").msgclass
|
156
|
+
StateNotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.StateNotificationConfig").msgclass
|
157
|
+
RegistryCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.RegistryCredential").msgclass
|
158
|
+
X509CertificateDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.X509CertificateDetails").msgclass
|
159
|
+
PublicKeyCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.PublicKeyCertificate").msgclass
|
160
|
+
DeviceCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeviceCredential").msgclass
|
161
|
+
PublicKeyCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.PublicKeyCredential").msgclass
|
162
|
+
DeviceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeviceConfig").msgclass
|
163
|
+
DeviceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeviceState").msgclass
|
164
|
+
DeviceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeviceEventData").msgclass
|
165
|
+
RegistryEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.RegistryEventData").msgclass
|
166
|
+
MqttState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.MqttState").enummodule
|
167
|
+
HttpState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.HttpState").enummodule
|
168
|
+
LogLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.LogLevel").enummodule
|
169
|
+
GatewayType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.GatewayType").enummodule
|
170
|
+
GatewayAuthMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.GatewayAuthMethod").enummodule
|
171
|
+
PublicKeyCertificateFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.PublicKeyCertificateFormat").enummodule
|
172
|
+
PublicKeyFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.PublicKeyFormat").enummodule
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/events/cloud/iot/v1/events.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/events/cloud/iot/v1/data_pb'
|
7
|
+
require 'google/events/cloudevent_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/events/cloud/iot/v1/events.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.events.cloud.iot.v1.CreateDeviceEvent" do
|
12
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
|
13
|
+
end
|
14
|
+
add_message "google.events.cloud.iot.v1.UpdateDeviceEvent" do
|
15
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
|
16
|
+
end
|
17
|
+
add_message "google.events.cloud.iot.v1.DeleteDeviceEvent" do
|
18
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
|
19
|
+
end
|
20
|
+
add_message "google.events.cloud.iot.v1.CreateDeviceRegistryEvent" do
|
21
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
|
22
|
+
end
|
23
|
+
add_message "google.events.cloud.iot.v1.UpdateDeviceRegistryEvent" do
|
24
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
|
25
|
+
end
|
26
|
+
add_message "google.events.cloud.iot.v1.DeleteDeviceRegistryEvent" do
|
27
|
+
optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
module Google
|
33
|
+
module Events
|
34
|
+
module Cloud
|
35
|
+
module Iot
|
36
|
+
module V1
|
37
|
+
CreateDeviceEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.CreateDeviceEvent").msgclass
|
38
|
+
UpdateDeviceEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.UpdateDeviceEvent").msgclass
|
39
|
+
DeleteDeviceEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeleteDeviceEvent").msgclass
|
40
|
+
CreateDeviceRegistryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.CreateDeviceRegistryEvent").msgclass
|
41
|
+
UpdateDeviceRegistryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.UpdateDeviceRegistryEvent").msgclass
|
42
|
+
DeleteDeviceRegistryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.iot.v1.DeleteDeviceRegistryEvent").msgclass
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/events/cloud/memcache/v1/data.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/type/dayofweek_pb'
|
9
|
+
require 'google/type/timeofday_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/events/cloud/memcache/v1/data.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.events.cloud.memcache.v1.Instance" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :display_name, :string, 2
|
16
|
+
map :labels, :string, :string, 3
|
17
|
+
optional :authorized_network, :string, 4
|
18
|
+
repeated :zones, :string, 5
|
19
|
+
optional :node_count, :int32, 6
|
20
|
+
optional :node_config, :message, 7, "google.events.cloud.memcache.v1.Instance.NodeConfig"
|
21
|
+
optional :memcache_version, :enum, 9, "google.events.cloud.memcache.v1.MemcacheVersion"
|
22
|
+
optional :parameters, :message, 11, "google.events.cloud.memcache.v1.MemcacheParameters"
|
23
|
+
repeated :memcache_nodes, :message, 12, "google.events.cloud.memcache.v1.Instance.Node"
|
24
|
+
optional :create_time, :message, 13, "google.protobuf.Timestamp"
|
25
|
+
optional :update_time, :message, 14, "google.protobuf.Timestamp"
|
26
|
+
optional :state, :enum, 15, "google.events.cloud.memcache.v1.Instance.State"
|
27
|
+
optional :memcache_full_version, :string, 18
|
28
|
+
repeated :instance_messages, :message, 19, "google.events.cloud.memcache.v1.Instance.InstanceMessage"
|
29
|
+
optional :discovery_endpoint, :string, 20
|
30
|
+
optional :maintenance_policy, :message, 21, "google.events.cloud.memcache.v1.MaintenancePolicy"
|
31
|
+
optional :maintenance_schedule, :message, 22, "google.events.cloud.memcache.v1.MaintenanceSchedule"
|
32
|
+
end
|
33
|
+
add_message "google.events.cloud.memcache.v1.Instance.NodeConfig" do
|
34
|
+
optional :cpu_count, :int32, 1
|
35
|
+
optional :memory_size_mb, :int32, 2
|
36
|
+
end
|
37
|
+
add_message "google.events.cloud.memcache.v1.Instance.Node" do
|
38
|
+
optional :node_id, :string, 1
|
39
|
+
optional :zone, :string, 2
|
40
|
+
optional :state, :enum, 3, "google.events.cloud.memcache.v1.Instance.Node.State"
|
41
|
+
optional :host, :string, 4
|
42
|
+
optional :port, :int32, 5
|
43
|
+
optional :parameters, :message, 6, "google.events.cloud.memcache.v1.MemcacheParameters"
|
44
|
+
end
|
45
|
+
add_enum "google.events.cloud.memcache.v1.Instance.Node.State" do
|
46
|
+
value :STATE_UNSPECIFIED, 0
|
47
|
+
value :CREATING, 1
|
48
|
+
value :READY, 2
|
49
|
+
value :DELETING, 3
|
50
|
+
value :UPDATING, 4
|
51
|
+
end
|
52
|
+
add_message "google.events.cloud.memcache.v1.Instance.InstanceMessage" do
|
53
|
+
optional :code, :enum, 1, "google.events.cloud.memcache.v1.Instance.InstanceMessage.Code"
|
54
|
+
optional :message, :string, 2
|
55
|
+
end
|
56
|
+
add_enum "google.events.cloud.memcache.v1.Instance.InstanceMessage.Code" do
|
57
|
+
value :CODE_UNSPECIFIED, 0
|
58
|
+
value :ZONE_DISTRIBUTION_UNBALANCED, 1
|
59
|
+
end
|
60
|
+
add_enum "google.events.cloud.memcache.v1.Instance.State" do
|
61
|
+
value :STATE_UNSPECIFIED, 0
|
62
|
+
value :CREATING, 1
|
63
|
+
value :READY, 2
|
64
|
+
value :UPDATING, 3
|
65
|
+
value :DELETING, 4
|
66
|
+
value :PERFORMING_MAINTENANCE, 5
|
67
|
+
end
|
68
|
+
add_message "google.events.cloud.memcache.v1.MaintenancePolicy" do
|
69
|
+
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
70
|
+
optional :update_time, :message, 2, "google.protobuf.Timestamp"
|
71
|
+
optional :description, :string, 3
|
72
|
+
repeated :weekly_maintenance_window, :message, 4, "google.events.cloud.memcache.v1.WeeklyMaintenanceWindow"
|
73
|
+
end
|
74
|
+
add_message "google.events.cloud.memcache.v1.WeeklyMaintenanceWindow" do
|
75
|
+
optional :day, :enum, 1, "google.type.DayOfWeek"
|
76
|
+
optional :start_time, :message, 2, "google.type.TimeOfDay"
|
77
|
+
optional :duration, :message, 3, "google.protobuf.Duration"
|
78
|
+
end
|
79
|
+
add_message "google.events.cloud.memcache.v1.MaintenanceSchedule" do
|
80
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
81
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
82
|
+
optional :schedule_deadline_time, :message, 4, "google.protobuf.Timestamp"
|
83
|
+
end
|
84
|
+
add_message "google.events.cloud.memcache.v1.MemcacheParameters" do
|
85
|
+
optional :id, :string, 1
|
86
|
+
map :params, :string, :string, 3
|
87
|
+
end
|
88
|
+
add_message "google.events.cloud.memcache.v1.InstanceEventData" do
|
89
|
+
proto3_optional :payload, :message, 1, "google.events.cloud.memcache.v1.Instance"
|
90
|
+
end
|
91
|
+
add_enum "google.events.cloud.memcache.v1.MemcacheVersion" do
|
92
|
+
value :MEMCACHE_VERSION_UNSPECIFIED, 0
|
93
|
+
value :MEMCACHE_1_5, 1
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
module Google
|
99
|
+
module Events
|
100
|
+
module Cloud
|
101
|
+
module Memcache
|
102
|
+
module V1
|
103
|
+
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance").msgclass
|
104
|
+
Instance::NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.NodeConfig").msgclass
|
105
|
+
Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.Node").msgclass
|
106
|
+
Instance::Node::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.Node.State").enummodule
|
107
|
+
Instance::InstanceMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.InstanceMessage").msgclass
|
108
|
+
Instance::InstanceMessage::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.InstanceMessage.Code").enummodule
|
109
|
+
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.Instance.State").enummodule
|
110
|
+
MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.MaintenancePolicy").msgclass
|
111
|
+
WeeklyMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.WeeklyMaintenanceWindow").msgclass
|
112
|
+
MaintenanceSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.MaintenanceSchedule").msgclass
|
113
|
+
MemcacheParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.MemcacheParameters").msgclass
|
114
|
+
InstanceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.InstanceEventData").msgclass
|
115
|
+
MemcacheVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.memcache.v1.MemcacheVersion").enummodule
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|