google-apis-file_v1 0.49.0 → 0.51.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f6f452ba085594a6bce42050c99a6160637846efb49eb9ce794b4ddb7e8c91
|
4
|
+
data.tar.gz: '048ca6b79fdc9673d5796a7ef9442976b8d1d2a68d0c10d8a3655f25e4995f24'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1748f1ed7f912be0d4ae711c2271fce225959c101d46e7a0add1916e775b7756a2d72eb01c35ef26ee36ea39270adc45508772c2e9fa396c64006a3bdf6d8d
|
7
|
+
data.tar.gz: fa56813a40ef8e91c0098fb2336615d263a71b1b9750e93f075e1d8ae69482574b31c2db006349187fedb060eaf8652ad4e0a08cfb94683e644b39c4e58fe934
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250205
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.50.0 (2024-12-15)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241204
|
11
|
+
|
3
12
|
### v0.49.0 (2024-11-17)
|
4
13
|
|
5
14
|
* 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
|
117
|
-
#
|
118
|
-
#
|
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
|
|
@@ -822,18 +812,19 @@ module Google
|
|
822
812
|
class Instance
|
823
813
|
include Google::Apis::Core::Hashable
|
824
814
|
|
825
|
-
# Output only. Indicates whether this instance's performance is configurable. If
|
826
|
-
# enabled, adjust it using the 'performance_config' field.
|
827
|
-
# Corresponds to the JSON property `configurablePerformanceEnabled`
|
828
|
-
# @return [Boolean]
|
829
|
-
attr_accessor :configurable_performance_enabled
|
830
|
-
alias_method :configurable_performance_enabled?, :configurable_performance_enabled
|
831
|
-
|
832
815
|
# Output only. The time when the instance was created.
|
833
816
|
# Corresponds to the JSON property `createTime`
|
834
817
|
# @return [String]
|
835
818
|
attr_accessor :create_time
|
836
819
|
|
820
|
+
# Output only. Indicates whether this instance supports configuring its
|
821
|
+
# performance. If true, the user can configure the instance's performance by
|
822
|
+
# using the 'performance_config' field.
|
823
|
+
# Corresponds to the JSON property `customPerformanceSupported`
|
824
|
+
# @return [Boolean]
|
825
|
+
attr_accessor :custom_performance_supported
|
826
|
+
alias_method :custom_performance_supported?, :custom_performance_supported
|
827
|
+
|
837
828
|
# Optional. Indicates whether the instance is protected against deletion.
|
838
829
|
# Corresponds to the JSON property `deletionProtectionEnabled`
|
839
830
|
# @return [Boolean]
|
@@ -940,9 +931,13 @@ module Google
|
|
940
931
|
# @return [Array<String>]
|
941
932
|
attr_accessor :suspension_reasons
|
942
933
|
|
943
|
-
# Optional. Input only. Immutable. Tag key-value pairs
|
944
|
-
#
|
945
|
-
#
|
934
|
+
# Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
|
935
|
+
# Each key must be a namespaced name and each value a short name. Example: "
|
936
|
+
# 123456789012/environment" : "production", "123456789013/costCenter" : "
|
937
|
+
# marketing" See the documentation for more information: - Namespaced name:
|
938
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
|
939
|
+
# retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
|
940
|
+
# docs/tags/tags-creating-and-managing#retrieving_tag_value
|
946
941
|
# Corresponds to the JSON property `tags`
|
947
942
|
# @return [Hash<String,String>]
|
948
943
|
attr_accessor :tags
|
@@ -958,8 +953,8 @@ module Google
|
|
958
953
|
|
959
954
|
# Update properties of this object
|
960
955
|
def update!(**args)
|
961
|
-
@configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
|
962
956
|
@create_time = args[:create_time] if args.key?(:create_time)
|
957
|
+
@custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
|
963
958
|
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
|
964
959
|
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
|
965
960
|
@description = args[:description] if args.key?(:description)
|
@@ -1002,7 +997,7 @@ module Google
|
|
1002
997
|
# @return [String]
|
1003
998
|
attr_accessor :next_page_token
|
1004
999
|
|
1005
|
-
# Locations that could not be reached.
|
1000
|
+
# Unordered list. Locations that could not be reached.
|
1006
1001
|
# Corresponds to the JSON property `unreachable`
|
1007
1002
|
# @return [Array<String>]
|
1008
1003
|
attr_accessor :unreachable
|
@@ -1038,7 +1033,7 @@ module Google
|
|
1038
1033
|
# @return [String]
|
1039
1034
|
attr_accessor :next_page_token
|
1040
1035
|
|
1041
|
-
# Locations that could not be reached.
|
1036
|
+
# Unordered list. Locations that could not be reached.
|
1042
1037
|
# Corresponds to the JSON property `unreachable`
|
1043
1038
|
# @return [Array<String>]
|
1044
1039
|
attr_accessor :unreachable
|
@@ -1120,6 +1115,11 @@ module Google
|
|
1120
1115
|
# @return [Array<Google::Apis::FileV1::Snapshot>]
|
1121
1116
|
attr_accessor :snapshots
|
1122
1117
|
|
1118
|
+
# Unordered list. Locations that could not be reached.
|
1119
|
+
# Corresponds to the JSON property `unreachable`
|
1120
|
+
# @return [Array<String>]
|
1121
|
+
attr_accessor :unreachable
|
1122
|
+
|
1123
1123
|
def initialize(**args)
|
1124
1124
|
update!(**args)
|
1125
1125
|
end
|
@@ -1128,6 +1128,7 @@ module Google
|
|
1128
1128
|
def update!(**args)
|
1129
1129
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1130
1130
|
@snapshots = args[:snapshots] if args.key?(:snapshots)
|
1131
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1131
1132
|
end
|
1132
1133
|
end
|
1133
1134
|
|
@@ -1453,9 +1454,9 @@ module Google
|
|
1453
1454
|
attr_accessor :api_version
|
1454
1455
|
|
1455
1456
|
# Output only. Identifies whether the user has requested cancellation of the
|
1456
|
-
# operation. Operations that have been cancelled successfully have
|
1457
|
-
# error value with a google.rpc.Status.code of 1
|
1458
|
-
# CANCELLED`.
|
1457
|
+
# operation. Operations that have been cancelled successfully have google.
|
1458
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of `1`,
|
1459
|
+
# corresponding to `Code.CANCELLED`.
|
1459
1460
|
# Corresponds to the JSON property `cancelRequested`
|
1460
1461
|
# @return [Boolean]
|
1461
1462
|
attr_accessor :cancel_requested
|
@@ -1537,6 +1538,11 @@ module Google
|
|
1537
1538
|
class PerformanceLimits
|
1538
1539
|
include Google::Apis::Core::Hashable
|
1539
1540
|
|
1541
|
+
# Output only. The max IOPS.
|
1542
|
+
# Corresponds to the JSON property `maxIops`
|
1543
|
+
# @return [Fixnum]
|
1544
|
+
attr_accessor :max_iops
|
1545
|
+
|
1540
1546
|
# Output only. The max read IOPS.
|
1541
1547
|
# Corresponds to the JSON property `maxReadIops`
|
1542
1548
|
# @return [Fixnum]
|
@@ -1563,6 +1569,7 @@ module Google
|
|
1563
1569
|
|
1564
1570
|
# Update properties of this object
|
1565
1571
|
def update!(**args)
|
1572
|
+
@max_iops = args[:max_iops] if args.key?(:max_iops)
|
1566
1573
|
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
1567
1574
|
@max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
|
1568
1575
|
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
|
@@ -1574,12 +1581,20 @@ module Google
|
|
1574
1581
|
class PromoteReplicaRequest
|
1575
1582
|
include Google::Apis::Core::Hashable
|
1576
1583
|
|
1584
|
+
# Optional. The resource name of the peer instance to promote, in the format `
|
1585
|
+
# projects/`project_id`/locations/`location_id`/instances/`instance_id``. The
|
1586
|
+
# peer instance is required if the operation is called on an active instance.
|
1587
|
+
# Corresponds to the JSON property `peerInstance`
|
1588
|
+
# @return [String]
|
1589
|
+
attr_accessor :peer_instance
|
1590
|
+
|
1577
1591
|
def initialize(**args)
|
1578
1592
|
update!(**args)
|
1579
1593
|
end
|
1580
1594
|
|
1581
1595
|
# Update properties of this object
|
1582
1596
|
def update!(**args)
|
1597
|
+
@peer_instance = args[:peer_instance] if args.key?(:peer_instance)
|
1583
1598
|
end
|
1584
1599
|
end
|
1585
1600
|
|
@@ -1769,9 +1784,13 @@ module Google
|
|
1769
1784
|
# @return [String]
|
1770
1785
|
attr_accessor :state
|
1771
1786
|
|
1772
|
-
# Optional. Input only. Immutable. Tag key-value pairs
|
1773
|
-
#
|
1774
|
-
#
|
1787
|
+
# Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
|
1788
|
+
# Each key must be a namespaced name and each value a short name. Example: "
|
1789
|
+
# 123456789012/environment" : "production", "123456789013/costCenter" : "
|
1790
|
+
# marketing" See the documentation for more information: - Namespaced name:
|
1791
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
|
1792
|
+
# retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
|
1793
|
+
# docs/tags/tags-creating-and-managing#retrieving_tag_value
|
1775
1794
|
# Corresponds to the JSON property `tags`
|
1776
1795
|
# @return [Hash<String,String>]
|
1777
1796
|
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.
|
19
|
+
GEM_VERSION = "0.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250205"
|
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,15 +473,14 @@ 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
|
|
481
479
|
class Instance
|
482
480
|
# @private
|
483
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
-
property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
|
485
482
|
property :create_time, as: 'createTime'
|
483
|
+
property :custom_performance_supported, as: 'customPerformanceSupported'
|
486
484
|
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
|
487
485
|
property :deletion_protection_reason, as: 'deletionProtectionReason'
|
488
486
|
property :description, as: 'description'
|
@@ -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
|
|
@@ -653,6 +652,7 @@ module Google
|
|
653
652
|
class PerformanceLimits
|
654
653
|
# @private
|
655
654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
property :max_iops, :numeric_string => true, as: 'maxIops'
|
656
656
|
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
657
657
|
property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
|
658
658
|
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
|
@@ -663,6 +663,7 @@ module Google
|
|
663
663
|
class PromoteReplicaRequest
|
664
664
|
# @private
|
665
665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
+
property :peer_instance, as: 'peerInstance'
|
666
667
|
end
|
667
668
|
end
|
668
669
|
|
@@ -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,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-file_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.51.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
|
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
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Filestore API V1
|
82
79
|
test_files: []
|