google-apis-file_v1beta1 0.71.0 → 0.73.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1e329026578faecf74bcd0f23947f0639de1efe5eff3762c00b3c4d5a0092ab
|
|
4
|
+
data.tar.gz: 8b870c3517d78e503cbeb12bb22f62f4780824473543696fee7db07b478f3ff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8dd33bce7424c5835f5bfc7b1b246b2e8d681557e28ff314f6572ea30c894b5612a6e9748fbddee2213369ce14bb8f3767e725d82069bcae991c137699269bd
|
|
7
|
+
data.tar.gz: 3f5cb7ceae29e722b56990a1023bba55b439016ba0ec45824778371b3da8710f8899edf5d6c575902579d9e9c10e0c68fd42ba21e94895e932cfd7dfdc8df6ce
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-file_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.73.0 (2026-09-06)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260827
|
|
6
|
+
|
|
7
|
+
### v0.72.0 (2026-08-30)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260819
|
|
10
|
+
|
|
3
11
|
### v0.71.0 (2026-07-19)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260710
|
|
@@ -151,6 +151,13 @@ module Google
|
|
|
151
151
|
# @return [String]
|
|
152
152
|
attr_accessor :source_instance_tier
|
|
153
153
|
|
|
154
|
+
# Optional. The resource name of the Filestore volume that the backup is created
|
|
155
|
+
# from. Should be in the format: projects/`project_id`/locations/`location_id`/
|
|
156
|
+
# volumePools/`volume_pool_id`/volumes/`volume_id`
|
|
157
|
+
# Corresponds to the JSON property `sourceVolume`
|
|
158
|
+
# @return [String]
|
|
159
|
+
attr_accessor :source_volume
|
|
160
|
+
|
|
154
161
|
# Output only. The backup state.
|
|
155
162
|
# Corresponds to the JSON property `state`
|
|
156
163
|
# @return [String]
|
|
@@ -192,6 +199,7 @@ module Google
|
|
|
192
199
|
@source_file_share = args[:source_file_share] if args.key?(:source_file_share)
|
|
193
200
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
|
194
201
|
@source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
|
|
202
|
+
@source_volume = args[:source_volume] if args.key?(:source_volume)
|
|
195
203
|
@state = args[:state] if args.key?(:state)
|
|
196
204
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
|
197
205
|
@tags = args[:tags] if args.key?(:tags)
|
|
@@ -1374,6 +1382,71 @@ module Google
|
|
|
1374
1382
|
end
|
|
1375
1383
|
end
|
|
1376
1384
|
|
|
1385
|
+
# ListVolumePoolsResponse is the result of ListVolumePoolsRequest.
|
|
1386
|
+
class ListVolumePoolsResponse
|
|
1387
|
+
include Google::Apis::Core::Hashable
|
|
1388
|
+
|
|
1389
|
+
# Optional. The token you can use to retrieve the next page of results. Not
|
|
1390
|
+
# returned if there are no more results in the list.
|
|
1391
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1392
|
+
# @return [String]
|
|
1393
|
+
attr_accessor :next_page_token
|
|
1394
|
+
|
|
1395
|
+
# Unordered list. Locations that could not be reached.
|
|
1396
|
+
# Corresponds to the JSON property `unreachable`
|
|
1397
|
+
# @return [Array<String>]
|
|
1398
|
+
attr_accessor :unreachable
|
|
1399
|
+
|
|
1400
|
+
# Unordered list. A list of volume pools in the project for the specified
|
|
1401
|
+
# location.
|
|
1402
|
+
# Corresponds to the JSON property `volumePools`
|
|
1403
|
+
# @return [Array<Google::Apis::FileV1beta1::VolumePool>]
|
|
1404
|
+
attr_accessor :volume_pools
|
|
1405
|
+
|
|
1406
|
+
def initialize(**args)
|
|
1407
|
+
update!(**args)
|
|
1408
|
+
end
|
|
1409
|
+
|
|
1410
|
+
# Update properties of this object
|
|
1411
|
+
def update!(**args)
|
|
1412
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1413
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1414
|
+
@volume_pools = args[:volume_pools] if args.key?(:volume_pools)
|
|
1415
|
+
end
|
|
1416
|
+
end
|
|
1417
|
+
|
|
1418
|
+
# ListVolumesResponse is the result of ListVolumesRequest.
|
|
1419
|
+
class ListVolumesResponse
|
|
1420
|
+
include Google::Apis::Core::Hashable
|
|
1421
|
+
|
|
1422
|
+
# Optional. The token you can use to retrieve the next page of results. Not
|
|
1423
|
+
# returned if there are no more results in the list.
|
|
1424
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1425
|
+
# @return [String]
|
|
1426
|
+
attr_accessor :next_page_token
|
|
1427
|
+
|
|
1428
|
+
# Unordered list. Locations that could not be reached.
|
|
1429
|
+
# Corresponds to the JSON property `unreachable`
|
|
1430
|
+
# @return [Array<String>]
|
|
1431
|
+
attr_accessor :unreachable
|
|
1432
|
+
|
|
1433
|
+
# Unordered list. A list of volumes in the project for the specified volume pool.
|
|
1434
|
+
# Corresponds to the JSON property `volumes`
|
|
1435
|
+
# @return [Array<Google::Apis::FileV1beta1::Volume>]
|
|
1436
|
+
attr_accessor :volumes
|
|
1437
|
+
|
|
1438
|
+
def initialize(**args)
|
|
1439
|
+
update!(**args)
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
# Update properties of this object
|
|
1443
|
+
def update!(**args)
|
|
1444
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1445
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1446
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
|
1447
|
+
end
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1377
1450
|
# A resource that represents a Google Cloud location.
|
|
1378
1451
|
class Location
|
|
1379
1452
|
include Google::Apis::Core::Hashable
|
|
@@ -1537,6 +1610,33 @@ module Google
|
|
|
1537
1610
|
end
|
|
1538
1611
|
end
|
|
1539
1612
|
|
|
1613
|
+
# Mount details for a volume.
|
|
1614
|
+
class MountPoint
|
|
1615
|
+
include Google::Apis::Core::Hashable
|
|
1616
|
+
|
|
1617
|
+
# Output only. The IP address of the physical Filestore instance hosting the
|
|
1618
|
+
# volume.
|
|
1619
|
+
# Corresponds to the JSON property `ipAddress`
|
|
1620
|
+
# @return [String]
|
|
1621
|
+
attr_accessor :ip_address
|
|
1622
|
+
|
|
1623
|
+
# Output only. The mount name of the volume. Must be 63 characters or less and
|
|
1624
|
+
# consist of uppercase or lowercase letters, numbers, and underscores.
|
|
1625
|
+
# Corresponds to the JSON property `mountName`
|
|
1626
|
+
# @return [String]
|
|
1627
|
+
attr_accessor :mount_name
|
|
1628
|
+
|
|
1629
|
+
def initialize(**args)
|
|
1630
|
+
update!(**args)
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# Update properties of this object
|
|
1634
|
+
def update!(**args)
|
|
1635
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
1636
|
+
@mount_name = args[:mount_name] if args.key?(:mount_name)
|
|
1637
|
+
end
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1540
1640
|
# Network configuration for the instance.
|
|
1541
1641
|
class NetworkConfig
|
|
1542
1642
|
include Google::Apis::Core::Hashable
|
|
@@ -1913,6 +2013,15 @@ module Google
|
|
|
1913
2013
|
# @return [String]
|
|
1914
2014
|
attr_accessor :endpoint_project
|
|
1915
2015
|
|
|
2016
|
+
# Optional. Immutable. Optional: The desired IP address for the instance. If not
|
|
2017
|
+
# specified, an IP will be automatically allocated. The IP must be from the
|
|
2018
|
+
# subnetwork range configured in the Service Connection Policy. This effective
|
|
2019
|
+
# ip address is set in the ip_addresses field. use 3 instead of 2 to avoid
|
|
2020
|
+
# conflict with the reserved_ip_range field.
|
|
2021
|
+
# Corresponds to the JSON property `requestedIpAddress`
|
|
2022
|
+
# @return [String]
|
|
2023
|
+
attr_accessor :requested_ip_address
|
|
2024
|
+
|
|
1916
2025
|
def initialize(**args)
|
|
1917
2026
|
update!(**args)
|
|
1918
2027
|
end
|
|
@@ -1920,6 +2029,7 @@ module Google
|
|
|
1920
2029
|
# Update properties of this object
|
|
1921
2030
|
def update!(**args)
|
|
1922
2031
|
@endpoint_project = args[:endpoint_project] if args.key?(:endpoint_project)
|
|
2032
|
+
@requested_ip_address = args[:requested_ip_address] if args.key?(:requested_ip_address)
|
|
1923
2033
|
end
|
|
1924
2034
|
end
|
|
1925
2035
|
|
|
@@ -2172,12 +2282,19 @@ module Google
|
|
|
2172
2282
|
# @return [String]
|
|
2173
2283
|
attr_accessor :backup
|
|
2174
2284
|
|
|
2175
|
-
# File share capacity in gigabytes (GB). Filestore defines 1 GB as
|
|
2176
|
-
# Must be greater than 0.
|
|
2285
|
+
# Optional. File share capacity in gigabytes (GB). Filestore defines 1 GB as
|
|
2286
|
+
# 1024^3 bytes. Must be greater than 0. Exactly one of capacity_gb or
|
|
2287
|
+
# capacity_mb must be specified.
|
|
2177
2288
|
# Corresponds to the JSON property `capacityGb`
|
|
2178
2289
|
# @return [Fixnum]
|
|
2179
2290
|
attr_accessor :capacity_gb
|
|
2180
2291
|
|
|
2292
|
+
# Optional. File share capacity in Megabytes (MB). Must be greater than 0.
|
|
2293
|
+
# Exactly one of capacity_gb or capacity_mb must be specified.
|
|
2294
|
+
# Corresponds to the JSON property `capacityMb`
|
|
2295
|
+
# @return [Fixnum]
|
|
2296
|
+
attr_accessor :capacity_mb
|
|
2297
|
+
|
|
2181
2298
|
# Output only. The time when the share was created.
|
|
2182
2299
|
# Corresponds to the JSON property `createTime`
|
|
2183
2300
|
# @return [String]
|
|
@@ -2224,6 +2341,7 @@ module Google
|
|
|
2224
2341
|
def update!(**args)
|
|
2225
2342
|
@backup = args[:backup] if args.key?(:backup)
|
|
2226
2343
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
|
2344
|
+
@capacity_mb = args[:capacity_mb] if args.key?(:capacity_mb)
|
|
2227
2345
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2228
2346
|
@description = args[:description] if args.key?(:description)
|
|
2229
2347
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -2416,6 +2534,114 @@ module Google
|
|
|
2416
2534
|
end
|
|
2417
2535
|
end
|
|
2418
2536
|
|
|
2537
|
+
# Volume representation of a Cloud Filestore volume.
|
|
2538
|
+
class Volume
|
|
2539
|
+
include Google::Apis::Core::Hashable
|
|
2540
|
+
|
|
2541
|
+
# Output only. The time when the volume was created.
|
|
2542
|
+
# Corresponds to the JSON property `createTime`
|
|
2543
|
+
# @return [String]
|
|
2544
|
+
attr_accessor :create_time
|
|
2545
|
+
|
|
2546
|
+
# Optional. A description of the volume with 2048 characters or less. Requests
|
|
2547
|
+
# with longer descriptions will be rejected.
|
|
2548
|
+
# Corresponds to the JSON property `description`
|
|
2549
|
+
# @return [String]
|
|
2550
|
+
attr_accessor :description
|
|
2551
|
+
|
|
2552
|
+
# Optional. Resource labels to represent user provided metadata.
|
|
2553
|
+
# Corresponds to the JSON property `labels`
|
|
2554
|
+
# @return [Hash<String,String>]
|
|
2555
|
+
attr_accessor :labels
|
|
2556
|
+
|
|
2557
|
+
# Mount details for a volume.
|
|
2558
|
+
# Corresponds to the JSON property `mountPoint`
|
|
2559
|
+
# @return [Google::Apis::FileV1beta1::MountPoint]
|
|
2560
|
+
attr_accessor :mount_point
|
|
2561
|
+
|
|
2562
|
+
# Identifier. The resource name of the volume, in the format `projects/`project`/
|
|
2563
|
+
# locations/`location`/volumePools/`volume_pool`/volumes/`volume``.
|
|
2564
|
+
# Corresponds to the JSON property `name`
|
|
2565
|
+
# @return [String]
|
|
2566
|
+
attr_accessor :name
|
|
2567
|
+
|
|
2568
|
+
def initialize(**args)
|
|
2569
|
+
update!(**args)
|
|
2570
|
+
end
|
|
2571
|
+
|
|
2572
|
+
# Update properties of this object
|
|
2573
|
+
def update!(**args)
|
|
2574
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2575
|
+
@description = args[:description] if args.key?(:description)
|
|
2576
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2577
|
+
@mount_point = args[:mount_point] if args.key?(:mount_point)
|
|
2578
|
+
@name = args[:name] if args.key?(:name)
|
|
2579
|
+
end
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
# VolumePool representation of a Cloud Filestore volume pool.
|
|
2583
|
+
class VolumePool
|
|
2584
|
+
include Google::Apis::Core::Hashable
|
|
2585
|
+
|
|
2586
|
+
# Optional. The number of IOPs provisioned per active volume.
|
|
2587
|
+
# Corresponds to the JSON property `activeVolumeIops`
|
|
2588
|
+
# @return [Fixnum]
|
|
2589
|
+
attr_accessor :active_volume_iops
|
|
2590
|
+
|
|
2591
|
+
# Output only. The time when the volume pool was created.
|
|
2592
|
+
# Corresponds to the JSON property `createTime`
|
|
2593
|
+
# @return [String]
|
|
2594
|
+
attr_accessor :create_time
|
|
2595
|
+
|
|
2596
|
+
# Optional. The default quota per volume in MiB. Default: 1024 MiB.
|
|
2597
|
+
# Corresponds to the JSON property `defaultVolumeQuotaMib`
|
|
2598
|
+
# @return [Fixnum]
|
|
2599
|
+
attr_accessor :default_volume_quota_mib
|
|
2600
|
+
|
|
2601
|
+
# Optional. A description of the volume pool with 2048 characters or less.
|
|
2602
|
+
# Corresponds to the JSON property `description`
|
|
2603
|
+
# @return [String]
|
|
2604
|
+
attr_accessor :description
|
|
2605
|
+
|
|
2606
|
+
# Optional. Resource labels to represent user provided metadata.
|
|
2607
|
+
# Corresponds to the JSON property `labels`
|
|
2608
|
+
# @return [Hash<String,String>]
|
|
2609
|
+
attr_accessor :labels
|
|
2610
|
+
|
|
2611
|
+
# Identifier. The resource name of the volume pool, in the format `projects/`
|
|
2612
|
+
# project`/locations/`location`/volumePools/`volume_pool``.
|
|
2613
|
+
# Corresponds to the JSON property `name`
|
|
2614
|
+
# @return [String]
|
|
2615
|
+
attr_accessor :name
|
|
2616
|
+
|
|
2617
|
+
# Required. The VPC network to which the VolumePool should be attached. Only
|
|
2618
|
+
# Private Service Connect (PSC) is supported.
|
|
2619
|
+
# Corresponds to the JSON property `network`
|
|
2620
|
+
# @return [String]
|
|
2621
|
+
attr_accessor :network
|
|
2622
|
+
|
|
2623
|
+
# Output only. System-assigned unique identifier for the volume pool.
|
|
2624
|
+
# Corresponds to the JSON property `uid`
|
|
2625
|
+
# @return [String]
|
|
2626
|
+
attr_accessor :uid
|
|
2627
|
+
|
|
2628
|
+
def initialize(**args)
|
|
2629
|
+
update!(**args)
|
|
2630
|
+
end
|
|
2631
|
+
|
|
2632
|
+
# Update properties of this object
|
|
2633
|
+
def update!(**args)
|
|
2634
|
+
@active_volume_iops = args[:active_volume_iops] if args.key?(:active_volume_iops)
|
|
2635
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2636
|
+
@default_volume_quota_mib = args[:default_volume_quota_mib] if args.key?(:default_volume_quota_mib)
|
|
2637
|
+
@description = args[:description] if args.key?(:description)
|
|
2638
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2639
|
+
@name = args[:name] if args.key?(:name)
|
|
2640
|
+
@network = args[:network] if args.key?(:network)
|
|
2641
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
2642
|
+
end
|
|
2643
|
+
end
|
|
2644
|
+
|
|
2419
2645
|
# Time window specified for weekly operations.
|
|
2420
2646
|
class WeeklyCycle
|
|
2421
2647
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FileV1beta1
|
|
18
18
|
# Version of the google-apis-file_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.73.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260827"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,18 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class ListVolumePoolsResponse
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class ListVolumesResponse
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
199
211
|
class Location
|
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
213
|
|
|
@@ -220,6 +232,12 @@ module Google
|
|
|
220
232
|
include Google::Apis::Core::JsonObjectSupport
|
|
221
233
|
end
|
|
222
234
|
|
|
235
|
+
class MountPoint
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
223
241
|
class NetworkConfig
|
|
224
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
243
|
|
|
@@ -358,6 +376,18 @@ module Google
|
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
377
|
end
|
|
360
378
|
|
|
379
|
+
class Volume
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class VolumePool
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
361
391
|
class WeeklyCycle
|
|
362
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
393
|
|
|
@@ -396,6 +426,7 @@ module Google
|
|
|
396
426
|
property :source_file_share, as: 'sourceFileShare'
|
|
397
427
|
property :source_instance, as: 'sourceInstance'
|
|
398
428
|
property :source_instance_tier, as: 'sourceInstanceTier'
|
|
429
|
+
property :source_volume, as: 'sourceVolume'
|
|
399
430
|
property :state, as: 'state'
|
|
400
431
|
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
|
401
432
|
hash :tags, as: 'tags'
|
|
@@ -695,6 +726,26 @@ module Google
|
|
|
695
726
|
end
|
|
696
727
|
end
|
|
697
728
|
|
|
729
|
+
class ListVolumePoolsResponse
|
|
730
|
+
# @private
|
|
731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
732
|
+
property :next_page_token, as: 'nextPageToken'
|
|
733
|
+
collection :unreachable, as: 'unreachable'
|
|
734
|
+
collection :volume_pools, as: 'volumePools', class: Google::Apis::FileV1beta1::VolumePool, decorator: Google::Apis::FileV1beta1::VolumePool::Representation
|
|
735
|
+
|
|
736
|
+
end
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
class ListVolumesResponse
|
|
740
|
+
# @private
|
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
742
|
+
property :next_page_token, as: 'nextPageToken'
|
|
743
|
+
collection :unreachable, as: 'unreachable'
|
|
744
|
+
collection :volumes, as: 'volumes', class: Google::Apis::FileV1beta1::Volume, decorator: Google::Apis::FileV1beta1::Volume::Representation
|
|
745
|
+
|
|
746
|
+
end
|
|
747
|
+
end
|
|
748
|
+
|
|
698
749
|
class Location
|
|
699
750
|
# @private
|
|
700
751
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -738,6 +789,14 @@ module Google
|
|
|
738
789
|
end
|
|
739
790
|
end
|
|
740
791
|
|
|
792
|
+
class MountPoint
|
|
793
|
+
# @private
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
795
|
+
property :ip_address, as: 'ipAddress'
|
|
796
|
+
property :mount_name, as: 'mountName'
|
|
797
|
+
end
|
|
798
|
+
end
|
|
799
|
+
|
|
741
800
|
class NetworkConfig
|
|
742
801
|
# @private
|
|
743
802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -827,6 +886,7 @@ module Google
|
|
|
827
886
|
# @private
|
|
828
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
829
888
|
property :endpoint_project, as: 'endpointProject'
|
|
889
|
+
property :requested_ip_address, as: 'requestedIpAddress'
|
|
830
890
|
end
|
|
831
891
|
end
|
|
832
892
|
|
|
@@ -908,6 +968,7 @@ module Google
|
|
|
908
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
909
969
|
property :backup, as: 'backup'
|
|
910
970
|
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
|
|
971
|
+
property :capacity_mb, :numeric_string => true, as: 'capacityMb'
|
|
911
972
|
property :create_time, as: 'createTime'
|
|
912
973
|
property :description, as: 'description'
|
|
913
974
|
hash :labels, as: 'labels'
|
|
@@ -962,6 +1023,32 @@ module Google
|
|
|
962
1023
|
end
|
|
963
1024
|
end
|
|
964
1025
|
|
|
1026
|
+
class Volume
|
|
1027
|
+
# @private
|
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1029
|
+
property :create_time, as: 'createTime'
|
|
1030
|
+
property :description, as: 'description'
|
|
1031
|
+
hash :labels, as: 'labels'
|
|
1032
|
+
property :mount_point, as: 'mountPoint', class: Google::Apis::FileV1beta1::MountPoint, decorator: Google::Apis::FileV1beta1::MountPoint::Representation
|
|
1033
|
+
|
|
1034
|
+
property :name, as: 'name'
|
|
1035
|
+
end
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
class VolumePool
|
|
1039
|
+
# @private
|
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1041
|
+
property :active_volume_iops, as: 'activeVolumeIops'
|
|
1042
|
+
property :create_time, as: 'createTime'
|
|
1043
|
+
property :default_volume_quota_mib, as: 'defaultVolumeQuotaMib'
|
|
1044
|
+
property :description, as: 'description'
|
|
1045
|
+
hash :labels, as: 'labels'
|
|
1046
|
+
property :name, as: 'name'
|
|
1047
|
+
property :network, as: 'network'
|
|
1048
|
+
property :uid, as: 'uid'
|
|
1049
|
+
end
|
|
1050
|
+
end
|
|
1051
|
+
|
|
965
1052
|
class WeeklyCycle
|
|
966
1053
|
# @private
|
|
967
1054
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1291,6 +1291,337 @@ module Google
|
|
|
1291
1291
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1292
1292
|
execute_or_queue_command(command, &block)
|
|
1293
1293
|
end
|
|
1294
|
+
|
|
1295
|
+
# Creates a volume pool.
|
|
1296
|
+
# @param [String] parent
|
|
1297
|
+
# Required. The project and location for which to create the volume pool, in the
|
|
1298
|
+
# format `projects/`project`/locations/`location``.
|
|
1299
|
+
# @param [Google::Apis::FileV1beta1::VolumePool] volume_pool_object
|
|
1300
|
+
# @param [String] volume_pool_id
|
|
1301
|
+
# Required. The ID to use for the volume pool, which will become the final
|
|
1302
|
+
# component of the volume pool's resource name.
|
|
1303
|
+
# @param [String] fields
|
|
1304
|
+
# Selector specifying which fields to include in a partial response.
|
|
1305
|
+
# @param [String] quota_user
|
|
1306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1308
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1309
|
+
# Request-specific options
|
|
1310
|
+
#
|
|
1311
|
+
# @yield [result, err] Result & error if block supplied
|
|
1312
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
|
1313
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1314
|
+
#
|
|
1315
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
|
1316
|
+
#
|
|
1317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1320
|
+
def create_project_location_volume_pool(parent, volume_pool_object = nil, volume_pool_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1321
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/volumePools', options)
|
|
1322
|
+
command.request_representation = Google::Apis::FileV1beta1::VolumePool::Representation
|
|
1323
|
+
command.request_object = volume_pool_object
|
|
1324
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
|
1325
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
|
1326
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1327
|
+
command.query['volumePoolId'] = volume_pool_id unless volume_pool_id.nil?
|
|
1328
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1329
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1330
|
+
execute_or_queue_command(command, &block)
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
# Deletes a volume pool.
|
|
1334
|
+
# @param [String] name
|
|
1335
|
+
# Required. The volume pool resource name, in the format `projects/`project`/
|
|
1336
|
+
# locations/`location`/volumePools/`volume_pool``.
|
|
1337
|
+
# @param [String] fields
|
|
1338
|
+
# Selector specifying which fields to include in a partial response.
|
|
1339
|
+
# @param [String] quota_user
|
|
1340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1342
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1343
|
+
# Request-specific options
|
|
1344
|
+
#
|
|
1345
|
+
# @yield [result, err] Result & error if block supplied
|
|
1346
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
|
1347
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1348
|
+
#
|
|
1349
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
|
1350
|
+
#
|
|
1351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1354
|
+
def delete_project_location_volume_pool(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1355
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1356
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
|
1357
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
|
1358
|
+
command.params['name'] = name unless name.nil?
|
|
1359
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1361
|
+
execute_or_queue_command(command, &block)
|
|
1362
|
+
end
|
|
1363
|
+
|
|
1364
|
+
# Gets the details of a specific volume pool.
|
|
1365
|
+
# @param [String] name
|
|
1366
|
+
# Required. The volume pool resource name, in the format `projects/`project`/
|
|
1367
|
+
# locations/`location`/volumePools/`volume_pool``.
|
|
1368
|
+
# @param [String] fields
|
|
1369
|
+
# Selector specifying which fields to include in a partial response.
|
|
1370
|
+
# @param [String] quota_user
|
|
1371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1373
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1374
|
+
# Request-specific options
|
|
1375
|
+
#
|
|
1376
|
+
# @yield [result, err] Result & error if block supplied
|
|
1377
|
+
# @yieldparam result [Google::Apis::FileV1beta1::VolumePool] parsed result object
|
|
1378
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1379
|
+
#
|
|
1380
|
+
# @return [Google::Apis::FileV1beta1::VolumePool]
|
|
1381
|
+
#
|
|
1382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1385
|
+
def get_project_location_volume_pool(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1386
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1387
|
+
command.response_representation = Google::Apis::FileV1beta1::VolumePool::Representation
|
|
1388
|
+
command.response_class = Google::Apis::FileV1beta1::VolumePool
|
|
1389
|
+
command.params['name'] = name unless name.nil?
|
|
1390
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1392
|
+
execute_or_queue_command(command, &block)
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
# Lists all volume pools in a project for either a specified location or for all
|
|
1396
|
+
# locations.
|
|
1397
|
+
# @param [String] parent
|
|
1398
|
+
# Required. The project and location for which to retrieve volume pool
|
|
1399
|
+
# information, in the format `projects/`project`/locations/`location``. To
|
|
1400
|
+
# retrieve volume pool information for all locations, use "-" as the value of ``
|
|
1401
|
+
# location``.
|
|
1402
|
+
# @param [String] filter
|
|
1403
|
+
# Optional. List filter.
|
|
1404
|
+
# @param [String] order_by
|
|
1405
|
+
# Optional. Sort results. Supported values are "name", "name desc" or "" (
|
|
1406
|
+
# unsorted).
|
|
1407
|
+
# @param [Fixnum] page_size
|
|
1408
|
+
# Optional. The maximum number of items to return.
|
|
1409
|
+
# @param [String] page_token
|
|
1410
|
+
# Optional. The next_page_token value to use if there are additional results to
|
|
1411
|
+
# retrieve for this list request.
|
|
1412
|
+
# @param [String] fields
|
|
1413
|
+
# Selector specifying which fields to include in a partial response.
|
|
1414
|
+
# @param [String] quota_user
|
|
1415
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1416
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1417
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1418
|
+
# Request-specific options
|
|
1419
|
+
#
|
|
1420
|
+
# @yield [result, err] Result & error if block supplied
|
|
1421
|
+
# @yieldparam result [Google::Apis::FileV1beta1::ListVolumePoolsResponse] parsed result object
|
|
1422
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1423
|
+
#
|
|
1424
|
+
# @return [Google::Apis::FileV1beta1::ListVolumePoolsResponse]
|
|
1425
|
+
#
|
|
1426
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1427
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1428
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1429
|
+
def list_project_location_volume_pools(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1430
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/volumePools', options)
|
|
1431
|
+
command.response_representation = Google::Apis::FileV1beta1::ListVolumePoolsResponse::Representation
|
|
1432
|
+
command.response_class = Google::Apis::FileV1beta1::ListVolumePoolsResponse
|
|
1433
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1434
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1435
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1436
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1437
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1438
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1439
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1440
|
+
execute_or_queue_command(command, &block)
|
|
1441
|
+
end
|
|
1442
|
+
|
|
1443
|
+
# Updates the settings of a specific volume pool.
|
|
1444
|
+
# @param [String] name
|
|
1445
|
+
# Identifier. The resource name of the volume pool, in the format `projects/`
|
|
1446
|
+
# project`/locations/`location`/volumePools/`volume_pool``.
|
|
1447
|
+
# @param [Google::Apis::FileV1beta1::VolumePool] volume_pool_object
|
|
1448
|
+
# @param [String] update_mask
|
|
1449
|
+
# Optional. Mask of fields to update. At least one path must be supplied in this
|
|
1450
|
+
# field.
|
|
1451
|
+
# @param [String] fields
|
|
1452
|
+
# Selector specifying which fields to include in a partial response.
|
|
1453
|
+
# @param [String] quota_user
|
|
1454
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1455
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1456
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1457
|
+
# Request-specific options
|
|
1458
|
+
#
|
|
1459
|
+
# @yield [result, err] Result & error if block supplied
|
|
1460
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
|
1461
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1462
|
+
#
|
|
1463
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
|
1464
|
+
#
|
|
1465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1468
|
+
def patch_project_location_volume_pool(name, volume_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1469
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
1470
|
+
command.request_representation = Google::Apis::FileV1beta1::VolumePool::Representation
|
|
1471
|
+
command.request_object = volume_pool_object
|
|
1472
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
|
1473
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
|
1474
|
+
command.params['name'] = name unless name.nil?
|
|
1475
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1476
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1478
|
+
execute_or_queue_command(command, &block)
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# Creates a volume.
|
|
1482
|
+
# @param [String] parent
|
|
1483
|
+
# Required. The parent volume pool path, in the format `projects/`project`/
|
|
1484
|
+
# locations/`location`/volumePools/`volume_pool``.
|
|
1485
|
+
# @param [Google::Apis::FileV1beta1::Volume] volume_object
|
|
1486
|
+
# @param [String] volume_id
|
|
1487
|
+
# Required. The ID to use for the volume. The ID must be unique within the
|
|
1488
|
+
# specified volume pool.
|
|
1489
|
+
# @param [String] fields
|
|
1490
|
+
# Selector specifying which fields to include in a partial response.
|
|
1491
|
+
# @param [String] quota_user
|
|
1492
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1493
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1494
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1495
|
+
# Request-specific options
|
|
1496
|
+
#
|
|
1497
|
+
# @yield [result, err] Result & error if block supplied
|
|
1498
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Volume] parsed result object
|
|
1499
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1500
|
+
#
|
|
1501
|
+
# @return [Google::Apis::FileV1beta1::Volume]
|
|
1502
|
+
#
|
|
1503
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1504
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1505
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1506
|
+
def create_project_location_volume_pool_volume(parent, volume_object = nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1507
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/volumes', options)
|
|
1508
|
+
command.request_representation = Google::Apis::FileV1beta1::Volume::Representation
|
|
1509
|
+
command.request_object = volume_object
|
|
1510
|
+
command.response_representation = Google::Apis::FileV1beta1::Volume::Representation
|
|
1511
|
+
command.response_class = Google::Apis::FileV1beta1::Volume
|
|
1512
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1513
|
+
command.query['volumeId'] = volume_id unless volume_id.nil?
|
|
1514
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1515
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1516
|
+
execute_or_queue_command(command, &block)
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
# Deletes a volume.
|
|
1520
|
+
# @param [String] name
|
|
1521
|
+
# Required. The volume resource name, in the format `projects/`project`/
|
|
1522
|
+
# locations/`location`/volumePools/`volume_pool`/volumes/`volume``.
|
|
1523
|
+
# @param [String] fields
|
|
1524
|
+
# Selector specifying which fields to include in a partial response.
|
|
1525
|
+
# @param [String] quota_user
|
|
1526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1528
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1529
|
+
# Request-specific options
|
|
1530
|
+
#
|
|
1531
|
+
# @yield [result, err] Result & error if block supplied
|
|
1532
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Empty] parsed result object
|
|
1533
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1534
|
+
#
|
|
1535
|
+
# @return [Google::Apis::FileV1beta1::Empty]
|
|
1536
|
+
#
|
|
1537
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1538
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1539
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1540
|
+
def delete_project_location_volume_pool_volume(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1541
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
1542
|
+
command.response_representation = Google::Apis::FileV1beta1::Empty::Representation
|
|
1543
|
+
command.response_class = Google::Apis::FileV1beta1::Empty
|
|
1544
|
+
command.params['name'] = name unless name.nil?
|
|
1545
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1547
|
+
execute_or_queue_command(command, &block)
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
# Gets the details of a specific volume.
|
|
1551
|
+
# @param [String] name
|
|
1552
|
+
# Required. The volume resource name, in the format `projects/`project`/
|
|
1553
|
+
# locations/`location`/volumePools/`volume_pool`/volumes/`volume``.
|
|
1554
|
+
# @param [String] fields
|
|
1555
|
+
# Selector specifying which fields to include in a partial response.
|
|
1556
|
+
# @param [String] quota_user
|
|
1557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1559
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1560
|
+
# Request-specific options
|
|
1561
|
+
#
|
|
1562
|
+
# @yield [result, err] Result & error if block supplied
|
|
1563
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Volume] parsed result object
|
|
1564
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1565
|
+
#
|
|
1566
|
+
# @return [Google::Apis::FileV1beta1::Volume]
|
|
1567
|
+
#
|
|
1568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1571
|
+
def get_project_location_volume_pool_volume(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1572
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
1573
|
+
command.response_representation = Google::Apis::FileV1beta1::Volume::Representation
|
|
1574
|
+
command.response_class = Google::Apis::FileV1beta1::Volume
|
|
1575
|
+
command.params['name'] = name unless name.nil?
|
|
1576
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1578
|
+
execute_or_queue_command(command, &block)
|
|
1579
|
+
end
|
|
1580
|
+
|
|
1581
|
+
# Lists all volumes for a specified volume pool.
|
|
1582
|
+
# @param [String] parent
|
|
1583
|
+
# Required. The volume pool for which to retrieve volume information, in the
|
|
1584
|
+
# format `projects/`project`/locations/`location`/volumePools/`volume_pool``.
|
|
1585
|
+
# @param [String] filter
|
|
1586
|
+
# Optional. List filter.
|
|
1587
|
+
# @param [String] order_by
|
|
1588
|
+
# Optional. Sort results. Supported values are "name", "name desc" or "" (
|
|
1589
|
+
# unsorted).
|
|
1590
|
+
# @param [Fixnum] page_size
|
|
1591
|
+
# Optional. The maximum number of items to return.
|
|
1592
|
+
# @param [String] page_token
|
|
1593
|
+
# Optional. The next_page_token value to use if there are additional results to
|
|
1594
|
+
# retrieve for this list request.
|
|
1595
|
+
# @param [String] fields
|
|
1596
|
+
# Selector specifying which fields to include in a partial response.
|
|
1597
|
+
# @param [String] quota_user
|
|
1598
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1599
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1600
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1601
|
+
# Request-specific options
|
|
1602
|
+
#
|
|
1603
|
+
# @yield [result, err] Result & error if block supplied
|
|
1604
|
+
# @yieldparam result [Google::Apis::FileV1beta1::ListVolumesResponse] parsed result object
|
|
1605
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1606
|
+
#
|
|
1607
|
+
# @return [Google::Apis::FileV1beta1::ListVolumesResponse]
|
|
1608
|
+
#
|
|
1609
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1610
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1611
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1612
|
+
def list_project_location_volume_pool_volumes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1613
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/volumes', options)
|
|
1614
|
+
command.response_representation = Google::Apis::FileV1beta1::ListVolumesResponse::Representation
|
|
1615
|
+
command.response_class = Google::Apis::FileV1beta1::ListVolumesResponse
|
|
1616
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1617
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1618
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1619
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1620
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1621
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1622
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1623
|
+
execute_or_queue_command(command, &block)
|
|
1624
|
+
end
|
|
1294
1625
|
|
|
1295
1626
|
protected
|
|
1296
1627
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-file_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.73.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|