google-apis-file_v1 0.61.0 → 0.62.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: ecd09bcd80c6a3075032b99f334e90adb0cb451773fba5671d098850398f14a2
4
- data.tar.gz: 594aa1d3cec4bd0ef7fe09ba00fe2a7a5b541b58e927f566c4a84d7ce2b2f406
3
+ metadata.gz: 3ea010db8e9d34842183c6496d76739c507786479f92c3ff55114730b6165171
4
+ data.tar.gz: b47ab765b1c24d7658f105c01d02168c455a71350ea7ec0addde4d5bc87c00a1
5
5
  SHA512:
6
- metadata.gz: 219a1e58c0fa696b7a8c513e70ac22682a49c9c44dd0a3e8bd9bed39da0a9146e7b3fa8d105d3a69a045313d4472480666e3e92d8a379792ce7f50f966ca7062
7
- data.tar.gz: 9feca23470c19c39d2ed59ea33d767ce25754e5ebb77085998d17876bb37ed37be443a34b932aceda1bc29050909ac7b346f8e1d21c0b256dc354451d8092e49
6
+ metadata.gz: c4ebf642ee74be2986514d2f07e40384cbbc7b86fd211573f954f065e4cc60bcfb06d85c0fccaa2b14980775756841f2cbdc6920597c940a39c165948f5d9ac5
7
+ data.tar.gz: aad55fccf829a9dfb25dd4b29cd32bbd9e832b96aef1984432889b9b1110ae73448585da7c92e8aceae4e38b8610729cd5e50f1f5b0b83c541ae69b7bfe65bb2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.62.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251204
6
+
3
7
  ### v0.61.0 (2025-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20251015
@@ -852,7 +852,8 @@ module Google
852
852
  class Instance
853
853
  include Google::Apis::Core::Hashable
854
854
 
855
- # Output only. The increase/decrease capacity step size in GB.
855
+ # Output only. The incremental increase or decrease in capacity, designated in
856
+ # some number of GB.
856
857
  # Corresponds to the JSON property `capacityStepSizeGb`
857
858
  # @return [Fixnum]
858
859
  attr_accessor :capacity_step_size_gb
@@ -913,12 +914,12 @@ module Google
913
914
  # @return [Hash<String,String>]
914
915
  attr_accessor :labels
915
916
 
916
- # Output only. The max capacity of the instance in GB.
917
+ # Output only. The maximum capacity of the instance in GB.
917
918
  # Corresponds to the JSON property `maxCapacityGb`
918
919
  # @return [Fixnum]
919
920
  attr_accessor :max_capacity_gb
920
921
 
921
- # Output only. The min capacity of the instance in GB.
922
+ # Output only. The minimum capacity of the instance in GB.
922
923
  # Corresponds to the JSON property `minCapacityGb`
923
924
  # @return [Fixnum]
924
925
  attr_accessor :min_capacity_gb
@@ -958,7 +959,7 @@ module Google
958
959
  # @return [String]
959
960
  attr_accessor :protocol
960
961
 
961
- # Replication specifications.
962
+ # Optional. The configuration used to replicate an instance.
962
963
  # Corresponds to the JSON property `replication`
963
964
  # @return [Google::Apis::FileV1::Replication]
964
965
  attr_accessor :replication
@@ -1199,8 +1200,9 @@ module Google
1199
1200
  attr_accessor :operations
1200
1201
 
1201
1202
  # Unordered list. Unreachable resources. Populated when the request sets `
1202
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1203
- # when attempting to list all resources across all supported locations.
1203
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1204
+ # For example, when attempting to list all resources across all supported
1205
+ # locations.
1204
1206
  # Corresponds to the JSON property `unreachable`
1205
1207
  # @return [Array<String>]
1206
1208
  attr_accessor :unreachable
@@ -1634,6 +1636,19 @@ module Google
1634
1636
  end
1635
1637
  end
1636
1638
 
1639
+ # PauseReplicaRequest pauses a Filestore standby instance (replica).
1640
+ class PauseReplicaRequest
1641
+ include Google::Apis::Core::Hashable
1642
+
1643
+ def initialize(**args)
1644
+ update!(**args)
1645
+ end
1646
+
1647
+ # Update properties of this object
1648
+ def update!(**args)
1649
+ end
1650
+ end
1651
+
1637
1652
  # Used for setting the performance configuration. If the user doesn't specify
1638
1653
  # PerformanceConfig, automatically provision the default performance settings as
1639
1654
  # described in https://cloud.google.com/filestore/docs/performance. Larger
@@ -1669,27 +1684,27 @@ module Google
1669
1684
  class PerformanceLimits
1670
1685
  include Google::Apis::Core::Hashable
1671
1686
 
1672
- # Output only. The max IOPS.
1687
+ # Output only. The maximum IOPS.
1673
1688
  # Corresponds to the JSON property `maxIops`
1674
1689
  # @return [Fixnum]
1675
1690
  attr_accessor :max_iops
1676
1691
 
1677
- # Output only. The max read IOPS.
1692
+ # Output only. The maximum read IOPS.
1678
1693
  # Corresponds to the JSON property `maxReadIops`
1679
1694
  # @return [Fixnum]
1680
1695
  attr_accessor :max_read_iops
1681
1696
 
1682
- # Output only. The max read throughput in bytes per second.
1697
+ # Output only. The maximum read throughput in bytes per second.
1683
1698
  # Corresponds to the JSON property `maxReadThroughputBps`
1684
1699
  # @return [Fixnum]
1685
1700
  attr_accessor :max_read_throughput_bps
1686
1701
 
1687
- # Output only. The max write IOPS.
1702
+ # Output only. The maximum write IOPS.
1688
1703
  # Corresponds to the JSON property `maxWriteIops`
1689
1704
  # @return [Fixnum]
1690
1705
  attr_accessor :max_write_iops
1691
1706
 
1692
- # Output only. The max write throughput in bytes per second.
1707
+ # Output only. The maximum write throughput in bytes per second.
1693
1708
  # Corresponds to the JSON property `maxWriteThroughputBps`
1694
1709
  # @return [Fixnum]
1695
1710
  attr_accessor :max_write_throughput_bps
@@ -1761,7 +1776,9 @@ module Google
1761
1776
  # @return [String]
1762
1777
  attr_accessor :last_active_sync_time
1763
1778
 
1764
- # Optional. The peer instance.
1779
+ # Optional. The name of the source instance for the replica, in the format `
1780
+ # projects/`project`/locations/`location`/instances/`instance``. This field is
1781
+ # required when creating a replica.
1765
1782
  # Corresponds to the JSON property `peerInstance`
1766
1783
  # @return [String]
1767
1784
  attr_accessor :peer_instance
@@ -1795,7 +1812,7 @@ module Google
1795
1812
  end
1796
1813
  end
1797
1814
 
1798
- # Replication specifications.
1815
+ # Optional. The configuration used to replicate an instance.
1799
1816
  class Replication
1800
1817
  include Google::Apis::Core::Hashable
1801
1818
 
@@ -1805,7 +1822,8 @@ module Google
1805
1822
  # @return [Array<Google::Apis::FileV1::ReplicaConfig>]
1806
1823
  attr_accessor :replicas
1807
1824
 
1808
- # Optional. The replication role.
1825
+ # Optional. The replication role. When creating a new replica, this field must
1826
+ # be set to `STANDBY`.
1809
1827
  # Corresponds to the JSON property `role`
1810
1828
  # @return [String]
1811
1829
  attr_accessor :role
@@ -1849,6 +1867,19 @@ module Google
1849
1867
  end
1850
1868
  end
1851
1869
 
1870
+ # ResumeReplicaRequest resumes a Filestore standby instance (replica).
1871
+ class ResumeReplicaRequest
1872
+ include Google::Apis::Core::Hashable
1873
+
1874
+ def initialize(**args)
1875
+ update!(**args)
1876
+ end
1877
+
1878
+ # Update properties of this object
1879
+ def update!(**args)
1880
+ end
1881
+ end
1882
+
1852
1883
  # RevertInstanceRequest reverts the given instance's file share to the specified
1853
1884
  # snapshot.
1854
1885
  class RevertInstanceRequest
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1
18
18
  # Version of the google-apis-file_v1 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.62.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 = "20251015"
25
+ REVISION = "20251204"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class PauseReplicaRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class PerformanceConfig
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class ResumeReplicaRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class RevertInstanceRequest
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -686,6 +698,12 @@ module Google
686
698
  end
687
699
  end
688
700
 
701
+ class PauseReplicaRequest
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ end
705
+ end
706
+
689
707
  class PerformanceConfig
690
708
  # @private
691
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -749,6 +767,12 @@ module Google
749
767
  end
750
768
  end
751
769
 
770
+ class ResumeReplicaRequest
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ end
774
+ end
775
+
752
776
  class RevertInstanceRequest
753
777
  # @private
754
778
  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. Unless explicitly documented otherwise, don't use this unsupported
89
- # field which is primarily intended for internal usage.
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
@@ -512,6 +512,42 @@ module Google
512
512
  execute_or_queue_command(command, &block)
513
513
  end
514
514
 
515
+ # Pause the standby instance (replica). WARNING: This operation makes the
516
+ # standby instance's NFS filesystem writable. Any data written to the standby
517
+ # instance while paused will be lost when the replica is resumed or promoted.
518
+ # @param [String] name
519
+ # Required. The resource name of the instance, in the format `projects/`
520
+ # project_id`/locations/`location_id`/instances/`instance_id``.
521
+ # @param [Google::Apis::FileV1::PauseReplicaRequest] pause_replica_request_object
522
+ # @param [String] fields
523
+ # Selector specifying which fields to include in a partial response.
524
+ # @param [String] quota_user
525
+ # Available to use for quota purposes for server-side applications. Can be any
526
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
527
+ # @param [Google::Apis::RequestOptions] options
528
+ # Request-specific options
529
+ #
530
+ # @yield [result, err] Result & error if block supplied
531
+ # @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
532
+ # @yieldparam err [StandardError] error object if request failed
533
+ #
534
+ # @return [Google::Apis::FileV1::Operation]
535
+ #
536
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
537
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
539
+ def pause_instance_replica(name, pause_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
540
+ command = make_simple_command(:post, 'v1/{+name}:pauseReplica', options)
541
+ command.request_representation = Google::Apis::FileV1::PauseReplicaRequest::Representation
542
+ command.request_object = pause_replica_request_object
543
+ command.response_representation = Google::Apis::FileV1::Operation::Representation
544
+ command.response_class = Google::Apis::FileV1::Operation
545
+ command.params['name'] = name unless name.nil?
546
+ command.query['fields'] = fields unless fields.nil?
547
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
548
+ execute_or_queue_command(command, &block)
549
+ end
550
+
515
551
  # Promote the standby instance (replica).
516
552
  # @param [String] name
517
553
  # Required. The resource name of the instance, in the format `projects/`
@@ -582,6 +618,41 @@ module Google
582
618
  execute_or_queue_command(command, &block)
583
619
  end
584
620
 
621
+ # Resume the standby instance (replica). WARNING: Any data written to the
622
+ # standby instance while paused will be lost when the replica is resumed.
623
+ # @param [String] name
624
+ # Required. The resource name of the instance, in the format `projects/`
625
+ # project_id`/locations/`location_id`/instances/`instance_id``.
626
+ # @param [Google::Apis::FileV1::ResumeReplicaRequest] resume_replica_request_object
627
+ # @param [String] fields
628
+ # Selector specifying which fields to include in a partial response.
629
+ # @param [String] quota_user
630
+ # Available to use for quota purposes for server-side applications. Can be any
631
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
632
+ # @param [Google::Apis::RequestOptions] options
633
+ # Request-specific options
634
+ #
635
+ # @yield [result, err] Result & error if block supplied
636
+ # @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
637
+ # @yieldparam err [StandardError] error object if request failed
638
+ #
639
+ # @return [Google::Apis::FileV1::Operation]
640
+ #
641
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
642
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
643
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
644
+ def resume_instance_replica(name, resume_replica_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
645
+ command = make_simple_command(:post, 'v1/{+name}:resumeReplica', options)
646
+ command.request_representation = Google::Apis::FileV1::ResumeReplicaRequest::Representation
647
+ command.request_object = resume_replica_request_object
648
+ command.response_representation = Google::Apis::FileV1::Operation::Representation
649
+ command.response_class = Google::Apis::FileV1::Operation
650
+ command.params['name'] = name unless name.nil?
651
+ command.query['fields'] = fields unless fields.nil?
652
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
653
+ execute_or_queue_command(command, &block)
654
+ end
655
+
585
656
  # Revert an existing instance's file system to a specified snapshot.
586
657
  # @param [String] name
587
658
  # Required. The resource name of the instance, in the format `projects/`
@@ -921,11 +992,12 @@ module Google
921
992
  # The standard list page token.
922
993
  # @param [Boolean] return_partial_success
923
994
  # When set to `true`, operations that are reachable are returned as normal, and
924
- # those that are unreachable are returned in the [ListOperationsResponse.
925
- # unreachable] field. This can only be `true` when reading across collections e.
926
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
927
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
928
- # explicitly documented otherwise in service or product specific documentation.
995
+ # those that are unreachable are returned in the ListOperationsResponse.
996
+ # unreachable field. This can only be `true` when reading across collections.
997
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
998
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
999
+ # if set unless explicitly documented otherwise in service or product specific
1000
+ # documentation.
929
1001
  # @param [String] fields
930
1002
  # Selector specifying which fields to include in a partial response.
931
1003
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.62.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.62.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
62
62
  rdoc_options: []
63
63
  require_paths: