google-apis-file_v1beta1 0.70.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
|
@@ -391,6 +391,11 @@ module Google
|
|
|
391
391
|
# @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
|
|
392
392
|
attr_accessor :nfs_export_options
|
|
393
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
|
+
|
|
394
399
|
# The resource name of the backup, in the format `projects/`project_id`/
|
|
395
400
|
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
|
396
401
|
# restored from.
|
|
@@ -414,6 +419,7 @@ module Google
|
|
|
414
419
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
|
415
420
|
@name = args[:name] if args.key?(:name)
|
|
416
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)
|
|
417
423
|
@source_backup = args[:source_backup] if args.key?(:source_backup)
|
|
418
424
|
@source_backupdr_backup = args[:source_backupdr_backup] if args.key?(:source_backupdr_backup)
|
|
419
425
|
end
|
|
@@ -2028,6 +2034,28 @@ module Google
|
|
|
2028
2034
|
end
|
|
2029
2035
|
end
|
|
2030
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
|
+
|
|
2031
2059
|
# RestoreInstanceRequest restores an existing instance's file share from a
|
|
2032
2060
|
# backup.
|
|
2033
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
|
|
@@ -298,6 +298,12 @@ module Google
|
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
|
299
299
|
end
|
|
300
300
|
|
|
301
|
+
class RestoreConfig
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
301
307
|
class RestoreInstanceRequest
|
|
302
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
309
|
|
|
@@ -455,6 +461,8 @@ module Google
|
|
|
455
461
|
property :name, as: 'name'
|
|
456
462
|
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
|
|
457
463
|
|
|
464
|
+
property :restore_config, as: 'restoreConfig', class: Google::Apis::FileV1beta1::RestoreConfig, decorator: Google::Apis::FileV1beta1::RestoreConfig::Representation
|
|
465
|
+
|
|
458
466
|
property :source_backup, as: 'sourceBackup'
|
|
459
467
|
property :source_backupdr_backup, as: 'sourceBackupdrBackup'
|
|
460
468
|
end
|
|
@@ -856,6 +864,13 @@ module Google
|
|
|
856
864
|
end
|
|
857
865
|
end
|
|
858
866
|
|
|
867
|
+
class RestoreConfig
|
|
868
|
+
# @private
|
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
870
|
+
collection :path_patterns, as: 'pathPatterns'
|
|
871
|
+
end
|
|
872
|
+
end
|
|
873
|
+
|
|
859
874
|
class RestoreInstanceRequest
|
|
860
875
|
# @private
|
|
861
876
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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:
|