google-apis-memcache_v1beta2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module MemcacheV1beta2
18
+ # Version of the google-apis-memcache_v1beta2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201109"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,601 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MemcacheV1beta2
24
+
25
+ class ApplyParametersRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CancelOperationRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class DailyCycle
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Date
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DenyMaintenancePeriod
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Empty
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudMemcacheV1beta2LocationMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudMemcacheV1beta2OperationMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Instance
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class InstanceMessage
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListInstancesResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListLocationsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListOperationsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Location
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class MaintenancePolicy
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class MaintenanceWindow
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class MemcacheParameters
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Node
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class NodeConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Operation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Schedule
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Status
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class TimeOfDay
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class UpdateParametersRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class UpdatePolicy
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class WeeklyCycle
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ZoneMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ApplyParametersRequest
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :apply_all, as: 'applyAll'
239
+ collection :node_ids, as: 'nodeIds'
240
+ end
241
+ end
242
+
243
+ class CancelOperationRequest
244
+ # @private
245
+ class Representation < Google::Apis::Core::JsonRepresentation
246
+ end
247
+ end
248
+
249
+ class DailyCycle
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ property :duration, as: 'duration'
253
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
254
+
255
+ end
256
+ end
257
+
258
+ class Date
259
+ # @private
260
+ class Representation < Google::Apis::Core::JsonRepresentation
261
+ property :day, as: 'day'
262
+ property :month, as: 'month'
263
+ property :year, as: 'year'
264
+ end
265
+ end
266
+
267
+ class DenyMaintenancePeriod
268
+ # @private
269
+ class Representation < Google::Apis::Core::JsonRepresentation
270
+ property :end_date, as: 'endDate', class: Google::Apis::MemcacheV1beta2::Date, decorator: Google::Apis::MemcacheV1beta2::Date::Representation
271
+
272
+ property :start_date, as: 'startDate', class: Google::Apis::MemcacheV1beta2::Date, decorator: Google::Apis::MemcacheV1beta2::Date::Representation
273
+
274
+ property :time, as: 'time', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
275
+
276
+ end
277
+ end
278
+
279
+ class Empty
280
+ # @private
281
+ class Representation < Google::Apis::Core::JsonRepresentation
282
+ end
283
+ end
284
+
285
+ class GoogleCloudMemcacheV1beta2LocationMetadata
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1beta2::ZoneMetadata, decorator: Google::Apis::MemcacheV1beta2::ZoneMetadata::Representation
289
+
290
+ end
291
+ end
292
+
293
+ class GoogleCloudMemcacheV1beta2OperationMetadata
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ property :api_version, as: 'apiVersion'
297
+ property :cancel_requested, as: 'cancelRequested'
298
+ property :create_time, as: 'createTime'
299
+ property :end_time, as: 'endTime'
300
+ property :status_detail, as: 'statusDetail'
301
+ property :target, as: 'target'
302
+ property :verb, as: 'verb'
303
+ end
304
+ end
305
+
306
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :consumer_defined_name, as: 'consumerDefinedName'
310
+ property :create_time, as: 'createTime'
311
+ hash :labels, as: 'labels'
312
+ hash :maintenance_policy_names, as: 'maintenancePolicyNames'
313
+ hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
314
+
315
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
316
+
317
+ property :name, as: 'name'
318
+ hash :producer_metadata, as: 'producerMetadata'
319
+ collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
320
+
321
+ property :slm_instance_template, as: 'slmInstanceTemplate'
322
+ property :slo_metadata, as: 'sloMetadata', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
323
+
324
+ hash :software_versions, as: 'softwareVersions'
325
+ property :state, as: 'state'
326
+ property :tenant_project_id, as: 'tenantProjectId'
327
+ property :update_time, as: 'updateTime'
328
+ end
329
+ end
330
+
331
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :can_reschedule, as: 'canReschedule'
335
+ property :end_time, as: 'endTime'
336
+ property :rollout_management_policy, as: 'rolloutManagementPolicy'
337
+ property :start_time, as: 'startTime'
338
+ end
339
+ end
340
+
341
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :exclude, as: 'exclude'
345
+ hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::MemcacheV1beta2::MaintenancePolicy, decorator: Google::Apis::MemcacheV1beta2::MaintenancePolicy::Representation
346
+
347
+ end
348
+ end
349
+
350
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
354
+
355
+ property :location, as: 'location'
356
+ property :node_id, as: 'nodeId'
357
+ end
358
+ end
359
+
360
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
361
+ # @private
362
+ class Representation < Google::Apis::Core::JsonRepresentation
363
+ property :resource_type, as: 'resourceType'
364
+ property :resource_url, as: 'resourceUrl'
365
+ end
366
+ end
367
+
368
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ property :eligible, as: 'eligible'
372
+ property :reason, as: 'reason'
373
+ end
374
+ end
375
+
376
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :duration, as: 'duration'
380
+ property :reason, as: 'reason'
381
+ property :sli_name, as: 'sliName'
382
+ property :start_time, as: 'startTime'
383
+ end
384
+ end
385
+
386
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :eligibility, as: 'eligibility', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
390
+
391
+ collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
392
+
393
+ collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
394
+
395
+ property :tier, as: 'tier'
396
+ end
397
+ end
398
+
399
+ class Instance
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ property :authorized_network, as: 'authorizedNetwork'
403
+ property :create_time, as: 'createTime'
404
+ property :discovery_endpoint, as: 'discoveryEndpoint'
405
+ property :display_name, as: 'displayName'
406
+ collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1beta2::InstanceMessage, decorator: Google::Apis::MemcacheV1beta2::InstanceMessage::Representation
407
+
408
+ hash :labels, as: 'labels'
409
+ property :memcache_full_version, as: 'memcacheFullVersion'
410
+ collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1beta2::Node, decorator: Google::Apis::MemcacheV1beta2::Node::Representation
411
+
412
+ property :memcache_version, as: 'memcacheVersion'
413
+ property :name, as: 'name'
414
+ property :node_config, as: 'nodeConfig', class: Google::Apis::MemcacheV1beta2::NodeConfig, decorator: Google::Apis::MemcacheV1beta2::NodeConfig::Representation
415
+
416
+ property :node_count, as: 'nodeCount'
417
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1beta2::MemcacheParameters, decorator: Google::Apis::MemcacheV1beta2::MemcacheParameters::Representation
418
+
419
+ property :state, as: 'state'
420
+ property :update_time, as: 'updateTime'
421
+ collection :zones, as: 'zones'
422
+ end
423
+ end
424
+
425
+ class InstanceMessage
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :code, as: 'code'
429
+ property :message, as: 'message'
430
+ end
431
+ end
432
+
433
+ class ListInstancesResponse
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :next_page_token, as: 'nextPageToken'
437
+ collection :resources, as: 'resources', class: Google::Apis::MemcacheV1beta2::Instance, decorator: Google::Apis::MemcacheV1beta2::Instance::Representation
438
+
439
+ collection :unreachable, as: 'unreachable'
440
+ end
441
+ end
442
+
443
+ class ListLocationsResponse
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ collection :locations, as: 'locations', class: Google::Apis::MemcacheV1beta2::Location, decorator: Google::Apis::MemcacheV1beta2::Location::Representation
447
+
448
+ property :next_page_token, as: 'nextPageToken'
449
+ end
450
+ end
451
+
452
+ class ListOperationsResponse
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :next_page_token, as: 'nextPageToken'
456
+ collection :operations, as: 'operations', class: Google::Apis::MemcacheV1beta2::Operation, decorator: Google::Apis::MemcacheV1beta2::Operation::Representation
457
+
458
+ end
459
+ end
460
+
461
+ class Location
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :display_name, as: 'displayName'
465
+ hash :labels, as: 'labels'
466
+ property :location_id, as: 'locationId'
467
+ hash :metadata, as: 'metadata'
468
+ property :name, as: 'name'
469
+ end
470
+ end
471
+
472
+ class MaintenancePolicy
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :create_time, as: 'createTime'
476
+ property :description, as: 'description'
477
+ hash :labels, as: 'labels'
478
+ property :name, as: 'name'
479
+ property :state, as: 'state'
480
+ property :update_policy, as: 'updatePolicy', class: Google::Apis::MemcacheV1beta2::UpdatePolicy, decorator: Google::Apis::MemcacheV1beta2::UpdatePolicy::Representation
481
+
482
+ property :update_time, as: 'updateTime'
483
+ end
484
+ end
485
+
486
+ class MaintenanceWindow
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :daily_cycle, as: 'dailyCycle', class: Google::Apis::MemcacheV1beta2::DailyCycle, decorator: Google::Apis::MemcacheV1beta2::DailyCycle::Representation
490
+
491
+ property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::MemcacheV1beta2::WeeklyCycle, decorator: Google::Apis::MemcacheV1beta2::WeeklyCycle::Representation
492
+
493
+ end
494
+ end
495
+
496
+ class MemcacheParameters
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :id, as: 'id'
500
+ hash :params, as: 'params'
501
+ end
502
+ end
503
+
504
+ class Node
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :host, as: 'host'
508
+ property :node_id, as: 'nodeId'
509
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1beta2::MemcacheParameters, decorator: Google::Apis::MemcacheV1beta2::MemcacheParameters::Representation
510
+
511
+ property :port, as: 'port'
512
+ property :state, as: 'state'
513
+ property :zone, as: 'zone'
514
+ end
515
+ end
516
+
517
+ class NodeConfig
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :cpu_count, as: 'cpuCount'
521
+ property :memory_size_mb, as: 'memorySizeMb'
522
+ end
523
+ end
524
+
525
+ class Operation
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :done, as: 'done'
529
+ property :error, as: 'error', class: Google::Apis::MemcacheV1beta2::Status, decorator: Google::Apis::MemcacheV1beta2::Status::Representation
530
+
531
+ hash :metadata, as: 'metadata'
532
+ property :name, as: 'name'
533
+ hash :response, as: 'response'
534
+ end
535
+ end
536
+
537
+ class Schedule
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :day, as: 'day'
541
+ property :duration, as: 'duration'
542
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1beta2::TimeOfDay, decorator: Google::Apis::MemcacheV1beta2::TimeOfDay::Representation
543
+
544
+ end
545
+ end
546
+
547
+ class Status
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :code, as: 'code'
551
+ collection :details, as: 'details'
552
+ property :message, as: 'message'
553
+ end
554
+ end
555
+
556
+ class TimeOfDay
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :hours, as: 'hours'
560
+ property :minutes, as: 'minutes'
561
+ property :nanos, as: 'nanos'
562
+ property :seconds, as: 'seconds'
563
+ end
564
+ end
565
+
566
+ class UpdateParametersRequest
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1beta2::MemcacheParameters, decorator: Google::Apis::MemcacheV1beta2::MemcacheParameters::Representation
570
+
571
+ property :update_mask, as: 'updateMask'
572
+ end
573
+ end
574
+
575
+ class UpdatePolicy
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ property :channel, as: 'channel'
579
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod, decorator: Google::Apis::MemcacheV1beta2::DenyMaintenancePeriod::Representation
580
+
581
+ property :window, as: 'window', class: Google::Apis::MemcacheV1beta2::MaintenanceWindow, decorator: Google::Apis::MemcacheV1beta2::MaintenanceWindow::Representation
582
+
583
+ end
584
+ end
585
+
586
+ class WeeklyCycle
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ collection :schedule, as: 'schedule', class: Google::Apis::MemcacheV1beta2::Schedule, decorator: Google::Apis::MemcacheV1beta2::Schedule::Representation
590
+
591
+ end
592
+ end
593
+
594
+ class ZoneMetadata
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ end
598
+ end
599
+ end
600
+ end
601
+ end