google-apis-file_v1 0.44.0 → 0.45.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: 4ce03638ab5d390eb05574d14f0af8cfcf68d33e4a7a90f35257cae2e0b832b3
4
- data.tar.gz: 04c2d74931d942691954b15f031f1d012dfb2a801e7cdc94c2f8c6db97bb4d14
3
+ metadata.gz: 97d931f13d53fc9379a2264a99667037896952e7b37359a1e2e74ca1d0f423ae
4
+ data.tar.gz: cf56c01326b03ebeb97cfd1755ca9e2d78304856215e64cd49cc44e416f57438
5
5
  SHA512:
6
- metadata.gz: 1dc2aa3fca8d790e9a587fd168d839a7180acee294d8a55e330b7754bd7b3d882784cc4257e2ed80e964ddb0f681796defdf8dbf57b40f945cf694ae723cd82b
7
- data.tar.gz: 7ed4f710c3912d1292a45210289044cb75e2894201eb0647fadd8e8077fe4fcab8b74877f7dd24e71176bfb6dc5e2b5414f3b8b95585c62bb9adc79aec0a4a17
6
+ metadata.gz: f855dd4640c33423e3c4882d08dd8d85c23c822fd998fed0efdb6f52d6048badc9d558687085e5e1381863dfde46f484f48cc7e80ac3653e84af84fa5036dd05
7
+ data.tar.gz: ccbb054b5c825d750cc75979d6898059c32816d1afbc09acc6f567d72b7869458594331c2897cf67ff2d7441b29c46518817dce19dd40ae268bfeabbd2898099
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1
2
2
 
3
+ ### v0.45.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240619
6
+
3
7
  ### v0.44.0 (2024-06-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20240608
@@ -305,6 +305,18 @@ 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
+
308
320
  # The resource name of the backup, in the format `projects/`project_number`/
309
321
  # locations/`location_id`/backups/`backup_id``, that this file share has been
310
322
  # restored from.
@@ -321,10 +333,31 @@ module Google
321
333
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
322
334
  @name = args[:name] if args.key?(:name)
323
335
  @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)
324
338
  @source_backup = args[:source_backup] if args.key?(:source_backup)
325
339
  end
326
340
  end
327
341
 
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
+
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,6 +792,25 @@ module Google
759
792
  end
760
793
  end
761
794
 
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
+
762
814
  # A Filestore instance.
763
815
  class Instance
764
816
  include Google::Apis::Core::Hashable
@@ -1396,6 +1448,81 @@ module Google
1396
1448
  end
1397
1449
  end
1398
1450
 
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
+
1399
1526
  # PromoteReplicaRequest promotes a Filestore standby instance (replica).
1400
1527
  class PromoteReplicaRequest
1401
1528
  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.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240608"
25
+ REVISION = "20240619"
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 IopsPerGb
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
 
@@ -332,10 +356,21 @@ module Google
332
356
  property :name, as: 'name'
333
357
  collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1::NfsExportOptions, decorator: Google::Apis::FileV1::NfsExportOptions::Representation
334
358
 
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
+
335
363
  property :source_backup, as: 'sourceBackup'
336
364
  end
337
365
  end
338
366
 
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
+
339
374
  class GoogleCloudSaasacceleratorManagementProvidersV1Instance
340
375
  # @private
341
376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -437,6 +472,13 @@ module Google
437
472
  end
438
473
  end
439
474
 
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
+
440
482
  class Instance
441
483
  # @private
442
484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +633,27 @@ module Google
591
633
  end
592
634
  end
593
635
 
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
+
594
657
  class PromoteReplicaRequest
595
658
  # @private
596
659
  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.44.0
4
+ version: 0.45.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-06-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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.45.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: []