google-apis-memcache_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 MemcacheV1
18
+ # Version of the google-apis-memcache_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.2"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210121"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,621 @@
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 MemcacheV1
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 GoogleCloudMemcacheV1OperationMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Instance
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class InstanceMessage
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListInstancesResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListLocationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListOperationsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Location
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class LocationMetadata
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 OperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Schedule
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Status
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class TimeOfDay
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class UpdateParametersRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class UpdatePolicy
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class WeeklyCycle
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ZoneMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ApplyParametersRequest
242
+ # @private
243
+ class Representation < Google::Apis::Core::JsonRepresentation
244
+ property :apply_all, as: 'applyAll'
245
+ collection :node_ids, as: 'nodeIds'
246
+ end
247
+ end
248
+
249
+ class CancelOperationRequest
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ end
253
+ end
254
+
255
+ class DailyCycle
256
+ # @private
257
+ class Representation < Google::Apis::Core::JsonRepresentation
258
+ property :duration, as: 'duration'
259
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1::TimeOfDay, decorator: Google::Apis::MemcacheV1::TimeOfDay::Representation
260
+
261
+ end
262
+ end
263
+
264
+ class Date
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :day, as: 'day'
268
+ property :month, as: 'month'
269
+ property :year, as: 'year'
270
+ end
271
+ end
272
+
273
+ class DenyMaintenancePeriod
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :end_date, as: 'endDate', class: Google::Apis::MemcacheV1::Date, decorator: Google::Apis::MemcacheV1::Date::Representation
277
+
278
+ property :start_date, as: 'startDate', class: Google::Apis::MemcacheV1::Date, decorator: Google::Apis::MemcacheV1::Date::Representation
279
+
280
+ property :time, as: 'time', class: Google::Apis::MemcacheV1::TimeOfDay, decorator: Google::Apis::MemcacheV1::TimeOfDay::Representation
281
+
282
+ end
283
+ end
284
+
285
+ class Empty
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ end
289
+ end
290
+
291
+ class GoogleCloudMemcacheV1OperationMetadata
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :api_version, as: 'apiVersion'
295
+ property :cancel_requested, as: 'cancelRequested'
296
+ property :create_time, as: 'createTime'
297
+ property :end_time, as: 'endTime'
298
+ property :status_detail, as: 'statusDetail'
299
+ property :target, as: 'target'
300
+ property :verb, as: 'verb'
301
+ end
302
+ end
303
+
304
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :consumer_defined_name, as: 'consumerDefinedName'
308
+ property :create_time, as: 'createTime'
309
+ hash :labels, as: 'labels'
310
+ hash :maintenance_policy_names, as: 'maintenancePolicyNames'
311
+ hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
312
+
313
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
314
+
315
+ property :name, as: 'name'
316
+ hash :producer_metadata, as: 'producerMetadata'
317
+ collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
318
+
319
+ property :slm_instance_template, as: 'slmInstanceTemplate'
320
+ property :slo_metadata, as: 'sloMetadata', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
321
+
322
+ hash :software_versions, as: 'softwareVersions'
323
+ property :state, as: 'state'
324
+ property :tenant_project_id, as: 'tenantProjectId'
325
+ property :update_time, as: 'updateTime'
326
+ end
327
+ end
328
+
329
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :can_reschedule, as: 'canReschedule'
333
+ property :end_time, as: 'endTime'
334
+ property :rollout_management_policy, as: 'rolloutManagementPolicy'
335
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
336
+ property :start_time, as: 'startTime'
337
+ end
338
+ end
339
+
340
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :exclude, as: 'exclude'
344
+ hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::MemcacheV1::MaintenancePolicy, decorator: Google::Apis::MemcacheV1::MaintenancePolicy::Representation
345
+
346
+ end
347
+ end
348
+
349
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
353
+
354
+ property :location, as: 'location'
355
+ property :node_id, as: 'nodeId'
356
+ end
357
+ end
358
+
359
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :resource_type, as: 'resourceType'
363
+ property :resource_url, as: 'resourceUrl'
364
+ end
365
+ end
366
+
367
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :eligible, as: 'eligible'
371
+ property :reason, as: 'reason'
372
+ end
373
+ end
374
+
375
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
376
+ # @private
377
+ class Representation < Google::Apis::Core::JsonRepresentation
378
+ property :duration, as: 'duration'
379
+ property :reason, as: 'reason'
380
+ property :sli_name, as: 'sliName'
381
+ property :start_time, as: 'startTime'
382
+ end
383
+ end
384
+
385
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :eligibility, as: 'eligibility', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
389
+
390
+ collection :exclusions, as: 'exclusions', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
391
+
392
+ collection :nodes, as: 'nodes', class: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
393
+
394
+ property :tier, as: 'tier'
395
+ end
396
+ end
397
+
398
+ class Instance
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :authorized_network, as: 'authorizedNetwork'
402
+ property :create_time, as: 'createTime'
403
+ property :discovery_endpoint, as: 'discoveryEndpoint'
404
+ property :display_name, as: 'displayName'
405
+ collection :instance_messages, as: 'instanceMessages', class: Google::Apis::MemcacheV1::InstanceMessage, decorator: Google::Apis::MemcacheV1::InstanceMessage::Representation
406
+
407
+ hash :labels, as: 'labels'
408
+ property :memcache_full_version, as: 'memcacheFullVersion'
409
+ collection :memcache_nodes, as: 'memcacheNodes', class: Google::Apis::MemcacheV1::Node, decorator: Google::Apis::MemcacheV1::Node::Representation
410
+
411
+ property :memcache_version, as: 'memcacheVersion'
412
+ property :name, as: 'name'
413
+ property :node_config, as: 'nodeConfig', class: Google::Apis::MemcacheV1::NodeConfig, decorator: Google::Apis::MemcacheV1::NodeConfig::Representation
414
+
415
+ property :node_count, as: 'nodeCount'
416
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1::MemcacheParameters, decorator: Google::Apis::MemcacheV1::MemcacheParameters::Representation
417
+
418
+ property :state, as: 'state'
419
+ property :update_time, as: 'updateTime'
420
+ collection :zones, as: 'zones'
421
+ end
422
+ end
423
+
424
+ class InstanceMessage
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ property :code, as: 'code'
428
+ property :message, as: 'message'
429
+ end
430
+ end
431
+
432
+ class ListInstancesResponse
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ collection :instances, as: 'instances', class: Google::Apis::MemcacheV1::Instance, decorator: Google::Apis::MemcacheV1::Instance::Representation
436
+
437
+ property :next_page_token, as: 'nextPageToken'
438
+ collection :unreachable, as: 'unreachable'
439
+ end
440
+ end
441
+
442
+ class ListLocationsResponse
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ collection :locations, as: 'locations', class: Google::Apis::MemcacheV1::Location, decorator: Google::Apis::MemcacheV1::Location::Representation
446
+
447
+ property :next_page_token, as: 'nextPageToken'
448
+ end
449
+ end
450
+
451
+ class ListOperationsResponse
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :next_page_token, as: 'nextPageToken'
455
+ collection :operations, as: 'operations', class: Google::Apis::MemcacheV1::Operation, decorator: Google::Apis::MemcacheV1::Operation::Representation
456
+
457
+ end
458
+ end
459
+
460
+ class Location
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :display_name, as: 'displayName'
464
+ hash :labels, as: 'labels'
465
+ property :location_id, as: 'locationId'
466
+ hash :metadata, as: 'metadata'
467
+ property :name, as: 'name'
468
+ end
469
+ end
470
+
471
+ class LocationMetadata
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ hash :available_zones, as: 'availableZones', class: Google::Apis::MemcacheV1::ZoneMetadata, decorator: Google::Apis::MemcacheV1::ZoneMetadata::Representation
475
+
476
+ end
477
+ end
478
+
479
+ class MaintenancePolicy
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :create_time, as: 'createTime'
483
+ property :description, as: 'description'
484
+ hash :labels, as: 'labels'
485
+ property :name, as: 'name'
486
+ property :state, as: 'state'
487
+ property :update_policy, as: 'updatePolicy', class: Google::Apis::MemcacheV1::UpdatePolicy, decorator: Google::Apis::MemcacheV1::UpdatePolicy::Representation
488
+
489
+ property :update_time, as: 'updateTime'
490
+ end
491
+ end
492
+
493
+ class MaintenanceWindow
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :daily_cycle, as: 'dailyCycle', class: Google::Apis::MemcacheV1::DailyCycle, decorator: Google::Apis::MemcacheV1::DailyCycle::Representation
497
+
498
+ property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::MemcacheV1::WeeklyCycle, decorator: Google::Apis::MemcacheV1::WeeklyCycle::Representation
499
+
500
+ end
501
+ end
502
+
503
+ class MemcacheParameters
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :id, as: 'id'
507
+ hash :params, as: 'params'
508
+ end
509
+ end
510
+
511
+ class Node
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :host, as: 'host'
515
+ property :node_id, as: 'nodeId'
516
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1::MemcacheParameters, decorator: Google::Apis::MemcacheV1::MemcacheParameters::Representation
517
+
518
+ property :port, as: 'port'
519
+ property :state, as: 'state'
520
+ property :zone, as: 'zone'
521
+ end
522
+ end
523
+
524
+ class NodeConfig
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :cpu_count, as: 'cpuCount'
528
+ property :memory_size_mb, as: 'memorySizeMb'
529
+ end
530
+ end
531
+
532
+ class Operation
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :done, as: 'done'
536
+ property :error, as: 'error', class: Google::Apis::MemcacheV1::Status, decorator: Google::Apis::MemcacheV1::Status::Representation
537
+
538
+ hash :metadata, as: 'metadata'
539
+ property :name, as: 'name'
540
+ hash :response, as: 'response'
541
+ end
542
+ end
543
+
544
+ class OperationMetadata
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :api_version, as: 'apiVersion'
548
+ property :cancel_requested, as: 'cancelRequested'
549
+ property :create_time, as: 'createTime'
550
+ property :end_time, as: 'endTime'
551
+ property :status_detail, as: 'statusDetail'
552
+ property :target, as: 'target'
553
+ property :verb, as: 'verb'
554
+ end
555
+ end
556
+
557
+ class Schedule
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :day, as: 'day'
561
+ property :duration, as: 'duration'
562
+ property :start_time, as: 'startTime', class: Google::Apis::MemcacheV1::TimeOfDay, decorator: Google::Apis::MemcacheV1::TimeOfDay::Representation
563
+
564
+ end
565
+ end
566
+
567
+ class Status
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :code, as: 'code'
571
+ collection :details, as: 'details'
572
+ property :message, as: 'message'
573
+ end
574
+ end
575
+
576
+ class TimeOfDay
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :hours, as: 'hours'
580
+ property :minutes, as: 'minutes'
581
+ property :nanos, as: 'nanos'
582
+ property :seconds, as: 'seconds'
583
+ end
584
+ end
585
+
586
+ class UpdateParametersRequest
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :parameters, as: 'parameters', class: Google::Apis::MemcacheV1::MemcacheParameters, decorator: Google::Apis::MemcacheV1::MemcacheParameters::Representation
590
+
591
+ property :update_mask, as: 'updateMask'
592
+ end
593
+ end
594
+
595
+ class UpdatePolicy
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :channel, as: 'channel'
599
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::MemcacheV1::DenyMaintenancePeriod, decorator: Google::Apis::MemcacheV1::DenyMaintenancePeriod::Representation
600
+
601
+ property :window, as: 'window', class: Google::Apis::MemcacheV1::MaintenanceWindow, decorator: Google::Apis::MemcacheV1::MaintenanceWindow::Representation
602
+
603
+ end
604
+ end
605
+
606
+ class WeeklyCycle
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ collection :schedule, as: 'schedule', class: Google::Apis::MemcacheV1::Schedule, decorator: Google::Apis::MemcacheV1::Schedule::Representation
610
+
611
+ end
612
+ end
613
+
614
+ class ZoneMetadata
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ end
618
+ end
619
+ end
620
+ end
621
+ end