google-apis-file_v1 0.45.0 → 0.46.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 +5 -0
- data/lib/google/apis/file_v1/classes.rb +0 -127
- data/lib/google/apis/file_v1/gem_version.rb +3 -3
- data/lib/google/apis/file_v1/representations.rb +0 -63
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0908c8d713fe28a62478fb149d6b60f614894063efeb5e8db6f4e35e1825c9fb'
|
4
|
+
data.tar.gz: 48fe3fffe4a0e23fa8456250ab278891af19e63848852d03002ec82fd58aa51d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edbd9606b7d50d6aab36b2d16ca03929de8dd5304d7ffde74ddc7b3608a431f06853c903bf6f67fe0535fd53aff5ae35245ac0991daa62f47955ab89850fae88
|
7
|
+
data.tar.gz: dea6e35f9288b58bc09e99476a92662e43116dba34643090661c799e4abb78d9d621f0da44454381c7a0c252e6c55e7c60466650e754f63d178e63af05df1229
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.46.0 (2024-08-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240716
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.45.0 (2024-06-26)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240619
|
@@ -305,18 +305,6 @@ module Google
|
|
305
305
|
# @return [Array<Google::Apis::FileV1::NfsExportOptions>]
|
306
306
|
attr_accessor :nfs_export_options
|
307
307
|
|
308
|
-
# Performance configuration. Used for setting the performance configuration.
|
309
|
-
# Defaults to `iops_by_capacity` if unset in instance creation.
|
310
|
-
# Corresponds to the JSON property `performanceConfig`
|
311
|
-
# @return [Google::Apis::FileV1::PerformanceConfig]
|
312
|
-
attr_accessor :performance_config
|
313
|
-
|
314
|
-
# The enforced performance limits, calculated from the instance's performance
|
315
|
-
# configuration.
|
316
|
-
# Corresponds to the JSON property `performanceLimits`
|
317
|
-
# @return [Google::Apis::FileV1::PerformanceLimits]
|
318
|
-
attr_accessor :performance_limits
|
319
|
-
|
320
308
|
# The resource name of the backup, in the format `projects/`project_number`/
|
321
309
|
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
322
310
|
# restored from.
|
@@ -333,31 +321,10 @@ module Google
|
|
333
321
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
334
322
|
@name = args[:name] if args.key?(:name)
|
335
323
|
@nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
|
336
|
-
@performance_config = args[:performance_config] if args.key?(:performance_config)
|
337
|
-
@performance_limits = args[:performance_limits] if args.key?(:performance_limits)
|
338
324
|
@source_backup = args[:source_backup] if args.key?(:source_backup)
|
339
325
|
end
|
340
326
|
end
|
341
327
|
|
342
|
-
# Fixed IOPS parameters.
|
343
|
-
class FixedIops
|
344
|
-
include Google::Apis::Core::Hashable
|
345
|
-
|
346
|
-
# Required. Maximum raw read IOPS.
|
347
|
-
# Corresponds to the JSON property `maxReadIops`
|
348
|
-
# @return [Fixnum]
|
349
|
-
attr_accessor :max_read_iops
|
350
|
-
|
351
|
-
def initialize(**args)
|
352
|
-
update!(**args)
|
353
|
-
end
|
354
|
-
|
355
|
-
# Update properties of this object
|
356
|
-
def update!(**args)
|
357
|
-
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
358
|
-
end
|
359
|
-
end
|
360
|
-
|
361
328
|
# Instance represents the interface for SLM services to actuate the state of
|
362
329
|
# control plane resources. Example Instance in JSON, where consumer-project-
|
363
330
|
# number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
|
@@ -792,25 +759,6 @@ module Google
|
|
792
759
|
end
|
793
760
|
end
|
794
761
|
|
795
|
-
# IOPS per capacity parameters.
|
796
|
-
class IopsPerGb
|
797
|
-
include Google::Apis::Core::Hashable
|
798
|
-
|
799
|
-
# Required. Maximum read IOPS per GB.
|
800
|
-
# Corresponds to the JSON property `maxReadIopsPerGb`
|
801
|
-
# @return [Fixnum]
|
802
|
-
attr_accessor :max_read_iops_per_gb
|
803
|
-
|
804
|
-
def initialize(**args)
|
805
|
-
update!(**args)
|
806
|
-
end
|
807
|
-
|
808
|
-
# Update properties of this object
|
809
|
-
def update!(**args)
|
810
|
-
@max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb)
|
811
|
-
end
|
812
|
-
end
|
813
|
-
|
814
762
|
# A Filestore instance.
|
815
763
|
class Instance
|
816
764
|
include Google::Apis::Core::Hashable
|
@@ -1448,81 +1396,6 @@ module Google
|
|
1448
1396
|
end
|
1449
1397
|
end
|
1450
1398
|
|
1451
|
-
# Performance configuration. Used for setting the performance configuration.
|
1452
|
-
# Defaults to `iops_by_capacity` if unset in instance creation.
|
1453
|
-
class PerformanceConfig
|
1454
|
-
include Google::Apis::Core::Hashable
|
1455
|
-
|
1456
|
-
# Fixed IOPS parameters.
|
1457
|
-
# Corresponds to the JSON property `fixedIops`
|
1458
|
-
# @return [Google::Apis::FileV1::FixedIops]
|
1459
|
-
attr_accessor :fixed_iops
|
1460
|
-
|
1461
|
-
# Automatically provision maximum available IOPS based on the capacity of the
|
1462
|
-
# instance. Larger instances will be granted more IOPS. If instance capacity is
|
1463
|
-
# increased or decreased, IOPS will be automatically adjusted upwards or
|
1464
|
-
# downwards accordingly. The maximum available IOPS for a given capacity is
|
1465
|
-
# defined in Filestore documentation.
|
1466
|
-
# Corresponds to the JSON property `iopsByCapacity`
|
1467
|
-
# @return [Boolean]
|
1468
|
-
attr_accessor :iops_by_capacity
|
1469
|
-
alias_method :iops_by_capacity?, :iops_by_capacity
|
1470
|
-
|
1471
|
-
# IOPS per capacity parameters.
|
1472
|
-
# Corresponds to the JSON property `iopsPerGb`
|
1473
|
-
# @return [Google::Apis::FileV1::IopsPerGb]
|
1474
|
-
attr_accessor :iops_per_gb
|
1475
|
-
|
1476
|
-
def initialize(**args)
|
1477
|
-
update!(**args)
|
1478
|
-
end
|
1479
|
-
|
1480
|
-
# Update properties of this object
|
1481
|
-
def update!(**args)
|
1482
|
-
@fixed_iops = args[:fixed_iops] if args.key?(:fixed_iops)
|
1483
|
-
@iops_by_capacity = args[:iops_by_capacity] if args.key?(:iops_by_capacity)
|
1484
|
-
@iops_per_gb = args[:iops_per_gb] if args.key?(:iops_per_gb)
|
1485
|
-
end
|
1486
|
-
end
|
1487
|
-
|
1488
|
-
# The enforced performance limits, calculated from the instance's performance
|
1489
|
-
# configuration.
|
1490
|
-
class PerformanceLimits
|
1491
|
-
include Google::Apis::Core::Hashable
|
1492
|
-
|
1493
|
-
# Output only. The max read IOPS.
|
1494
|
-
# Corresponds to the JSON property `maxReadIops`
|
1495
|
-
# @return [Fixnum]
|
1496
|
-
attr_accessor :max_read_iops
|
1497
|
-
|
1498
|
-
# Output only. The max read throughput.
|
1499
|
-
# Corresponds to the JSON property `maxReadThroughput`
|
1500
|
-
# @return [Fixnum]
|
1501
|
-
attr_accessor :max_read_throughput
|
1502
|
-
|
1503
|
-
# Output only. The max write IOPS.
|
1504
|
-
# Corresponds to the JSON property `maxWriteIops`
|
1505
|
-
# @return [Fixnum]
|
1506
|
-
attr_accessor :max_write_iops
|
1507
|
-
|
1508
|
-
# Output only. The max write throughput.
|
1509
|
-
# Corresponds to the JSON property `maxWriteThroughput`
|
1510
|
-
# @return [Fixnum]
|
1511
|
-
attr_accessor :max_write_throughput
|
1512
|
-
|
1513
|
-
def initialize(**args)
|
1514
|
-
update!(**args)
|
1515
|
-
end
|
1516
|
-
|
1517
|
-
# Update properties of this object
|
1518
|
-
def update!(**args)
|
1519
|
-
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
1520
|
-
@max_read_throughput = args[:max_read_throughput] if args.key?(:max_read_throughput)
|
1521
|
-
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
|
1522
|
-
@max_write_throughput = args[:max_write_throughput] if args.key?(:max_write_throughput)
|
1523
|
-
end
|
1524
|
-
end
|
1525
|
-
|
1526
1399
|
# PromoteReplicaRequest promotes a Filestore standby instance (replica).
|
1527
1400
|
class PromoteReplicaRequest
|
1528
1401
|
include Google::Apis::Core::Hashable
|
@@ -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.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,12 +64,6 @@ 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
|
-
|
73
67
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
69
|
|
@@ -124,12 +118,6 @@ module Google
|
|
124
118
|
include Google::Apis::Core::JsonObjectSupport
|
125
119
|
end
|
126
120
|
|
127
|
-
class IopsPerGb
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
121
|
class Instance
|
134
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
123
|
|
@@ -208,18 +196,6 @@ module Google
|
|
208
196
|
include Google::Apis::Core::JsonObjectSupport
|
209
197
|
end
|
210
198
|
|
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
|
-
|
223
199
|
class PromoteReplicaRequest
|
224
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
201
|
|
@@ -356,21 +332,10 @@ module Google
|
|
356
332
|
property :name, as: 'name'
|
357
333
|
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1::NfsExportOptions, decorator: Google::Apis::FileV1::NfsExportOptions::Representation
|
358
334
|
|
359
|
-
property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1::PerformanceConfig, decorator: Google::Apis::FileV1::PerformanceConfig::Representation
|
360
|
-
|
361
|
-
property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1::PerformanceLimits, decorator: Google::Apis::FileV1::PerformanceLimits::Representation
|
362
|
-
|
363
335
|
property :source_backup, as: 'sourceBackup'
|
364
336
|
end
|
365
337
|
end
|
366
338
|
|
367
|
-
class FixedIops
|
368
|
-
# @private
|
369
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
-
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
371
|
-
end
|
372
|
-
end
|
373
|
-
|
374
339
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
375
340
|
# @private
|
376
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -472,13 +437,6 @@ module Google
|
|
472
437
|
end
|
473
438
|
end
|
474
439
|
|
475
|
-
class IopsPerGb
|
476
|
-
# @private
|
477
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
-
property :max_read_iops_per_gb, :numeric_string => true, as: 'maxReadIopsPerGb'
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
440
|
class Instance
|
483
441
|
# @private
|
484
442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -633,27 +591,6 @@ module Google
|
|
633
591
|
end
|
634
592
|
end
|
635
593
|
|
636
|
-
class PerformanceConfig
|
637
|
-
# @private
|
638
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
-
property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1::FixedIops, decorator: Google::Apis::FileV1::FixedIops::Representation
|
640
|
-
|
641
|
-
property :iops_by_capacity, as: 'iopsByCapacity'
|
642
|
-
property :iops_per_gb, as: 'iopsPerGb', class: Google::Apis::FileV1::IopsPerGb, decorator: Google::Apis::FileV1::IopsPerGb::Representation
|
643
|
-
|
644
|
-
end
|
645
|
-
end
|
646
|
-
|
647
|
-
class PerformanceLimits
|
648
|
-
# @private
|
649
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
650
|
-
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
651
|
-
property :max_read_throughput, :numeric_string => true, as: 'maxReadThroughput'
|
652
|
-
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
|
653
|
-
property :max_write_throughput, :numeric_string => true, as: 'maxWriteThroughput'
|
654
|
-
end
|
655
|
-
end
|
656
|
-
|
657
594
|
class PromoteReplicaRequest
|
658
595
|
# @private
|
659
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.46.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-08-04 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.46.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: []
|