google-apis-file_v1 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f42e27bc97f183cec68bea514f61a63959082da4e1fe249eda942a3cd3746bb7
4
- data.tar.gz: 3773fd61419b48b810d86feef3b96c44b5c1bb0e4eb5e0039094a360c2d166cb
3
+ metadata.gz: 250fc150c09b2f1c1398cbe4d2dcbec0bb3952786ccf8fdac0bc962a140adf4b
4
+ data.tar.gz: 5421df71e1a382f27af6533b1be3ba55ec4a6265ef177b539f30b27d695e76be
5
5
  SHA512:
6
- metadata.gz: 709b1b26a1655248d9bea297e0ecf1f954d1414d1825221a9bba4ee80d256537b5c0dbd75f6d1703a39d1e3550d4ce75817c3b496cee5010cf8cffeaea572a61
7
- data.tar.gz: 057047ad0857fd409ce72a6f47d45763a888b9ba414e6cf27dad7d491befaf2d6800695695902e4768c79195fd8a18eeddd1452aab0aeac018fe094ff06881e3
6
+ metadata.gz: 3535ec03adc70d801aaa8e59d33acfaed227d01b63455ea9e532b627111c40811031285c8aa76f7c19457b92b0611bf31b490b57adbcf31d2062f5bb880289d7
7
+ data.tar.gz: 1174039ade9b3a934d3c160cc219a9b1ac7deb3bacd70c2fc1f20a983d1075890f6543f020831ff57d50666ddc61e234f1c4e92c2e6fd7d60ec30ad938f12619
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.50.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241204
6
+
3
7
  ### v0.49.0 (2024-11-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20241104
@@ -113,9 +113,13 @@ module Google
113
113
  # @return [Fixnum]
114
114
  attr_accessor :storage_bytes
115
115
 
116
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
117
- # resource. For example: "123/environment": "production", "123/costCenter": "
118
- # marketing"
116
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
117
+ # Each key must be a namespaced name and each value a short name. Example: "
118
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
119
+ # marketing" See the documentation for more information: - Namespaced name:
120
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
121
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
122
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
119
123
  # Corresponds to the JSON property `tags`
120
124
  # @return [Hash<String,String>]
121
125
  attr_accessor :tags
@@ -341,12 +345,6 @@ module Google
341
345
  # @return [Fixnum]
342
346
  attr_accessor :max_iops
343
347
 
344
- # Optional. Deprecated: `max_iops` should be used instead of this parameter.
345
- # Maximum read IOPS.
346
- # Corresponds to the JSON property `maxReadIops`
347
- # @return [Fixnum]
348
- attr_accessor :max_read_iops
349
-
350
348
  def initialize(**args)
351
349
  update!(**args)
352
350
  end
@@ -354,7 +352,6 @@ module Google
354
352
  # Update properties of this object
355
353
  def update!(**args)
356
354
  @max_iops = args[:max_iops] if args.key?(:max_iops)
357
- @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
358
355
  end
359
356
  end
360
357
 
@@ -801,12 +798,6 @@ module Google
801
798
  # @return [Fixnum]
802
799
  attr_accessor :max_iops_per_tb
803
800
 
804
- # Optional. Deprecated: `max_iops_per_tb` should be used instead of this
805
- # parameter. Maximum read IOPS per TiB.
806
- # Corresponds to the JSON property `maxReadIopsPerTb`
807
- # @return [Fixnum]
808
- attr_accessor :max_read_iops_per_tb
809
-
810
801
  def initialize(**args)
811
802
  update!(**args)
812
803
  end
@@ -814,7 +805,6 @@ module Google
814
805
  # Update properties of this object
815
806
  def update!(**args)
816
807
  @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
817
- @max_read_iops_per_tb = args[:max_read_iops_per_tb] if args.key?(:max_read_iops_per_tb)
818
808
  end
819
809
  end
820
810
 
@@ -940,9 +930,13 @@ module Google
940
930
  # @return [Array<String>]
941
931
  attr_accessor :suspension_reasons
942
932
 
943
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
944
- # resource. For example: "123/environment": "production", "123/costCenter": "
945
- # marketing"
933
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
934
+ # Each key must be a namespaced name and each value a short name. Example: "
935
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
936
+ # marketing" See the documentation for more information: - Namespaced name:
937
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
938
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
939
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
946
940
  # Corresponds to the JSON property `tags`
947
941
  # @return [Hash<String,String>]
948
942
  attr_accessor :tags
@@ -1002,7 +996,7 @@ module Google
1002
996
  # @return [String]
1003
997
  attr_accessor :next_page_token
1004
998
 
1005
- # Locations that could not be reached.
999
+ # Unordered list. Locations that could not be reached.
1006
1000
  # Corresponds to the JSON property `unreachable`
1007
1001
  # @return [Array<String>]
1008
1002
  attr_accessor :unreachable
@@ -1038,7 +1032,7 @@ module Google
1038
1032
  # @return [String]
1039
1033
  attr_accessor :next_page_token
1040
1034
 
1041
- # Locations that could not be reached.
1035
+ # Unordered list. Locations that could not be reached.
1042
1036
  # Corresponds to the JSON property `unreachable`
1043
1037
  # @return [Array<String>]
1044
1038
  attr_accessor :unreachable
@@ -1120,6 +1114,11 @@ module Google
1120
1114
  # @return [Array<Google::Apis::FileV1::Snapshot>]
1121
1115
  attr_accessor :snapshots
1122
1116
 
1117
+ # Unordered list. Locations that could not be reached.
1118
+ # Corresponds to the JSON property `unreachable`
1119
+ # @return [Array<String>]
1120
+ attr_accessor :unreachable
1121
+
1123
1122
  def initialize(**args)
1124
1123
  update!(**args)
1125
1124
  end
@@ -1128,6 +1127,7 @@ module Google
1128
1127
  def update!(**args)
1129
1128
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1130
1129
  @snapshots = args[:snapshots] if args.key?(:snapshots)
1130
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1131
1131
  end
1132
1132
  end
1133
1133
 
@@ -1453,9 +1453,9 @@ module Google
1453
1453
  attr_accessor :api_version
1454
1454
 
1455
1455
  # Output only. Identifies whether the user has requested cancellation of the
1456
- # operation. Operations that have been cancelled successfully have Operation.
1457
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1458
- # CANCELLED`.
1456
+ # operation. Operations that have been cancelled successfully have google.
1457
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1458
+ # corresponding to `Code.CANCELLED`.
1459
1459
  # Corresponds to the JSON property `cancelRequested`
1460
1460
  # @return [Boolean]
1461
1461
  attr_accessor :cancel_requested
@@ -1769,9 +1769,13 @@ module Google
1769
1769
  # @return [String]
1770
1770
  attr_accessor :state
1771
1771
 
1772
- # Optional. Input only. Immutable. Tag key-value pairs are bound to this
1773
- # resource. For example: "123/environment": "production", "123/costCenter": "
1774
- # marketing"
1772
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
1773
+ # Each key must be a namespaced name and each value a short name. Example: "
1774
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
1775
+ # marketing" See the documentation for more information: - Namespaced name:
1776
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
1777
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
1778
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
1775
1779
  # Corresponds to the JSON property `tags`
1776
1780
  # @return [Hash<String,String>]
1777
1781
  attr_accessor :tags
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.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
@@ -365,7 +365,6 @@ module Google
365
365
  # @private
366
366
  class Representation < Google::Apis::Core::JsonRepresentation
367
367
  property :max_iops, :numeric_string => true, as: 'maxIops'
368
- property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
369
368
  end
370
369
  end
371
370
 
@@ -474,7 +473,6 @@ module Google
474
473
  # @private
475
474
  class Representation < Google::Apis::Core::JsonRepresentation
476
475
  property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
477
- property :max_read_iops_per_tb, :numeric_string => true, as: 'maxReadIopsPerTb'
478
476
  end
479
477
  end
480
478
 
@@ -555,6 +553,7 @@ module Google
555
553
  property :next_page_token, as: 'nextPageToken'
556
554
  collection :snapshots, as: 'snapshots', class: Google::Apis::FileV1::Snapshot, decorator: Google::Apis::FileV1::Snapshot::Representation
557
555
 
556
+ collection :unreachable, as: 'unreachable'
558
557
  end
559
558
  end
560
559
 
@@ -730,6 +730,9 @@ module Google
730
730
  # @param [String] page_token
731
731
  # The next_page_token value to use if there are additional results to retrieve
732
732
  # for this list request.
733
+ # @param [Boolean] return_partial_success
734
+ # Optional. If true, allow partial responses for multi-regional Aggregated List
735
+ # requests.
733
736
  # @param [String] fields
734
737
  # Selector specifying which fields to include in a partial response.
735
738
  # @param [String] quota_user
@@ -747,7 +750,7 @@ module Google
747
750
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
751
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
752
  # @raise [Google::Apis::AuthorizationError] Authorization is required
750
- 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)
753
+ 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)
751
754
  command = make_simple_command(:get, 'v1/{+parent}/snapshots', options)
752
755
  command.response_representation = Google::Apis::FileV1::ListSnapshotsResponse::Representation
753
756
  command.response_class = Google::Apis::FileV1::ListSnapshotsResponse
@@ -756,6 +759,7 @@ module Google
756
759
  command.query['orderBy'] = order_by unless order_by.nil?
757
760
  command.query['pageSize'] = page_size unless page_size.nil?
758
761
  command.query['pageToken'] = page_token unless page_token.nil?
762
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
759
763
  command.query['fields'] = fields unless fields.nil?
760
764
  command.query['quotaUser'] = quota_user unless quota_user.nil?
761
765
  execute_or_queue_command(command, &block)
@@ -806,8 +810,8 @@ module Google
806
810
  # Clients can use Operations.GetOperation or other methods to check whether the
807
811
  # cancellation succeeded or whether the operation completed despite cancellation.
808
812
  # On successful cancellation, the operation is not deleted; instead, it becomes
809
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
810
- # corresponding to `Code.CANCELLED`.
813
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
814
+ # , corresponding to `Code.CANCELLED`.
811
815
  # @param [String] name
812
816
  # The name of the operation resource to be cancelled.
813
817
  # @param [Google::Apis::FileV1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
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 V1