google-apis-file_v1beta1 0.51.0 → 0.52.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: 14df63d0f13406c6e0804c4820c657bdb9432de84d18e21b6091018dce2496ae
4
+ data.tar.gz: 01e123602b096235a87e397e1e5cb43e230fba9119ea3d32eed0f94b587b8be9
5
5
  SHA512:
6
- metadata.gz: acfcdd1cce9132286665051dcb25c97c8d7983c8803624e2f8efe7e5944fc812420726b4f15f9afcbe16b550a08a9eebc1215d36aed51905690fb7a149baae46
7
- data.tar.gz: 69e8b2a695e01b7ce3352ac968db900657e9a0c9c8e258047dce0faa7320e6af4e8e5a48e567f5b704c17b9410a57521fbad4cfccea3f2655922e95719b9ea05
6
+ metadata.gz: 54ede64a77a7e901fae3bf8ebfd8488dc7b127638007cdf5e83d0e25b1ad1939c420b749d27274a64431becdaf33daa152e84dc1c8f6ac0ddef99e84473b2db6
7
+ data.tar.gz: 594f90031686d05b525a3d1abba7f3a1237ffe0bc3f805716ec4f629e89e61514bd31ed721f6017add238272ccf8d023b6fce52e1f182a457d35c6ad660c5902
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.52.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241204
6
+
3
7
  ### v0.51.0 (2024-12-02)
4
8
 
5
9
  * 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
 
@@ -993,9 +983,13 @@ module Google
993
983
  # @return [Array<String>]
994
984
  attr_accessor :suspension_reasons
995
985
 
996
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
997
- # resource. For example: "123/environment": "production", "123/costCenter": "
998
- # marketing"
986
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
987
+ # Each key must be a namespaced name and each value a short name. Example: "
988
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
989
+ # marketing" See the documentation for more information: - Namespaced name:
990
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
991
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
992
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
999
993
  # Corresponds to the JSON property `tags`
1000
994
  # @return [Hash<String,String>]
1001
995
  attr_accessor :tags
@@ -1061,7 +1055,7 @@ module Google
1061
1055
  # @return [String]
1062
1056
  attr_accessor :next_page_token
1063
1057
 
1064
- # Locations that could not be reached.
1058
+ # Unordered list. Locations that could not be reached.
1065
1059
  # Corresponds to the JSON property `unreachable`
1066
1060
  # @return [Array<String>]
1067
1061
  attr_accessor :unreachable
@@ -1097,7 +1091,7 @@ module Google
1097
1091
  # @return [String]
1098
1092
  attr_accessor :next_page_token
1099
1093
 
1100
- # Locations that could not be reached.
1094
+ # Unordered list. Locations that could not be reached.
1101
1095
  # Corresponds to the JSON property `unreachable`
1102
1096
  # @return [Array<String>]
1103
1097
  attr_accessor :unreachable
@@ -1179,7 +1173,7 @@ module Google
1179
1173
  # @return [Array<Google::Apis::FileV1beta1::Share>]
1180
1174
  attr_accessor :shares
1181
1175
 
1182
- # Locations that could not be reached.
1176
+ # Unordered list. Locations that could not be reached.
1183
1177
  # Corresponds to the JSON property `unreachable`
1184
1178
  # @return [Array<String>]
1185
1179
  attr_accessor :unreachable
@@ -1211,6 +1205,11 @@ module Google
1211
1205
  # @return [Array<Google::Apis::FileV1beta1::Snapshot>]
1212
1206
  attr_accessor :snapshots
1213
1207
 
1208
+ # Unordered list. Locations that could not be reached.
1209
+ # Corresponds to the JSON property `unreachable`
1210
+ # @return [Array<String>]
1211
+ attr_accessor :unreachable
1212
+
1214
1213
  def initialize(**args)
1215
1214
  update!(**args)
1216
1215
  end
@@ -1219,6 +1218,7 @@ module Google
1219
1218
  def update!(**args)
1220
1219
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1221
1220
  @snapshots = args[:snapshots] if args.key?(:snapshots)
1221
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1222
1222
  end
1223
1223
  end
1224
1224
 
@@ -1579,9 +1579,9 @@ module Google
1579
1579
  attr_accessor :api_version
1580
1580
 
1581
1581
  # 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`.
1582
+ # operation. Operations that have been cancelled successfully have google.
1583
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1584
+ # corresponding to `Code.CANCELLED`.
1585
1585
  # Corresponds to the JSON property `cancelRequested`
1586
1586
  # @return [Boolean]
1587
1587
  attr_accessor :cancel_requested
@@ -1976,9 +1976,13 @@ module Google
1976
1976
  # @return [String]
1977
1977
  attr_accessor :state
1978
1978
 
1979
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
1980
- # resource. For example: "123/environment": "production", "123/costCenter": "
1981
- # marketing"
1979
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
1980
+ # Each key must be a namespaced name and each value a short name. Example: "
1981
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
1982
+ # marketing" See the documentation for more information: - Namespaced name:
1983
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
1984
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
1985
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
1982
1986
  # Corresponds to the JSON property `tags`
1983
1987
  # @return [Hash<String,String>]
1984
1988
  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.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241104"
25
+ REVISION = "20241204"
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
 
@@ -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
 
@@ -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,14 @@
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.52.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-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.52.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1beta1