google-apis-file_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-file_v1.rb +15 -0
- data/lib/google/apis/file_v1.rb +36 -0
- data/lib/google/apis/file_v1/classes.rb +1445 -0
- data/lib/google/apis/file_v1/gem_version.rb +28 -0
- data/lib/google/apis/file_v1/representations.rb +580 -0
- data/lib/google/apis/file_v1/service.rb +698 -0
- metadata +76 -0
@@ -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 FileV1
|
18
|
+
# Version of the google-apis-file_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.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201208"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,580 @@
|
|
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 FileV1
|
24
|
+
|
25
|
+
class Backup
|
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 FileShareConfig
|
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 ListBackupsResponse
|
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 MaintenancePolicy
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class MaintenanceWindow
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class NetworkConfig
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class NfsExportOptions
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class Operation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class OperationMetadata
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class RestoreInstanceRequest
|
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 UpdatePolicy
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class WeeklyCycle
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class Backup
|
224
|
+
# @private
|
225
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
226
|
+
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
|
227
|
+
property :create_time, as: 'createTime'
|
228
|
+
property :description, as: 'description'
|
229
|
+
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
230
|
+
hash :labels, as: 'labels'
|
231
|
+
property :name, as: 'name'
|
232
|
+
property :source_file_share, as: 'sourceFileShare'
|
233
|
+
property :source_instance, as: 'sourceInstance'
|
234
|
+
property :source_instance_tier, as: 'sourceInstanceTier'
|
235
|
+
property :state, as: 'state'
|
236
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
class CancelOperationRequest
|
241
|
+
# @private
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
class DailyCycle
|
247
|
+
# @private
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
249
|
+
property :duration, as: 'duration'
|
250
|
+
property :start_time, as: 'startTime', class: Google::Apis::FileV1::TimeOfDay, decorator: Google::Apis::FileV1::TimeOfDay::Representation
|
251
|
+
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class Date
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :day, as: 'day'
|
259
|
+
property :month, as: 'month'
|
260
|
+
property :year, as: 'year'
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
class DenyMaintenancePeriod
|
265
|
+
# @private
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
267
|
+
property :end_date, as: 'endDate', class: Google::Apis::FileV1::Date, decorator: Google::Apis::FileV1::Date::Representation
|
268
|
+
|
269
|
+
property :start_date, as: 'startDate', class: Google::Apis::FileV1::Date, decorator: Google::Apis::FileV1::Date::Representation
|
270
|
+
|
271
|
+
property :time, as: 'time', class: Google::Apis::FileV1::TimeOfDay, decorator: Google::Apis::FileV1::TimeOfDay::Representation
|
272
|
+
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
class Empty
|
277
|
+
# @private
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
class FileShareConfig
|
283
|
+
# @private
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
285
|
+
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
|
286
|
+
property :name, as: 'name'
|
287
|
+
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1::NfsExportOptions, decorator: Google::Apis::FileV1::NfsExportOptions::Representation
|
288
|
+
|
289
|
+
property :source_backup, as: 'sourceBackup'
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
294
|
+
# @private
|
295
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
296
|
+
property :consumer_defined_name, as: 'consumerDefinedName'
|
297
|
+
property :create_time, as: 'createTime'
|
298
|
+
hash :labels, as: 'labels'
|
299
|
+
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
300
|
+
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
301
|
+
|
302
|
+
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
303
|
+
|
304
|
+
property :name, as: 'name'
|
305
|
+
hash :producer_metadata, as: 'producerMetadata'
|
306
|
+
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
307
|
+
|
308
|
+
property :slm_instance_template, as: 'slmInstanceTemplate'
|
309
|
+
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
310
|
+
|
311
|
+
hash :software_versions, as: 'softwareVersions'
|
312
|
+
property :state, as: 'state'
|
313
|
+
property :tenant_project_id, as: 'tenantProjectId'
|
314
|
+
property :update_time, as: 'updateTime'
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :can_reschedule, as: 'canReschedule'
|
322
|
+
property :end_time, as: 'endTime'
|
323
|
+
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
324
|
+
property :start_time, as: 'startTime'
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
property :exclude, as: 'exclude'
|
332
|
+
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::FileV1::MaintenancePolicy, decorator: Google::Apis::FileV1::MaintenancePolicy::Representation
|
333
|
+
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
341
|
+
|
342
|
+
property :location, as: 'location'
|
343
|
+
property :node_id, as: 'nodeId'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :resource_type, as: 'resourceType'
|
351
|
+
property :resource_url, as: 'resourceUrl'
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :eligible, as: 'eligible'
|
359
|
+
property :reason, as: 'reason'
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
364
|
+
# @private
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
+
property :duration, as: 'duration'
|
367
|
+
property :reason, as: 'reason'
|
368
|
+
property :sli_name, as: 'sliName'
|
369
|
+
property :start_time, as: 'startTime'
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
373
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
374
|
+
# @private
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
376
|
+
property :eligibility, as: 'eligibility', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
377
|
+
|
378
|
+
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
379
|
+
|
380
|
+
collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
381
|
+
|
382
|
+
property :tier, as: 'tier'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class Instance
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
property :create_time, as: 'createTime'
|
390
|
+
property :description, as: 'description'
|
391
|
+
property :etag, as: 'etag'
|
392
|
+
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
|
393
|
+
|
394
|
+
hash :labels, as: 'labels'
|
395
|
+
property :name, as: 'name'
|
396
|
+
collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
|
397
|
+
|
398
|
+
property :state, as: 'state'
|
399
|
+
property :status_message, as: 'statusMessage'
|
400
|
+
property :tier, as: 'tier'
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class ListBackupsResponse
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
collection :backups, as: 'backups', class: Google::Apis::FileV1::Backup, decorator: Google::Apis::FileV1::Backup::Representation
|
408
|
+
|
409
|
+
property :next_page_token, as: 'nextPageToken'
|
410
|
+
collection :unreachable, as: 'unreachable'
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class ListInstancesResponse
|
415
|
+
# @private
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
collection :instances, as: 'instances', class: Google::Apis::FileV1::Instance, decorator: Google::Apis::FileV1::Instance::Representation
|
418
|
+
|
419
|
+
property :next_page_token, as: 'nextPageToken'
|
420
|
+
collection :unreachable, as: 'unreachable'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class ListLocationsResponse
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
collection :locations, as: 'locations', class: Google::Apis::FileV1::Location, decorator: Google::Apis::FileV1::Location::Representation
|
428
|
+
|
429
|
+
property :next_page_token, as: 'nextPageToken'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class ListOperationsResponse
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :next_page_token, as: 'nextPageToken'
|
437
|
+
collection :operations, as: 'operations', class: Google::Apis::FileV1::Operation, decorator: Google::Apis::FileV1::Operation::Representation
|
438
|
+
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
class Location
|
443
|
+
# @private
|
444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
445
|
+
property :display_name, as: 'displayName'
|
446
|
+
hash :labels, as: 'labels'
|
447
|
+
property :location_id, as: 'locationId'
|
448
|
+
hash :metadata, as: 'metadata'
|
449
|
+
property :name, as: 'name'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class MaintenancePolicy
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :create_time, as: 'createTime'
|
457
|
+
property :description, as: 'description'
|
458
|
+
hash :labels, as: 'labels'
|
459
|
+
property :name, as: 'name'
|
460
|
+
property :state, as: 'state'
|
461
|
+
property :update_policy, as: 'updatePolicy', class: Google::Apis::FileV1::UpdatePolicy, decorator: Google::Apis::FileV1::UpdatePolicy::Representation
|
462
|
+
|
463
|
+
property :update_time, as: 'updateTime'
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
class MaintenanceWindow
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :daily_cycle, as: 'dailyCycle', class: Google::Apis::FileV1::DailyCycle, decorator: Google::Apis::FileV1::DailyCycle::Representation
|
471
|
+
|
472
|
+
property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::FileV1::WeeklyCycle, decorator: Google::Apis::FileV1::WeeklyCycle::Representation
|
473
|
+
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class NetworkConfig
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
collection :ip_addresses, as: 'ipAddresses'
|
481
|
+
collection :modes, as: 'modes'
|
482
|
+
property :network, as: 'network'
|
483
|
+
property :reserved_ip_range, as: 'reservedIpRange'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
class NfsExportOptions
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
property :access_mode, as: 'accessMode'
|
491
|
+
property :anon_gid, :numeric_string => true, as: 'anonGid'
|
492
|
+
property :anon_uid, :numeric_string => true, as: 'anonUid'
|
493
|
+
collection :ip_ranges, as: 'ipRanges'
|
494
|
+
property :squash_mode, as: 'squashMode'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Operation
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :done, as: 'done'
|
502
|
+
property :error, as: 'error', class: Google::Apis::FileV1::Status, decorator: Google::Apis::FileV1::Status::Representation
|
503
|
+
|
504
|
+
hash :metadata, as: 'metadata'
|
505
|
+
property :name, as: 'name'
|
506
|
+
hash :response, as: 'response'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
class OperationMetadata
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :api_version, as: 'apiVersion'
|
514
|
+
property :cancel_requested, as: 'cancelRequested'
|
515
|
+
property :create_time, as: 'createTime'
|
516
|
+
property :end_time, as: 'endTime'
|
517
|
+
property :status_detail, as: 'statusDetail'
|
518
|
+
property :target, as: 'target'
|
519
|
+
property :verb, as: 'verb'
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class RestoreInstanceRequest
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :file_share, as: 'fileShare'
|
527
|
+
property :source_backup, as: 'sourceBackup'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class Schedule
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :day, as: 'day'
|
535
|
+
property :duration, as: 'duration'
|
536
|
+
property :start_time, as: 'startTime', class: Google::Apis::FileV1::TimeOfDay, decorator: Google::Apis::FileV1::TimeOfDay::Representation
|
537
|
+
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
class Status
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :code, as: 'code'
|
545
|
+
collection :details, as: 'details'
|
546
|
+
property :message, as: 'message'
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
class TimeOfDay
|
551
|
+
# @private
|
552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
+
property :hours, as: 'hours'
|
554
|
+
property :minutes, as: 'minutes'
|
555
|
+
property :nanos, as: 'nanos'
|
556
|
+
property :seconds, as: 'seconds'
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
class UpdatePolicy
|
561
|
+
# @private
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
563
|
+
property :channel, as: 'channel'
|
564
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::FileV1::DenyMaintenancePeriod, decorator: Google::Apis::FileV1::DenyMaintenancePeriod::Representation
|
565
|
+
|
566
|
+
property :window, as: 'window', class: Google::Apis::FileV1::MaintenanceWindow, decorator: Google::Apis::FileV1::MaintenanceWindow::Representation
|
567
|
+
|
568
|
+
end
|
569
|
+
end
|
570
|
+
|
571
|
+
class WeeklyCycle
|
572
|
+
# @private
|
573
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
574
|
+
collection :schedule, as: 'schedule', class: Google::Apis::FileV1::Schedule, decorator: Google::Apis::FileV1::Schedule::Representation
|
575
|
+
|
576
|
+
end
|
577
|
+
end
|
578
|
+
end
|
579
|
+
end
|
580
|
+
end
|