google-apis-file_v1beta1 0.58.0 → 0.59.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: 3aaee42322c09da8c21818968ef45283e312c4be25812960f1b689a9fc34a0b3
4
- data.tar.gz: 144887ed6410045ee92a12b47de04fe0336286669b88caa95c110f35b6dbca35
3
+ metadata.gz: 3a076ef154b59e853e3656474940afb9a7ec8826daae292809f2079cd155c37b
4
+ data.tar.gz: 53275f015a0e7adbcf001574f2803ec58bd94d15353a23b8c7723c6a594187cd
5
5
  SHA512:
6
- metadata.gz: 9c85d2f5686b45341cc7edb9108bfde116be1fa3dd1384d361fd338d1e42368626e21e3be085af409b0d320c17b22f9d9d1076c80d45868eec30db6b2b7833f7
7
- data.tar.gz: 61d6cbbe7356d1057b710cc1e50cc68a333a94cc0e11a6a2a7d680b2b2e64cbde43a9b6bcbe3d541defc0afdf5ce9f3ec533616104edefc6879d1ef049490f89
6
+ metadata.gz: d719e2dddfeaf2c42956241c8e4c33076736090289c76a57e558ca46b4cf2b3d7db669b6c8b444cf01d7cd7d94c6a23f493e2e00f47e498bb109bc105e4ec8cb
7
+ data.tar.gz: 872e98091e7bbd2134c6dfddec7ba846ec18f76e8b20c931f5382d087364b42921958fa406831ee2e094f06c0b633fe32e9d3e3748920afee7642dc148ce3f9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.59.0 (2025-08-24)
4
+
5
+ * Regenerated from discovery document revision 20250810
6
+
3
7
  ### v0.58.0 (2025-08-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20250731
@@ -932,6 +932,11 @@ module Google
932
932
  # @return [Fixnum]
933
933
  attr_accessor :max_share_count
934
934
 
935
+ # Output only. The min capacity of the instance.
936
+ # Corresponds to the JSON property `minCapacityGb`
937
+ # @return [Fixnum]
938
+ attr_accessor :min_capacity_gb
939
+
935
940
  # Indicates whether this instance uses a multi-share configuration with which it
936
941
  # can have more than one file-share or none at all. File-shares are added,
937
942
  # updated and removed through the separate file-share APIs.
@@ -1045,6 +1050,7 @@ module Google
1045
1050
  @labels = args[:labels] if args.key?(:labels)
1046
1051
  @max_capacity_gb = args[:max_capacity_gb] if args.key?(:max_capacity_gb)
1047
1052
  @max_share_count = args[:max_share_count] if args.key?(:max_share_count)
1053
+ @min_capacity_gb = args[:min_capacity_gb] if args.key?(:min_capacity_gb)
1048
1054
  @multi_share_enabled = args[:multi_share_enabled] if args.key?(:multi_share_enabled)
1049
1055
  @name = args[:name] if args.key?(:name)
1050
1056
  @networks = args[:networks] if args.key?(:networks)
@@ -1713,6 +1719,19 @@ module Google
1713
1719
  end
1714
1720
  end
1715
1721
 
1722
+ # PauseReplicaRequest pauses a Filestore standby instance (replica).
1723
+ class PauseReplicaRequest
1724
+ include Google::Apis::Core::Hashable
1725
+
1726
+ def initialize(**args)
1727
+ update!(**args)
1728
+ end
1729
+
1730
+ # Update properties of this object
1731
+ def update!(**args)
1732
+ end
1733
+ end
1734
+
1716
1735
  # Used for setting the performance configuration. If the user doesn't specify
1717
1736
  # PerformanceConfig, automatically provision the default performance settings as
1718
1737
  # described in https://cloud.google.com/filestore/docs/performance. Larger
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250731"
25
+ REVISION = "20250810"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class PauseReplicaRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class PerformanceConfig
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -543,6 +549,7 @@ module Google
543
549
  hash :labels, as: 'labels'
544
550
  property :max_capacity_gb, :numeric_string => true, as: 'maxCapacityGb'
545
551
  property :max_share_count, :numeric_string => true, as: 'maxShareCount'
552
+ property :min_capacity_gb, :numeric_string => true, as: 'minCapacityGb'
546
553
  property :multi_share_enabled, as: 'multiShareEnabled'
547
554
  property :name, as: 'name'
548
555
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
@@ -726,6 +733,12 @@ module Google
726
733
  end
727
734
  end
728
735
 
736
+ class PauseReplicaRequest
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ end
740
+ end
741
+
729
742
  class PerformanceConfig
730
743
  # @private
731
744
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -514,6 +514,42 @@ module Google
514
514
  execute_or_queue_command(command, &block)
515
515
  end
516
516
 
517
+ # Pause the standby instance (replica). WARNING: This operation makes the
518
+ # standby instance's NFS filesystem writable. Any data written to the standby
519
+ # instance while paused will be lost when the replica is resumed or promoted.
520
+ # @param [String] name
521
+ # Required. The resource name of the instance, in the format `projects/`
522
+ # project_id`/locations/`location_id`/instances/`instance_id``.
523
+ # @param [Google::Apis::FileV1beta1::PauseReplicaRequest] pause_replica_request_object
524
+ # @param [String] fields
525
+ # Selector specifying which fields to include in a partial response.
526
+ # @param [String] quota_user
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [Google::Apis::RequestOptions] options
530
+ # Request-specific options
531
+ #
532
+ # @yield [result, err] Result & error if block supplied
533
+ # @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
534
+ # @yieldparam err [StandardError] error object if request failed
535
+ #
536
+ # @return [Google::Apis::FileV1beta1::Operation]
537
+ #
538
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
541
+ def pause_instance_replica(name, pause_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:post, 'v1beta1/{+name}:pauseReplica', options)
543
+ command.request_representation = Google::Apis::FileV1beta1::PauseReplicaRequest::Representation
544
+ command.request_object = pause_replica_request_object
545
+ command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
546
+ command.response_class = Google::Apis::FileV1beta1::Operation
547
+ command.params['name'] = name unless name.nil?
548
+ command.query['fields'] = fields unless fields.nil?
549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
550
+ execute_or_queue_command(command, &block)
551
+ end
552
+
517
553
  # Promote the standby instance (replica).
518
554
  # @param [String] name
519
555
  # Required. The resource name of the instance, in the format `projects/`
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.58.0
4
+ version: 0.59.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.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.59.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: