google-apis-file_v1beta1 0.44.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a960ff7307d72bdae81e4dd04e56faef5d85035191f412a2967d19bcdd1fd5c1
|
4
|
+
data.tar.gz: 349e89dabecd71e261b5623c42cac97ead73a36a3f5f1715ba5b2b9080e3c520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f953437d8cf66f455b6e9380e83a627ad0b8351444a9bb47bc061001738e4ff28a7c4f07e26d9dade7b5e65b9c47a98d24ff79178cf04e222511c767a7b8a28f
|
7
|
+
data.tar.gz: daee1b9193db29a4dbb2572b89d9234ccb28a638b06b3dc2e9bf65643cd26009d250c46ce70e61fff83a78a9fbf5d8bad6d7d08dbfbf116f257b5a6c08d2c18e
|
data/CHANGELOG.md
CHANGED
@@ -1241,14 +1241,15 @@ module Google
|
|
1241
1241
|
class ManagedActiveDirectoryConfig
|
1242
1242
|
include Google::Apis::Core::Hashable
|
1243
1243
|
|
1244
|
-
# The computer name is used as a prefix to the mount remote target.
|
1245
|
-
# the
|
1246
|
-
# o vers=4,sec=krb5 my-computer.filestore
|
1244
|
+
# Required. The computer name is used as a prefix to the mount remote target.
|
1245
|
+
# Example: if the computer is `my-computer`, the mount command will look like: `$
|
1246
|
+
# mount -o vers=4.1,sec=krb5 my-computer.filestore.: `.
|
1247
1247
|
# Corresponds to the JSON property `computer`
|
1248
1248
|
# @return [String]
|
1249
1249
|
attr_accessor :computer
|
1250
1250
|
|
1251
|
-
#
|
1251
|
+
# Required. The domain resource name, in the format `projects/`project_id`/
|
1252
|
+
# locations/global/domains/`domain``.
|
1252
1253
|
# Corresponds to the JSON property `domain`
|
1253
1254
|
# @return [String]
|
1254
1255
|
attr_accessor :domain
|
@@ -1507,6 +1508,19 @@ module Google
|
|
1507
1508
|
end
|
1508
1509
|
end
|
1509
1510
|
|
1511
|
+
# PromoteReplicaRequest promotes a Filestore standby instance (replica).
|
1512
|
+
class PromoteReplicaRequest
|
1513
|
+
include Google::Apis::Core::Hashable
|
1514
|
+
|
1515
|
+
def initialize(**args)
|
1516
|
+
update!(**args)
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# Update properties of this object
|
1520
|
+
def update!(**args)
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1510
1524
|
# RestoreInstanceRequest restores an existing instance's file share from a
|
1511
1525
|
# backup.
|
1512
1526
|
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.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240304"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -214,6 +214,12 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class PromoteReplicaRequest
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class RestoreInstanceRequest
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
@@ -628,6 +634,12 @@ module Google
|
|
628
634
|
end
|
629
635
|
end
|
630
636
|
|
637
|
+
class PromoteReplicaRequest
|
638
|
+
# @private
|
639
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
631
643
|
class RestoreInstanceRequest
|
632
644
|
# @private
|
633
645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -480,7 +480,7 @@ module Google
|
|
480
480
|
# @param [String] update_mask
|
481
481
|
# Required. Mask of fields to update. At least one path must be supplied in this
|
482
482
|
# field. The elements of the repeated paths field may only include these fields:
|
483
|
-
# * "description" * "file_shares" * "labels"
|
483
|
+
# * "description" * "directory_services" * "file_shares" * "labels"
|
484
484
|
# @param [String] fields
|
485
485
|
# Selector specifying which fields to include in a partial response.
|
486
486
|
# @param [String] quota_user
|
@@ -511,6 +511,40 @@ module Google
|
|
511
511
|
execute_or_queue_command(command, &block)
|
512
512
|
end
|
513
513
|
|
514
|
+
# Promote an standby instance (replica).
|
515
|
+
# @param [String] name
|
516
|
+
# Required. The resource name of the instance, in the format `projects/`
|
517
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
518
|
+
# @param [Google::Apis::FileV1beta1::PromoteReplicaRequest] promote_replica_request_object
|
519
|
+
# @param [String] fields
|
520
|
+
# Selector specifying which fields to include in a partial response.
|
521
|
+
# @param [String] quota_user
|
522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
524
|
+
# @param [Google::Apis::RequestOptions] options
|
525
|
+
# Request-specific options
|
526
|
+
#
|
527
|
+
# @yield [result, err] Result & error if block supplied
|
528
|
+
# @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
|
529
|
+
# @yieldparam err [StandardError] error object if request failed
|
530
|
+
#
|
531
|
+
# @return [Google::Apis::FileV1beta1::Operation]
|
532
|
+
#
|
533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
|
+
def promote_instance_replica(name, promote_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
537
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:promoteReplica', options)
|
538
|
+
command.request_representation = Google::Apis::FileV1beta1::PromoteReplicaRequest::Representation
|
539
|
+
command.request_object = promote_replica_request_object
|
540
|
+
command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
|
541
|
+
command.response_class = Google::Apis::FileV1beta1::Operation
|
542
|
+
command.params['name'] = name unless name.nil?
|
543
|
+
command.query['fields'] = fields unless fields.nil?
|
544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
545
|
+
execute_or_queue_command(command, &block)
|
546
|
+
end
|
547
|
+
|
514
548
|
# Restores an existing instance's file share from a backup. The capacity of the
|
515
549
|
# instance needs to be equal to or larger than the capacity of the backup (and
|
516
550
|
# also equal to or larger than the minimum capacity of the tier).
|
@@ -549,8 +583,8 @@ module Google
|
|
549
583
|
|
550
584
|
# Revert an existing instance's file system to a specified snapshot.
|
551
585
|
# @param [String] name
|
552
|
-
# Required. `projects/`
|
553
|
-
# instance_id``.
|
586
|
+
# Required. The resource name of the instance, in the format `projects/`
|
587
|
+
# project_id`/locations/`location_id`/instances/`instance_id``.
|
554
588
|
# @param [Google::Apis::FileV1beta1::RevertInstanceRequest] revert_instance_request_object
|
555
589
|
# @param [String] fields
|
556
590
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|