google-apis-file_v1beta1 0.58.0 → 0.60.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: 8d5cef1d990721537eeb9375da3a1ef181c6332f7c8dfb60d3fd688063bc3021
4
+ data.tar.gz: 944fdb4228026cd66a97a4217bf8221a47e25a1d9360ed8c67ecaf19583996ff
5
5
  SHA512:
6
- metadata.gz: 9c85d2f5686b45341cc7edb9108bfde116be1fa3dd1384d361fd338d1e42368626e21e3be085af409b0d320c17b22f9d9d1076c80d45868eec30db6b2b7833f7
7
- data.tar.gz: 61d6cbbe7356d1057b710cc1e50cc68a333a94cc0e11a6a2a7d680b2b2e64cbde43a9b6bcbe3d541defc0afdf5ce9f3ec533616104edefc6879d1ef049490f89
6
+ metadata.gz: 3fdf98d03dde59df8aa01ee405a8cc6554ccb5057fac47d62a0652e07d4b0837155bd24171064a3c23ff4ffbf44c24a97b6629f4f625563ebeb2fa83312359e0
7
+ data.tar.gz: e41951ef0d25c6ce99577f121cf3754cf4650de7042de8042c578bee35207afd5a983706ea44df109827890725d3461b2930786d6e7ce30b4262715edc2a4423
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.60.0 (2025-08-31)
4
+
5
+ * Regenerated from discovery document revision 20250819
6
+
7
+ ### v0.59.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250810
10
+
3
11
  ### v0.58.0 (2025-08-10)
4
12
 
5
13
  * 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
@@ -1935,6 +1954,19 @@ module Google
1935
1954
  end
1936
1955
  end
1937
1956
 
1957
+ # ResumeReplicaRequest resumes a Filestore standby instance (replica).
1958
+ class ResumeReplicaRequest
1959
+ include Google::Apis::Core::Hashable
1960
+
1961
+ def initialize(**args)
1962
+ update!(**args)
1963
+ end
1964
+
1965
+ # Update properties of this object
1966
+ def update!(**args)
1967
+ end
1968
+ end
1969
+
1938
1970
  # RevertInstanceRequest reverts the given instance's file share to the specified
1939
1971
  # snapshot.
1940
1972
  class RevertInstanceRequest
@@ -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.60.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 = "20250819"
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
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class ResumeReplicaRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class RevertInstanceRequest
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -543,6 +555,7 @@ module Google
543
555
  hash :labels, as: 'labels'
544
556
  property :max_capacity_gb, :numeric_string => true, as: 'maxCapacityGb'
545
557
  property :max_share_count, :numeric_string => true, as: 'maxShareCount'
558
+ property :min_capacity_gb, :numeric_string => true, as: 'minCapacityGb'
546
559
  property :multi_share_enabled, as: 'multiShareEnabled'
547
560
  property :name, as: 'name'
548
561
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
@@ -726,6 +739,12 @@ module Google
726
739
  end
727
740
  end
728
741
 
742
+ class PauseReplicaRequest
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ end
746
+ end
747
+
729
748
  class PerformanceConfig
730
749
  # @private
731
750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -790,6 +809,12 @@ module Google
790
809
  end
791
810
  end
792
811
 
812
+ class ResumeReplicaRequest
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ end
816
+ end
817
+
793
818
  class RevertInstanceRequest
794
819
  # @private
795
820
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
87
  # @param [Array<String>, String] extra_location_types
88
- # Optional. A list of extra location types that should be used as conditions for
89
- # controlling the visibility of the locations.
88
+ # Optional. Do not use this field. It is unsupported and is ignored unless
89
+ # explicitly documented otherwise. This is primarily for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -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/`
@@ -584,6 +620,41 @@ module Google
584
620
  execute_or_queue_command(command, &block)
585
621
  end
586
622
 
623
+ # Resume the standby instance (replica). WARNING: Any data written to the
624
+ # standby instance while paused will be lost when the replica is resumed.
625
+ # @param [String] name
626
+ # Required. The resource name of the instance, in the format `projects/`
627
+ # project_id`/locations/`location_id`/instances/`instance_id``.
628
+ # @param [Google::Apis::FileV1beta1::ResumeReplicaRequest] resume_replica_request_object
629
+ # @param [String] fields
630
+ # Selector specifying which fields to include in a partial response.
631
+ # @param [String] quota_user
632
+ # Available to use for quota purposes for server-side applications. Can be any
633
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
634
+ # @param [Google::Apis::RequestOptions] options
635
+ # Request-specific options
636
+ #
637
+ # @yield [result, err] Result & error if block supplied
638
+ # @yieldparam result [Google::Apis::FileV1beta1::Operation] parsed result object
639
+ # @yieldparam err [StandardError] error object if request failed
640
+ #
641
+ # @return [Google::Apis::FileV1beta1::Operation]
642
+ #
643
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
644
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
645
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
646
+ def resume_instance_replica(name, resume_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
647
+ command = make_simple_command(:post, 'v1beta1/{+name}:resumeReplica', options)
648
+ command.request_representation = Google::Apis::FileV1beta1::ResumeReplicaRequest::Representation
649
+ command.request_object = resume_replica_request_object
650
+ command.response_representation = Google::Apis::FileV1beta1::Operation::Representation
651
+ command.response_class = Google::Apis::FileV1beta1::Operation
652
+ command.params['name'] = name unless name.nil?
653
+ command.query['fields'] = fields unless fields.nil?
654
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
655
+ execute_or_queue_command(command, &block)
656
+ end
657
+
587
658
  # Revert an existing instance's file system to a specified snapshot.
588
659
  # @param [String] name
589
660
  # 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.60.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.60.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: