google-apis-file_v1beta1 0.69.0 → 0.71.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: badef18f7ba7dba6e0d8804950ec2fc439392ffb645ad2709bfd195c96aed3ff
|
|
4
|
+
data.tar.gz: e40a0bbab66447f45ba747f38dacf4e3728a4c1dc54f21a40e7a772dc367a089
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01de7ee0fef8cd9fbca13f3289cb410494e9fb185892424c0e3eacded72bd738c7c882784e68454ac4ecaf901aef38f410ba2136bd087d81944c5c91efe719bf
|
|
7
|
+
data.tar.gz: 3d8497664d7c8eceddf65361f47f3fa4abf2a3b1ed9f4192e5e51ed8c756b84551b50b72e09cc416c327b99de6df87bfb2b9562ffe2ab306765a9c08b8bf10d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-file_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.71.0 (2026-07-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260710
|
|
6
|
+
|
|
7
|
+
### v0.70.0 (2026-06-28)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260612
|
|
10
|
+
|
|
3
11
|
### v0.69.0 (2026-06-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated using generator version 0.19.0
|
|
@@ -22,6 +22,57 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FileV1beta1
|
|
24
24
|
|
|
25
|
+
# Request message for AcquireShare.
|
|
26
|
+
class AcquireShareRequest
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Required. Requested size of the share in GiB.
|
|
30
|
+
# Corresponds to the JSON property `capacityGb`
|
|
31
|
+
# @return [Fixnum]
|
|
32
|
+
attr_accessor :capacity_gb
|
|
33
|
+
|
|
34
|
+
# Required. Unique string generated by the CSI driver for exact retry
|
|
35
|
+
# idempotency.
|
|
36
|
+
# Corresponds to the JSON property `requestId`
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :request_id
|
|
39
|
+
|
|
40
|
+
def initialize(**args)
|
|
41
|
+
update!(**args)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Update properties of this object
|
|
45
|
+
def update!(**args)
|
|
46
|
+
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
|
47
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Output message for AcquireShare.
|
|
52
|
+
class AcquireShareResponse
|
|
53
|
+
include Google::Apis::Core::Hashable
|
|
54
|
+
|
|
55
|
+
# The IP address of the physical Filestore instance hosting the share.
|
|
56
|
+
# Corresponds to the JSON property `ipAddress`
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :ip_address
|
|
59
|
+
|
|
60
|
+
# The specific share identifier on the instance.
|
|
61
|
+
# Corresponds to the JSON property `shareId`
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :share_id
|
|
64
|
+
|
|
65
|
+
def initialize(**args)
|
|
66
|
+
update!(**args)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Update properties of this object
|
|
70
|
+
def update!(**args)
|
|
71
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
72
|
+
@share_id = args[:share_id] if args.key?(:share_id)
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
25
76
|
# A Filestore backup.
|
|
26
77
|
class Backup
|
|
27
78
|
include Google::Apis::Core::Hashable
|
|
@@ -340,6 +391,11 @@ module Google
|
|
|
340
391
|
# @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
|
|
341
392
|
attr_accessor :nfs_export_options
|
|
342
393
|
|
|
394
|
+
# Optional configuration for restore backup operations.
|
|
395
|
+
# Corresponds to the JSON property `restoreConfig`
|
|
396
|
+
# @return [Google::Apis::FileV1beta1::RestoreConfig]
|
|
397
|
+
attr_accessor :restore_config
|
|
398
|
+
|
|
343
399
|
# The resource name of the backup, in the format `projects/`project_id`/
|
|
344
400
|
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
|
345
401
|
# restored from.
|
|
@@ -363,6 +419,7 @@ module Google
|
|
|
363
419
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
|
364
420
|
@name = args[:name] if args.key?(:name)
|
|
365
421
|
@nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
|
|
422
|
+
@restore_config = args[:restore_config] if args.key?(:restore_config)
|
|
366
423
|
@source_backup = args[:source_backup] if args.key?(:source_backup)
|
|
367
424
|
@source_backupdr_backup = args[:source_backupdr_backup] if args.key?(:source_backupdr_backup)
|
|
368
425
|
end
|
|
@@ -1866,6 +1923,44 @@ module Google
|
|
|
1866
1923
|
end
|
|
1867
1924
|
end
|
|
1868
1925
|
|
|
1926
|
+
# Request message for ReleaseShare.
|
|
1927
|
+
class ReleaseShareRequest
|
|
1928
|
+
include Google::Apis::Core::Hashable
|
|
1929
|
+
|
|
1930
|
+
# Required. The IP address of the physical Filestore instance hosting the share.
|
|
1931
|
+
# Corresponds to the JSON property `ipAddress`
|
|
1932
|
+
# @return [String]
|
|
1933
|
+
attr_accessor :ip_address
|
|
1934
|
+
|
|
1935
|
+
# Required. The specific share ID on the instance.
|
|
1936
|
+
# Corresponds to the JSON property `shareId`
|
|
1937
|
+
# @return [String]
|
|
1938
|
+
attr_accessor :share_id
|
|
1939
|
+
|
|
1940
|
+
def initialize(**args)
|
|
1941
|
+
update!(**args)
|
|
1942
|
+
end
|
|
1943
|
+
|
|
1944
|
+
# Update properties of this object
|
|
1945
|
+
def update!(**args)
|
|
1946
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
1947
|
+
@share_id = args[:share_id] if args.key?(:share_id)
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1951
|
+
# Response message for ReleaseShare.
|
|
1952
|
+
class ReleaseShareResponse
|
|
1953
|
+
include Google::Apis::Core::Hashable
|
|
1954
|
+
|
|
1955
|
+
def initialize(**args)
|
|
1956
|
+
update!(**args)
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1959
|
+
# Update properties of this object
|
|
1960
|
+
def update!(**args)
|
|
1961
|
+
end
|
|
1962
|
+
end
|
|
1963
|
+
|
|
1869
1964
|
# Replica configuration for the instance.
|
|
1870
1965
|
class ReplicaConfig
|
|
1871
1966
|
include Google::Apis::Core::Hashable
|
|
@@ -1939,6 +2034,28 @@ module Google
|
|
|
1939
2034
|
end
|
|
1940
2035
|
end
|
|
1941
2036
|
|
|
2037
|
+
# Optional configuration for restore backup operations.
|
|
2038
|
+
class RestoreConfig
|
|
2039
|
+
include Google::Apis::Core::Hashable
|
|
2040
|
+
|
|
2041
|
+
# Optional. Example: If you want to restore `/mnt/share/dir1/file.txt`, the path
|
|
2042
|
+
# pattern must be `/dir1/file.txt`. If you want to restore `/mnt/share/dir1/`,
|
|
2043
|
+
# the path pattern must be `/dir1`. Currently only single path is supported,
|
|
2044
|
+
# Glob patterns are not supported.
|
|
2045
|
+
# Corresponds to the JSON property `pathPatterns`
|
|
2046
|
+
# @return [Array<String>]
|
|
2047
|
+
attr_accessor :path_patterns
|
|
2048
|
+
|
|
2049
|
+
def initialize(**args)
|
|
2050
|
+
update!(**args)
|
|
2051
|
+
end
|
|
2052
|
+
|
|
2053
|
+
# Update properties of this object
|
|
2054
|
+
def update!(**args)
|
|
2055
|
+
@path_patterns = args[:path_patterns] if args.key?(:path_patterns)
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
|
|
1942
2059
|
# RestoreInstanceRequest restores an existing instance's file share from a
|
|
1943
2060
|
# backup.
|
|
1944
2061
|
class RestoreInstanceRequest
|
|
@@ -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.71.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 = "20260710"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FileV1beta1
|
|
24
24
|
|
|
25
|
+
class AcquireShareRequest
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AcquireShareResponse
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class Backup
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -262,6 +274,18 @@ module Google
|
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
275
|
end
|
|
264
276
|
|
|
277
|
+
class ReleaseShareRequest
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
class ReleaseShareResponse
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
265
289
|
class ReplicaConfig
|
|
266
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
291
|
|
|
@@ -274,6 +298,12 @@ module Google
|
|
|
274
298
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
299
|
end
|
|
276
300
|
|
|
301
|
+
class RestoreConfig
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
277
307
|
class RestoreInstanceRequest
|
|
278
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
309
|
|
|
@@ -334,6 +364,22 @@ module Google
|
|
|
334
364
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
365
|
end
|
|
336
366
|
|
|
367
|
+
class AcquireShareRequest
|
|
368
|
+
# @private
|
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
370
|
+
property :capacity_gb, as: 'capacityGb'
|
|
371
|
+
property :request_id, as: 'requestId'
|
|
372
|
+
end
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
class AcquireShareResponse
|
|
376
|
+
# @private
|
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
378
|
+
property :ip_address, as: 'ipAddress'
|
|
379
|
+
property :share_id, as: 'shareId'
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
|
|
337
383
|
class Backup
|
|
338
384
|
# @private
|
|
339
385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -415,6 +461,8 @@ module Google
|
|
|
415
461
|
property :name, as: 'name'
|
|
416
462
|
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
|
|
417
463
|
|
|
464
|
+
property :restore_config, as: 'restoreConfig', class: Google::Apis::FileV1beta1::RestoreConfig, decorator: Google::Apis::FileV1beta1::RestoreConfig::Representation
|
|
465
|
+
|
|
418
466
|
property :source_backup, as: 'sourceBackup'
|
|
419
467
|
property :source_backupdr_backup, as: 'sourceBackupdrBackup'
|
|
420
468
|
end
|
|
@@ -782,6 +830,20 @@ module Google
|
|
|
782
830
|
end
|
|
783
831
|
end
|
|
784
832
|
|
|
833
|
+
class ReleaseShareRequest
|
|
834
|
+
# @private
|
|
835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
836
|
+
property :ip_address, as: 'ipAddress'
|
|
837
|
+
property :share_id, as: 'shareId'
|
|
838
|
+
end
|
|
839
|
+
end
|
|
840
|
+
|
|
841
|
+
class ReleaseShareResponse
|
|
842
|
+
# @private
|
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
785
847
|
class ReplicaConfig
|
|
786
848
|
# @private
|
|
787
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -802,6 +864,13 @@ module Google
|
|
|
802
864
|
end
|
|
803
865
|
end
|
|
804
866
|
|
|
867
|
+
class RestoreConfig
|
|
868
|
+
# @private
|
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
870
|
+
collection :path_patterns, as: 'pathPatterns'
|
|
871
|
+
end
|
|
872
|
+
end
|
|
873
|
+
|
|
805
874
|
class RestoreInstanceRequest
|
|
806
875
|
# @private
|
|
807
876
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1223,6 +1223,74 @@ module Google
|
|
|
1223
1223
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1224
1224
|
execute_or_queue_command(command, &block)
|
|
1225
1225
|
end
|
|
1226
|
+
|
|
1227
|
+
# Acquires a share synchronously from the pre-provisioned share pool.
|
|
1228
|
+
# @param [String] parent
|
|
1229
|
+
# Required. The parent share pool path, in the format `projects/`project`/
|
|
1230
|
+
# locations/`location`/sharePools/`share_pool``.
|
|
1231
|
+
# @param [Google::Apis::FileV1beta1::AcquireShareRequest] acquire_share_request_object
|
|
1232
|
+
# @param [String] fields
|
|
1233
|
+
# Selector specifying which fields to include in a partial response.
|
|
1234
|
+
# @param [String] quota_user
|
|
1235
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1236
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1237
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1238
|
+
# Request-specific options
|
|
1239
|
+
#
|
|
1240
|
+
# @yield [result, err] Result & error if block supplied
|
|
1241
|
+
# @yieldparam result [Google::Apis::FileV1beta1::AcquireShareResponse] parsed result object
|
|
1242
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1243
|
+
#
|
|
1244
|
+
# @return [Google::Apis::FileV1beta1::AcquireShareResponse]
|
|
1245
|
+
#
|
|
1246
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1247
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1248
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1249
|
+
def acquire_share_pool_share(parent, acquire_share_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1250
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}:acquireShare', options)
|
|
1251
|
+
command.request_representation = Google::Apis::FileV1beta1::AcquireShareRequest::Representation
|
|
1252
|
+
command.request_object = acquire_share_request_object
|
|
1253
|
+
command.response_representation = Google::Apis::FileV1beta1::AcquireShareResponse::Representation
|
|
1254
|
+
command.response_class = Google::Apis::FileV1beta1::AcquireShareResponse
|
|
1255
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1256
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1258
|
+
execute_or_queue_command(command, &block)
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1261
|
+
# Releases a share synchronously, marking it for background scrubbing.
|
|
1262
|
+
# @param [String] parent
|
|
1263
|
+
# Required. The parent share pool path, in the format `projects/`project`/
|
|
1264
|
+
# locations/`location`/sharePools/`share_pool``.
|
|
1265
|
+
# @param [Google::Apis::FileV1beta1::ReleaseShareRequest] release_share_request_object
|
|
1266
|
+
# @param [String] fields
|
|
1267
|
+
# Selector specifying which fields to include in a partial response.
|
|
1268
|
+
# @param [String] quota_user
|
|
1269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1271
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1272
|
+
# Request-specific options
|
|
1273
|
+
#
|
|
1274
|
+
# @yield [result, err] Result & error if block supplied
|
|
1275
|
+
# @yieldparam result [Google::Apis::FileV1beta1::ReleaseShareResponse] parsed result object
|
|
1276
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1277
|
+
#
|
|
1278
|
+
# @return [Google::Apis::FileV1beta1::ReleaseShareResponse]
|
|
1279
|
+
#
|
|
1280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1283
|
+
def release_share_pool_share(parent, release_share_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1284
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}:releaseShare', options)
|
|
1285
|
+
command.request_representation = Google::Apis::FileV1beta1::ReleaseShareRequest::Representation
|
|
1286
|
+
command.request_object = release_share_request_object
|
|
1287
|
+
command.response_representation = Google::Apis::FileV1beta1::ReleaseShareResponse::Representation
|
|
1288
|
+
command.response_class = Google::Apis::FileV1beta1::ReleaseShareResponse
|
|
1289
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1290
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1292
|
+
execute_or_queue_command(command, &block)
|
|
1293
|
+
end
|
|
1226
1294
|
|
|
1227
1295
|
protected
|
|
1228
1296
|
|
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.71.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.71.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:
|