google-apis-file_v1 0.46.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/file_v1/classes.rb +189 -11
- data/lib/google/apis/file_v1/gem_version.rb +2 -2
- data/lib/google/apis/file_v1/representations.rb +69 -0
- data/lib/google/apis/file_v1/service.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f8fc62e8714068babd9dc93fa49f2a163a296fefb32a3bc2ac3d7761321db39
|
4
|
+
data.tar.gz: 5bcc6fd562b6fcb4277cd0f657205acda7976d391b96cbb993c806ad4ed26626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e3dc5b669510f4c04d51e28583593c0d42d3dbb22a1da9f394cfc092361ab6778ef7ae888a88855c7b4ec4c044e2e9625f8ea4f83c9535e1f4e5ce069506ca
|
7
|
+
data.tar.gz: a3f84b7402b6da8392dc9891ad3134f66d2aba04708e97154a6b6e875afbc4e760e5199b1733cf6e4fafff94db27421eb382dbd26c43a011c093a857c77ab59c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.48.0 (2024-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241015
|
6
|
+
|
7
|
+
### v0.47.0 (2024-09-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240905
|
10
|
+
|
3
11
|
### v0.46.0 (2024-08-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240716
|
@@ -49,6 +49,12 @@ module Google
|
|
49
49
|
# @return [Fixnum]
|
50
50
|
attr_accessor :download_bytes
|
51
51
|
|
52
|
+
# Output only. The file system protocol of the source Filestore instance that
|
53
|
+
# this backup is created from.
|
54
|
+
# Corresponds to the JSON property `fileSystemProtocol`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :file_system_protocol
|
57
|
+
|
52
58
|
# Immutable. KMS key name used for data encryption.
|
53
59
|
# Corresponds to the JSON property `kmsKey`
|
54
60
|
# @return [String]
|
@@ -107,7 +113,7 @@ module Google
|
|
107
113
|
# @return [Fixnum]
|
108
114
|
attr_accessor :storage_bytes
|
109
115
|
|
110
|
-
# Optional. Input only. Immutable. Tag
|
116
|
+
# Optional. Input only. Immutable. Tag key-value pairs are bound to this
|
111
117
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
112
118
|
# marketing"
|
113
119
|
# Corresponds to the JSON property `tags`
|
@@ -124,6 +130,7 @@ module Google
|
|
124
130
|
@create_time = args[:create_time] if args.key?(:create_time)
|
125
131
|
@description = args[:description] if args.key?(:description)
|
126
132
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
133
|
+
@file_system_protocol = args[:file_system_protocol] if args.key?(:file_system_protocol)
|
127
134
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
128
135
|
@labels = args[:labels] if args.key?(:labels)
|
129
136
|
@name = args[:name] if args.key?(:name)
|
@@ -325,6 +332,32 @@ module Google
|
|
325
332
|
end
|
326
333
|
end
|
327
334
|
|
335
|
+
# Fixed IOPS (input/output operations per second) parameters.
|
336
|
+
class FixedIops
|
337
|
+
include Google::Apis::Core::Hashable
|
338
|
+
|
339
|
+
# Required. Maximum IOPS.
|
340
|
+
# Corresponds to the JSON property `maxIops`
|
341
|
+
# @return [Fixnum]
|
342
|
+
attr_accessor :max_iops
|
343
|
+
|
344
|
+
# Optional. Deprecated: `max_iops` should be used instead of this parameter.
|
345
|
+
# Maximum raw read IOPS.
|
346
|
+
# Corresponds to the JSON property `maxReadIops`
|
347
|
+
# @return [Fixnum]
|
348
|
+
attr_accessor :max_read_iops
|
349
|
+
|
350
|
+
def initialize(**args)
|
351
|
+
update!(**args)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Update properties of this object
|
355
|
+
def update!(**args)
|
356
|
+
@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
|
+
end
|
359
|
+
end
|
360
|
+
|
328
361
|
# Instance represents the interface for SLM services to actuate the state of
|
329
362
|
# control plane resources. Example Instance in JSON, where consumer-project-
|
330
363
|
# number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
|
@@ -759,15 +792,59 @@ module Google
|
|
759
792
|
end
|
760
793
|
end
|
761
794
|
|
795
|
+
# IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
|
796
|
+
class IopsPerTb
|
797
|
+
include Google::Apis::Core::Hashable
|
798
|
+
|
799
|
+
# Required. Maximum IOPS per TiB.
|
800
|
+
# Corresponds to the JSON property `maxIopsPerTb`
|
801
|
+
# @return [Fixnum]
|
802
|
+
attr_accessor :max_iops_per_tb
|
803
|
+
|
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
|
+
def initialize(**args)
|
811
|
+
update!(**args)
|
812
|
+
end
|
813
|
+
|
814
|
+
# Update properties of this object
|
815
|
+
def update!(**args)
|
816
|
+
@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
|
+
end
|
819
|
+
end
|
820
|
+
|
762
821
|
# A Filestore instance.
|
763
822
|
class Instance
|
764
823
|
include Google::Apis::Core::Hashable
|
765
824
|
|
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
|
+
|
766
832
|
# Output only. The time when the instance was created.
|
767
833
|
# Corresponds to the JSON property `createTime`
|
768
834
|
# @return [String]
|
769
835
|
attr_accessor :create_time
|
770
836
|
|
837
|
+
# Optional. Indicates whether the instance is protected against deletion.
|
838
|
+
# Corresponds to the JSON property `deletionProtectionEnabled`
|
839
|
+
# @return [Boolean]
|
840
|
+
attr_accessor :deletion_protection_enabled
|
841
|
+
alias_method :deletion_protection_enabled?, :deletion_protection_enabled
|
842
|
+
|
843
|
+
# Optional. The reason for enabling deletion protection.
|
844
|
+
# Corresponds to the JSON property `deletionProtectionReason`
|
845
|
+
# @return [String]
|
846
|
+
attr_accessor :deletion_protection_reason
|
847
|
+
|
771
848
|
# The description of the instance (2048 characters or less).
|
772
849
|
# Corresponds to the JSON property `description`
|
773
850
|
# @return [String]
|
@@ -807,6 +884,29 @@ module Google
|
|
807
884
|
# @return [Array<Google::Apis::FileV1::NetworkConfig>]
|
808
885
|
attr_accessor :networks
|
809
886
|
|
887
|
+
# Used for setting the performance configuration. If the user doesn't specify
|
888
|
+
# PerformanceConfig, automatically provision the default performance settings as
|
889
|
+
# described in https://cloud.google.com/filestore/docs/performance. Larger
|
890
|
+
# instances will be linearly set to more IOPS. If the instance's capacity is
|
891
|
+
# increased or decreased, its performance will be automatically adjusted upwards
|
892
|
+
# or downwards accordingly (respectively).
|
893
|
+
# Corresponds to the JSON property `performanceConfig`
|
894
|
+
# @return [Google::Apis::FileV1::PerformanceConfig]
|
895
|
+
attr_accessor :performance_config
|
896
|
+
|
897
|
+
# The enforced performance limits, calculated from the instance's performance
|
898
|
+
# configuration.
|
899
|
+
# Corresponds to the JSON property `performanceLimits`
|
900
|
+
# @return [Google::Apis::FileV1::PerformanceLimits]
|
901
|
+
attr_accessor :performance_limits
|
902
|
+
|
903
|
+
# Immutable. The protocol indicates the access protocol for all shares in the
|
904
|
+
# instance. This field is immutable and it cannot be changed after the instance
|
905
|
+
# has been created. Default value: `NFS_V3`.
|
906
|
+
# Corresponds to the JSON property `protocol`
|
907
|
+
# @return [String]
|
908
|
+
attr_accessor :protocol
|
909
|
+
|
810
910
|
# Replication specifications.
|
811
911
|
# Corresponds to the JSON property `replication`
|
812
912
|
# @return [Google::Apis::FileV1::Replication]
|
@@ -840,7 +940,7 @@ module Google
|
|
840
940
|
# @return [Array<String>]
|
841
941
|
attr_accessor :suspension_reasons
|
842
942
|
|
843
|
-
# Optional. Input only. Immutable. Tag
|
943
|
+
# Optional. Input only. Immutable. Tag key-value pairs are bound to this
|
844
944
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
845
945
|
# marketing"
|
846
946
|
# Corresponds to the JSON property `tags`
|
@@ -858,7 +958,10 @@ module Google
|
|
858
958
|
|
859
959
|
# Update properties of this object
|
860
960
|
def update!(**args)
|
961
|
+
@configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
|
861
962
|
@create_time = args[:create_time] if args.key?(:create_time)
|
963
|
+
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
|
964
|
+
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
|
862
965
|
@description = args[:description] if args.key?(:description)
|
863
966
|
@etag = args[:etag] if args.key?(:etag)
|
864
967
|
@file_shares = args[:file_shares] if args.key?(:file_shares)
|
@@ -866,6 +969,9 @@ module Google
|
|
866
969
|
@labels = args[:labels] if args.key?(:labels)
|
867
970
|
@name = args[:name] if args.key?(:name)
|
868
971
|
@networks = args[:networks] if args.key?(:networks)
|
972
|
+
@performance_config = args[:performance_config] if args.key?(:performance_config)
|
973
|
+
@performance_limits = args[:performance_limits] if args.key?(:performance_limits)
|
974
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
869
975
|
@replication = args[:replication] if args.key?(:replication)
|
870
976
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
871
977
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
@@ -1396,6 +1502,74 @@ module Google
|
|
1396
1502
|
end
|
1397
1503
|
end
|
1398
1504
|
|
1505
|
+
# Used for setting the performance configuration. If the user doesn't specify
|
1506
|
+
# PerformanceConfig, automatically provision the default performance settings as
|
1507
|
+
# described in https://cloud.google.com/filestore/docs/performance. Larger
|
1508
|
+
# instances will be linearly set to more IOPS. If the instance's capacity is
|
1509
|
+
# increased or decreased, its performance will be automatically adjusted upwards
|
1510
|
+
# or downwards accordingly (respectively).
|
1511
|
+
class PerformanceConfig
|
1512
|
+
include Google::Apis::Core::Hashable
|
1513
|
+
|
1514
|
+
# Fixed IOPS (input/output operations per second) parameters.
|
1515
|
+
# Corresponds to the JSON property `fixedIops`
|
1516
|
+
# @return [Google::Apis::FileV1::FixedIops]
|
1517
|
+
attr_accessor :fixed_iops
|
1518
|
+
|
1519
|
+
# IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
|
1520
|
+
# Corresponds to the JSON property `iopsPerTb`
|
1521
|
+
# @return [Google::Apis::FileV1::IopsPerTb]
|
1522
|
+
attr_accessor :iops_per_tb
|
1523
|
+
|
1524
|
+
def initialize(**args)
|
1525
|
+
update!(**args)
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# Update properties of this object
|
1529
|
+
def update!(**args)
|
1530
|
+
@fixed_iops = args[:fixed_iops] if args.key?(:fixed_iops)
|
1531
|
+
@iops_per_tb = args[:iops_per_tb] if args.key?(:iops_per_tb)
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# The enforced performance limits, calculated from the instance's performance
|
1536
|
+
# configuration.
|
1537
|
+
class PerformanceLimits
|
1538
|
+
include Google::Apis::Core::Hashable
|
1539
|
+
|
1540
|
+
# Output only. The max read IOPS.
|
1541
|
+
# Corresponds to the JSON property `maxReadIops`
|
1542
|
+
# @return [Fixnum]
|
1543
|
+
attr_accessor :max_read_iops
|
1544
|
+
|
1545
|
+
# Output only. The max read throughput in bytes per second.
|
1546
|
+
# Corresponds to the JSON property `maxReadThroughputBps`
|
1547
|
+
# @return [Fixnum]
|
1548
|
+
attr_accessor :max_read_throughput_bps
|
1549
|
+
|
1550
|
+
# Output only. The max write IOPS.
|
1551
|
+
# Corresponds to the JSON property `maxWriteIops`
|
1552
|
+
# @return [Fixnum]
|
1553
|
+
attr_accessor :max_write_iops
|
1554
|
+
|
1555
|
+
# Output only. The max write throughput in bytes per second.
|
1556
|
+
# Corresponds to the JSON property `maxWriteThroughputBps`
|
1557
|
+
# @return [Fixnum]
|
1558
|
+
attr_accessor :max_write_throughput_bps
|
1559
|
+
|
1560
|
+
def initialize(**args)
|
1561
|
+
update!(**args)
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Update properties of this object
|
1565
|
+
def update!(**args)
|
1566
|
+
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
1567
|
+
@max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
|
1568
|
+
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
|
1569
|
+
@max_write_throughput_bps = args[:max_write_throughput_bps] if args.key?(:max_write_throughput_bps)
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
|
1399
1573
|
# PromoteReplicaRequest promotes a Filestore standby instance (replica).
|
1400
1574
|
class PromoteReplicaRequest
|
1401
1575
|
include Google::Apis::Core::Hashable
|
@@ -1451,8 +1625,8 @@ module Google
|
|
1451
1625
|
class Replication
|
1452
1626
|
include Google::Apis::Core::Hashable
|
1453
1627
|
|
1454
|
-
# Optional.
|
1455
|
-
# replica
|
1628
|
+
# Optional. Replication configuration for the replica instance associated with
|
1629
|
+
# this instance. Only a single replica is supported.
|
1456
1630
|
# Corresponds to the JSON property `replicas`
|
1457
1631
|
# @return [Array<Google::Apis::FileV1::ReplicaConfig>]
|
1458
1632
|
attr_accessor :replicas
|
@@ -1595,7 +1769,7 @@ module Google
|
|
1595
1769
|
# @return [String]
|
1596
1770
|
attr_accessor :state
|
1597
1771
|
|
1598
|
-
# Optional. Input only. Immutable. Tag
|
1772
|
+
# Optional. Input only. Immutable. Tag key-value pairs are bound to this
|
1599
1773
|
# resource. For example: "123/environment": "production", "123/costCenter": "
|
1600
1774
|
# marketing"
|
1601
1775
|
# Corresponds to the JSON property `tags`
|
@@ -1663,24 +1837,28 @@ module Google
|
|
1663
1837
|
class TimeOfDay
|
1664
1838
|
include Google::Apis::Core::Hashable
|
1665
1839
|
|
1666
|
-
# Hours of day in 24 hour format.
|
1667
|
-
#
|
1840
|
+
# Hours of a day in 24 hour format. Must be greater than or equal to 0 and
|
1841
|
+
# typically must be less than or equal to 23. An API may choose to allow the
|
1842
|
+
# value "24:00:00" for scenarios like business closing time.
|
1668
1843
|
# Corresponds to the JSON property `hours`
|
1669
1844
|
# @return [Fixnum]
|
1670
1845
|
attr_accessor :hours
|
1671
1846
|
|
1672
|
-
# Minutes of hour
|
1847
|
+
# Minutes of an hour. Must be greater than or equal to 0 and less than or equal
|
1848
|
+
# to 59.
|
1673
1849
|
# Corresponds to the JSON property `minutes`
|
1674
1850
|
# @return [Fixnum]
|
1675
1851
|
attr_accessor :minutes
|
1676
1852
|
|
1677
|
-
# Fractions of seconds in nanoseconds. Must be
|
1853
|
+
# Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
|
1854
|
+
# less than or equal to 999,999,999.
|
1678
1855
|
# Corresponds to the JSON property `nanos`
|
1679
1856
|
# @return [Fixnum]
|
1680
1857
|
attr_accessor :nanos
|
1681
1858
|
|
1682
|
-
# Seconds of
|
1683
|
-
# allow the value 60 if it allows leap-
|
1859
|
+
# Seconds of a minute. Must be greater than or equal to 0 and typically must be
|
1860
|
+
# less than or equal to 59. An API may allow the value 60 if it allows leap-
|
1861
|
+
# seconds.
|
1684
1862
|
# Corresponds to the JSON property `seconds`
|
1685
1863
|
# @return [Fixnum]
|
1686
1864
|
attr_accessor :seconds
|
@@ -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.48.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 = "
|
25
|
+
REVISION = "20241015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class FixedIops
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class IopsPerTb
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class Instance
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -196,6 +208,18 @@ module Google
|
|
196
208
|
include Google::Apis::Core::JsonObjectSupport
|
197
209
|
end
|
198
210
|
|
211
|
+
class PerformanceConfig
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class PerformanceLimits
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
199
223
|
class PromoteReplicaRequest
|
200
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
225
|
|
@@ -269,6 +293,7 @@ module Google
|
|
269
293
|
property :create_time, as: 'createTime'
|
270
294
|
property :description, as: 'description'
|
271
295
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
296
|
+
property :file_system_protocol, as: 'fileSystemProtocol'
|
272
297
|
property :kms_key, as: 'kmsKey'
|
273
298
|
hash :labels, as: 'labels'
|
274
299
|
property :name, as: 'name'
|
@@ -336,6 +361,14 @@ module Google
|
|
336
361
|
end
|
337
362
|
end
|
338
363
|
|
364
|
+
class FixedIops
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :max_iops, :numeric_string => true, as: 'maxIops'
|
368
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
339
372
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
340
373
|
# @private
|
341
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -437,10 +470,21 @@ module Google
|
|
437
470
|
end
|
438
471
|
end
|
439
472
|
|
473
|
+
class IopsPerTb
|
474
|
+
# @private
|
475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
476
|
+
property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
|
477
|
+
property :max_read_iops_per_tb, :numeric_string => true, as: 'maxReadIopsPerTb'
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
440
481
|
class Instance
|
441
482
|
# @private
|
442
483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
|
443
485
|
property :create_time, as: 'createTime'
|
486
|
+
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
|
487
|
+
property :deletion_protection_reason, as: 'deletionProtectionReason'
|
444
488
|
property :description, as: 'description'
|
445
489
|
property :etag, as: 'etag'
|
446
490
|
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
|
@@ -450,6 +494,11 @@ module Google
|
|
450
494
|
property :name, as: 'name'
|
451
495
|
collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
|
452
496
|
|
497
|
+
property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1::PerformanceConfig, decorator: Google::Apis::FileV1::PerformanceConfig::Representation
|
498
|
+
|
499
|
+
property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1::PerformanceLimits, decorator: Google::Apis::FileV1::PerformanceLimits::Representation
|
500
|
+
|
501
|
+
property :protocol, as: 'protocol'
|
453
502
|
property :replication, as: 'replication', class: Google::Apis::FileV1::Replication, decorator: Google::Apis::FileV1::Replication::Representation
|
454
503
|
|
455
504
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
@@ -591,6 +640,26 @@ module Google
|
|
591
640
|
end
|
592
641
|
end
|
593
642
|
|
643
|
+
class PerformanceConfig
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1::FixedIops, decorator: Google::Apis::FileV1::FixedIops::Representation
|
647
|
+
|
648
|
+
property :iops_per_tb, as: 'iopsPerTb', class: Google::Apis::FileV1::IopsPerTb, decorator: Google::Apis::FileV1::IopsPerTb::Representation
|
649
|
+
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
class PerformanceLimits
|
654
|
+
# @private
|
655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
656
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
657
|
+
property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
|
658
|
+
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
|
659
|
+
property :max_write_throughput_bps, :numeric_string => true, as: 'maxWriteThroughputBps'
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
594
663
|
class PromoteReplicaRequest
|
595
664
|
# @private
|
596
665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -479,7 +479,8 @@ module Google
|
|
479
479
|
# @param [String] update_mask
|
480
480
|
# Mask of fields to update. At least one path must be supplied in this field.
|
481
481
|
# The elements of the repeated paths field may only include these fields: * "
|
482
|
-
# description" * "file_shares" * "labels"
|
482
|
+
# description" * "file_shares" * "labels" * "performance_config" * "
|
483
|
+
# deletion_protection_enabled" * "deletion_protection_reason"
|
483
484
|
# @param [String] fields
|
484
485
|
# Selector specifying which fields to include in a partial response.
|
485
486
|
# @param [String] quota_user
|
@@ -510,7 +511,7 @@ module Google
|
|
510
511
|
execute_or_queue_command(command, &block)
|
511
512
|
end
|
512
513
|
|
513
|
-
# Promote
|
514
|
+
# Promote the standby instance (replica).
|
514
515
|
# @param [String] name
|
515
516
|
# Required. The resource name of the instance, in the format `projects/`
|
516
517
|
# project_id`/locations/`location_id`/instances/`instance_id``.
|
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.
|
4
|
+
version: 0.48.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-
|
11
|
+
date: 2024-10-27 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.48.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.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Filestore API V1
|