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: 9defe75fa6836821bace82d0422a8aadfdaa5db850e40dc9377f8f36cc61ab2a
4
- data.tar.gz: 510c0e2ba4bd9e0ae50e244f0aaaa94d19eee02976db09b0dedbc90b16b68e44
3
+ metadata.gz: a960ff7307d72bdae81e4dd04e56faef5d85035191f412a2967d19bcdd1fd5c1
4
+ data.tar.gz: 349e89dabecd71e261b5623c42cac97ead73a36a3f5f1715ba5b2b9080e3c520
5
5
  SHA512:
6
- metadata.gz: 68293a7be3901a19791547510e7d048b304e45c45773fa808502424ee9b38188ba6bec033fd3754ba7102de4313fa15496adffaa3f1b51374106406a3e199fb1
7
- data.tar.gz: 0ecd055f21d3da7f565977ff8f33fdc8271e2789d848695827f256b3b84e6cc6ec3093e51cbe225afa8ada4efc045f24518fcf9ad38626d7031764ed44047363
6
+ metadata.gz: f953437d8cf66f455b6e9380e83a627ad0b8351444a9bb47bc061001738e4ff28a7c4f07e26d9dade7b5e65b9c47a98d24ff79178cf04e222511c767a7b8a28f
7
+ data.tar.gz: daee1b9193db29a4dbb2572b89d9234ccb28a638b06b3dc2e9bf65643cd26009d250c46ce70e61fff83a78a9fbf5d8bad6d7d08dbfbf116f257b5a6c08d2c18e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.45.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240304
6
+
3
7
  ### v0.44.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -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. Example: if
1245
- # the computer_name is `my-computer`, the mount command will look like: `$mount -
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
- # Fully qualified domain name.
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.44.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 = "20231210"
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/`project_id`/locations/`location_id`/instances/`
553
- # instance_id``. The resource name of the instance, in the format
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.44.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-02-25 00:00:00.000000000 Z
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.44.0
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: []