google-apis-file_v1beta1 0.43.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: 1d13443cb8bf0991645d2f58d58086e517ad37f69ac2a84cddcfa9b11c36d7ad
4
- data.tar.gz: 24b1f3d1ab6222241e71af13d27d6f102740a95809c278c40ff47a1f8e8b6be4
3
+ metadata.gz: a960ff7307d72bdae81e4dd04e56faef5d85035191f412a2967d19bcdd1fd5c1
4
+ data.tar.gz: 349e89dabecd71e261b5623c42cac97ead73a36a3f5f1715ba5b2b9080e3c520
5
5
  SHA512:
6
- metadata.gz: 5fc62aa2577d2e98d67fe9d5587b96b945d404a48dc4aa6e9e62b92da8224f688fbfb9e0f571855c8e12f3011a58d4d8b3cc678939d0b2cf6f09012ace162c63
7
- data.tar.gz: 9e34bdc38a5c06bc040563b8ce659e6641bea15ecbd535fca5cb393ccb8ae41fb6bb04752406e653c6c48ac4514f7c7cca533c1a1ff85ccf5cdbc108f176527a
6
+ metadata.gz: f953437d8cf66f455b6e9380e83a627ad0b8351444a9bb47bc061001738e4ff28a7c4f07e26d9dade7b5e65b9c47a98d24ff79178cf04e222511c767a7b8a28f
7
+ data.tar.gz: daee1b9193db29a4dbb2572b89d9234ccb28a638b06b3dc2e9bf65643cd26009d250c46ce70e61fff83a78a9fbf5d8bad6d7d08dbfbf116f257b5a6c08d2c18e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.44.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.43.0 (2024-01-23)
4
12
 
5
13
  * Regenerated using generator version 0.13.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/filestore/) may provide gui
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
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.43.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-01-23 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.43.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1beta1