google-apis-file_v1beta1 0.51.0 → 0.53.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: 8aeb5120970fe69d2cf9d2124cf4c046fa149b7439d05edb015572c53d3524c9
4
- data.tar.gz: 53248e62b65454188671fa9e582aa90a5c42d6c354fc1dad32550f79c284c478
3
+ metadata.gz: 2d82fdcab39e0a13f937c7afd1e7fa7514822bd37f13c9ae19c8267a53b590c1
4
+ data.tar.gz: ce612db38590b770569c5b2814f3f4f7c7c8d36f3e18978adf8da146efb32dc1
5
5
  SHA512:
6
- metadata.gz: acfcdd1cce9132286665051dcb25c97c8d7983c8803624e2f8efe7e5944fc812420726b4f15f9afcbe16b550a08a9eebc1215d36aed51905690fb7a149baae46
7
- data.tar.gz: 69e8b2a695e01b7ce3352ac968db900657e9a0c9c8e258047dce0faa7320e6af4e8e5a48e567f5b704c17b9410a57521fbad4cfccea3f2655922e95719b9ea05
6
+ metadata.gz: 38efceb1369fb0d16d80efffe0bd35818554621aaa5b4f7dd96825d659ec09cbcbf94e9a70e5c06cc0f01fb8ba3238da298418fd8c21790d8240f8aa18c19f1c
7
+ data.tar.gz: 9cfda7d3907865b9510eccaefd566d103edd17c7bba053e4b631ac67ca0e57888c580ca9dd9d1f013833e10fcdbe8fe4f06c257e32b151a44472cf6cee4168de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.53.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250205
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.52.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241204
11
+
3
12
  ### v0.51.0 (2024-12-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20241104
@@ -111,9 +111,13 @@ module Google
111
111
  # @return [Fixnum]
112
112
  attr_accessor :storage_bytes
113
113
 
114
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
115
- # resource. For example: "123/environment": "production", "123/costCenter": "
116
- # marketing"
114
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
115
+ # Each key must be a namespaced name and each value a short name. Example: "
116
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
117
+ # marketing" See the documentation for more information: - Namespaced name:
118
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
119
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
120
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
117
121
  # Corresponds to the JSON property `tags`
118
122
  # @return [Hash<String,String>]
119
123
  attr_accessor :tags
@@ -359,12 +363,6 @@ module Google
359
363
  # @return [Fixnum]
360
364
  attr_accessor :max_iops
361
365
 
362
- # Optional. Deprecated: `max_iops` should be used instead of this parameter.
363
- # Maximum read IOPS.
364
- # Corresponds to the JSON property `maxReadIops`
365
- # @return [Fixnum]
366
- attr_accessor :max_read_iops
367
-
368
366
  def initialize(**args)
369
367
  update!(**args)
370
368
  end
@@ -372,7 +370,6 @@ module Google
372
370
  # Update properties of this object
373
371
  def update!(**args)
374
372
  @max_iops = args[:max_iops] if args.key?(:max_iops)
375
- @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
376
373
  end
377
374
  end
378
375
 
@@ -819,12 +816,6 @@ module Google
819
816
  # @return [Fixnum]
820
817
  attr_accessor :max_iops_per_tb
821
818
 
822
- # Optional. Deprecated: `max_iops_per_tb` should be used instead of this
823
- # parameter. Maximum read IOPS per TiB.
824
- # Corresponds to the JSON property `maxReadIopsPerTb`
825
- # @return [Fixnum]
826
- attr_accessor :max_read_iops_per_tb
827
-
828
819
  def initialize(**args)
829
820
  update!(**args)
830
821
  end
@@ -832,7 +823,6 @@ module Google
832
823
  # Update properties of this object
833
824
  def update!(**args)
834
825
  @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
835
- @max_read_iops_per_tb = args[:max_read_iops_per_tb] if args.key?(:max_read_iops_per_tb)
836
826
  end
837
827
  end
838
828
 
@@ -852,18 +842,19 @@ module Google
852
842
  # @return [Fixnum]
853
843
  attr_accessor :capacity_step_size_gb
854
844
 
855
- # Output only. Indicates whether this instance's performance is configurable. If
856
- # enabled, adjust it using the 'performance_config' field.
857
- # Corresponds to the JSON property `configurablePerformanceEnabled`
858
- # @return [Boolean]
859
- attr_accessor :configurable_performance_enabled
860
- alias_method :configurable_performance_enabled?, :configurable_performance_enabled
861
-
862
845
  # Output only. The time when the instance was created.
863
846
  # Corresponds to the JSON property `createTime`
864
847
  # @return [String]
865
848
  attr_accessor :create_time
866
849
 
850
+ # Output only. Indicates whether this instance supports configuring its
851
+ # performance. If true, the user can configure the instance's performance by
852
+ # using the 'performance_config' field.
853
+ # Corresponds to the JSON property `customPerformanceSupported`
854
+ # @return [Boolean]
855
+ attr_accessor :custom_performance_supported
856
+ alias_method :custom_performance_supported?, :custom_performance_supported
857
+
867
858
  # Optional. Indicates whether the instance is protected against deletion.
868
859
  # Corresponds to the JSON property `deletionProtectionEnabled`
869
860
  # @return [Boolean]
@@ -993,9 +984,13 @@ module Google
993
984
  # @return [Array<String>]
994
985
  attr_accessor :suspension_reasons
995
986
 
996
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
997
- # resource. For example: "123/environment": "production", "123/costCenter": "
998
- # marketing"
987
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
988
+ # Each key must be a namespaced name and each value a short name. Example: "
989
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
990
+ # marketing" See the documentation for more information: - Namespaced name:
991
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
992
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
993
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
999
994
  # Corresponds to the JSON property `tags`
1000
995
  # @return [Hash<String,String>]
1001
996
  attr_accessor :tags
@@ -1013,8 +1008,8 @@ module Google
1013
1008
  def update!(**args)
1014
1009
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
1015
1010
  @capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
1016
- @configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
1017
1011
  @create_time = args[:create_time] if args.key?(:create_time)
1012
+ @custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
1018
1013
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
1019
1014
  @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
1020
1015
  @description = args[:description] if args.key?(:description)
@@ -1061,7 +1056,7 @@ module Google
1061
1056
  # @return [String]
1062
1057
  attr_accessor :next_page_token
1063
1058
 
1064
- # Locations that could not be reached.
1059
+ # Unordered list. Locations that could not be reached.
1065
1060
  # Corresponds to the JSON property `unreachable`
1066
1061
  # @return [Array<String>]
1067
1062
  attr_accessor :unreachable
@@ -1097,7 +1092,7 @@ module Google
1097
1092
  # @return [String]
1098
1093
  attr_accessor :next_page_token
1099
1094
 
1100
- # Locations that could not be reached.
1095
+ # Unordered list. Locations that could not be reached.
1101
1096
  # Corresponds to the JSON property `unreachable`
1102
1097
  # @return [Array<String>]
1103
1098
  attr_accessor :unreachable
@@ -1179,7 +1174,7 @@ module Google
1179
1174
  # @return [Array<Google::Apis::FileV1beta1::Share>]
1180
1175
  attr_accessor :shares
1181
1176
 
1182
- # Locations that could not be reached.
1177
+ # Unordered list. Locations that could not be reached.
1183
1178
  # Corresponds to the JSON property `unreachable`
1184
1179
  # @return [Array<String>]
1185
1180
  attr_accessor :unreachable
@@ -1211,6 +1206,11 @@ module Google
1211
1206
  # @return [Array<Google::Apis::FileV1beta1::Snapshot>]
1212
1207
  attr_accessor :snapshots
1213
1208
 
1209
+ # Unordered list. Locations that could not be reached.
1210
+ # Corresponds to the JSON property `unreachable`
1211
+ # @return [Array<String>]
1212
+ attr_accessor :unreachable
1213
+
1214
1214
  def initialize(**args)
1215
1215
  update!(**args)
1216
1216
  end
@@ -1219,6 +1219,7 @@ module Google
1219
1219
  def update!(**args)
1220
1220
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1221
1221
  @snapshots = args[:snapshots] if args.key?(:snapshots)
1222
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1222
1223
  end
1223
1224
  end
1224
1225
 
@@ -1579,9 +1580,9 @@ module Google
1579
1580
  attr_accessor :api_version
1580
1581
 
1581
1582
  # Output only. Identifies whether the user has requested cancellation of the
1582
- # operation. Operations that have been cancelled successfully have Operation.
1583
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1584
- # CANCELLED`.
1583
+ # operation. Operations that have been cancelled successfully have google.
1584
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1585
+ # corresponding to `Code.CANCELLED`.
1585
1586
  # Corresponds to the JSON property `cancelRequested`
1586
1587
  # @return [Boolean]
1587
1588
  attr_accessor :cancel_requested
@@ -1663,6 +1664,11 @@ module Google
1663
1664
  class PerformanceLimits
1664
1665
  include Google::Apis::Core::Hashable
1665
1666
 
1667
+ # Output only. The max IOPS.
1668
+ # Corresponds to the JSON property `maxIops`
1669
+ # @return [Fixnum]
1670
+ attr_accessor :max_iops
1671
+
1666
1672
  # Output only. The max read IOPS.
1667
1673
  # Corresponds to the JSON property `maxReadIops`
1668
1674
  # @return [Fixnum]
@@ -1689,6 +1695,7 @@ module Google
1689
1695
 
1690
1696
  # Update properties of this object
1691
1697
  def update!(**args)
1698
+ @max_iops = args[:max_iops] if args.key?(:max_iops)
1692
1699
  @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
1693
1700
  @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
1694
1701
  @max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
@@ -1700,12 +1707,20 @@ module Google
1700
1707
  class PromoteReplicaRequest
1701
1708
  include Google::Apis::Core::Hashable
1702
1709
 
1710
+ # Optional. The resource name of the peer instance to promote, in the format `
1711
+ # projects/`project_id`/locations/`location_id`/instances/`instance_id``. The
1712
+ # peer instance is required if the operation is called on an active instance.
1713
+ # Corresponds to the JSON property `peerInstance`
1714
+ # @return [String]
1715
+ attr_accessor :peer_instance
1716
+
1703
1717
  def initialize(**args)
1704
1718
  update!(**args)
1705
1719
  end
1706
1720
 
1707
1721
  # Update properties of this object
1708
1722
  def update!(**args)
1723
+ @peer_instance = args[:peer_instance] if args.key?(:peer_instance)
1709
1724
  end
1710
1725
  end
1711
1726
 
@@ -1976,9 +1991,13 @@ module Google
1976
1991
  # @return [String]
1977
1992
  attr_accessor :state
1978
1993
 
1979
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
1980
- # resource. For example: "123/environment": "production", "123/costCenter": "
1981
- # marketing"
1994
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
1995
+ # Each key must be a namespaced name and each value a short name. Example: "
1996
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
1997
+ # marketing" See the documentation for more information: - Namespaced name:
1998
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
1999
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
2000
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
1982
2001
  # Corresponds to the JSON property `tags`
1983
2002
  # @return [Hash<String,String>]
1984
2003
  attr_accessor :tags
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241104"
25
+ REVISION = "20250205"
26
26
  end
27
27
  end
28
28
  end
@@ -397,7 +397,6 @@ module Google
397
397
  # @private
398
398
  class Representation < Google::Apis::Core::JsonRepresentation
399
399
  property :max_iops, :numeric_string => true, as: 'maxIops'
400
- property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
401
400
  end
402
401
  end
403
402
 
@@ -506,7 +505,6 @@ module Google
506
505
  # @private
507
506
  class Representation < Google::Apis::Core::JsonRepresentation
508
507
  property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
509
- property :max_read_iops_per_tb, :numeric_string => true, as: 'maxReadIopsPerTb'
510
508
  end
511
509
  end
512
510
 
@@ -515,8 +513,8 @@ module Google
515
513
  class Representation < Google::Apis::Core::JsonRepresentation
516
514
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
517
515
  property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
518
- property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
519
516
  property :create_time, as: 'createTime'
517
+ property :custom_performance_supported, as: 'customPerformanceSupported'
520
518
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
521
519
  property :deletion_protection_reason, as: 'deletionProtectionReason'
522
520
  property :description, as: 'description'
@@ -604,6 +602,7 @@ module Google
604
602
  property :next_page_token, as: 'nextPageToken'
605
603
  collection :snapshots, as: 'snapshots', class: Google::Apis::FileV1beta1::Snapshot, decorator: Google::Apis::FileV1beta1::Snapshot::Representation
606
604
 
605
+ collection :unreachable, as: 'unreachable'
607
606
  end
608
607
  end
609
608
 
@@ -711,6 +710,7 @@ module Google
711
710
  class PerformanceLimits
712
711
  # @private
713
712
  class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :max_iops, :numeric_string => true, as: 'maxIops'
714
714
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
715
715
  property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
716
716
  property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
@@ -721,6 +721,7 @@ module Google
721
721
  class PromoteReplicaRequest
722
722
  # @private
723
723
  class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :peer_instance, as: 'peerInstance'
724
725
  end
725
726
  end
726
727
 
@@ -916,6 +916,9 @@ module Google
916
916
  # @param [String] page_token
917
917
  # The next_page_token value to use if there are additional results to retrieve
918
918
  # for this list request.
919
+ # @param [Boolean] return_partial_success
920
+ # Optional. If true, allow partial responses for multi-regional Aggregated List
921
+ # requests.
919
922
  # @param [String] fields
920
923
  # Selector specifying which fields to include in a partial response.
921
924
  # @param [String] quota_user
@@ -933,7 +936,7 @@ module Google
933
936
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
934
937
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
935
938
  # @raise [Google::Apis::AuthorizationError] Authorization is required
936
- def list_project_location_instance_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
939
+ def list_project_location_instance_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
937
940
  command = make_simple_command(:get, 'v1beta1/{+parent}/snapshots', options)
938
941
  command.response_representation = Google::Apis::FileV1beta1::ListSnapshotsResponse::Representation
939
942
  command.response_class = Google::Apis::FileV1beta1::ListSnapshotsResponse
@@ -942,6 +945,7 @@ module Google
942
945
  command.query['orderBy'] = order_by unless order_by.nil?
943
946
  command.query['pageSize'] = page_size unless page_size.nil?
944
947
  command.query['pageToken'] = page_token unless page_token.nil?
948
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
945
949
  command.query['fields'] = fields unless fields.nil?
946
950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
947
951
  execute_or_queue_command(command, &block)
@@ -992,8 +996,8 @@ module Google
992
996
  # Clients can use Operations.GetOperation or other methods to check whether the
993
997
  # cancellation succeeded or whether the operation completed despite cancellation.
994
998
  # On successful cancellation, the operation is not deleted; instead, it becomes
995
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
996
- # corresponding to `Code.CANCELLED`.
999
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1000
+ # , corresponding to `Code.CANCELLED`.
997
1001
  # @param [String] name
998
1002
  # The name of the operation resource to be cancelled.
999
1003
  # @param [Google::Apis::FileV1beta1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.53.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Filestore API V1beta1
82
79
  test_files: []