google-apis-file_v1beta1 0.48.0 → 0.49.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f819568f57238acd0c1fb591265afb256dce76325a79e3cf968eb9bf17631130
|
4
|
+
data.tar.gz: cde1280179acd70176f7c1a0bfaaface3919203cb4c5f425f967b75c1517d637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede8e169c6db077257714018ad8d05cb0b3ad9efb82c6bdc92a39778e29ed7359040a1af27f4631a5470966ca8aba23bad5cf758434fdef491bd185ed776ed9a
|
7
|
+
data.tar.gz: 803cb15c95856d50852b0f777bae0614814fe588abb47d3abfbee9e37f40eb2807b22bbb22f14190fe627ed39d897b92da5a8d7b1f74f60f8f7bd9ab57a40863
|
data/CHANGELOG.md
CHANGED
@@ -323,6 +323,18 @@ module Google
|
|
323
323
|
# @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
|
324
324
|
attr_accessor :nfs_export_options
|
325
325
|
|
326
|
+
# Performance configuration. Used for setting the performance configuration.
|
327
|
+
# Defaults to `iops_by_capacity` if unset in instance creation.
|
328
|
+
# Corresponds to the JSON property `performanceConfig`
|
329
|
+
# @return [Google::Apis::FileV1beta1::PerformanceConfig]
|
330
|
+
attr_accessor :performance_config
|
331
|
+
|
332
|
+
# The enforced performance limits, calculated from the instance's performance
|
333
|
+
# configuration.
|
334
|
+
# Corresponds to the JSON property `performanceLimits`
|
335
|
+
# @return [Google::Apis::FileV1beta1::PerformanceLimits]
|
336
|
+
attr_accessor :performance_limits
|
337
|
+
|
326
338
|
# The resource name of the backup, in the format `projects/`project_id`/
|
327
339
|
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
328
340
|
# restored from.
|
@@ -339,10 +351,31 @@ module Google
|
|
339
351
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
340
352
|
@name = args[:name] if args.key?(:name)
|
341
353
|
@nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
|
354
|
+
@performance_config = args[:performance_config] if args.key?(:performance_config)
|
355
|
+
@performance_limits = args[:performance_limits] if args.key?(:performance_limits)
|
342
356
|
@source_backup = args[:source_backup] if args.key?(:source_backup)
|
343
357
|
end
|
344
358
|
end
|
345
359
|
|
360
|
+
# Fixed IOPS parameters.
|
361
|
+
class FixedIops
|
362
|
+
include Google::Apis::Core::Hashable
|
363
|
+
|
364
|
+
# Required. Maximum raw read IOPS.
|
365
|
+
# Corresponds to the JSON property `maxReadIops`
|
366
|
+
# @return [Fixnum]
|
367
|
+
attr_accessor :max_read_iops
|
368
|
+
|
369
|
+
def initialize(**args)
|
370
|
+
update!(**args)
|
371
|
+
end
|
372
|
+
|
373
|
+
# Update properties of this object
|
374
|
+
def update!(**args)
|
375
|
+
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
346
379
|
# Instance represents the interface for SLM services to actuate the state of
|
347
380
|
# control plane resources. Example Instance in JSON, where consumer-project-
|
348
381
|
# number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
|
@@ -777,6 +810,25 @@ module Google
|
|
777
810
|
end
|
778
811
|
end
|
779
812
|
|
813
|
+
# IOPS per capacity parameters.
|
814
|
+
class IopsPerGb
|
815
|
+
include Google::Apis::Core::Hashable
|
816
|
+
|
817
|
+
# Required. Maximum read IOPS per GB.
|
818
|
+
# Corresponds to the JSON property `maxReadIopsPerGb`
|
819
|
+
# @return [Fixnum]
|
820
|
+
attr_accessor :max_read_iops_per_gb
|
821
|
+
|
822
|
+
def initialize(**args)
|
823
|
+
update!(**args)
|
824
|
+
end
|
825
|
+
|
826
|
+
# Update properties of this object
|
827
|
+
def update!(**args)
|
828
|
+
@max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb)
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
780
832
|
# A Filestore instance.
|
781
833
|
class Instance
|
782
834
|
include Google::Apis::Core::Hashable
|
@@ -1530,6 +1582,81 @@ module Google
|
|
1530
1582
|
end
|
1531
1583
|
end
|
1532
1584
|
|
1585
|
+
# Performance configuration. Used for setting the performance configuration.
|
1586
|
+
# Defaults to `iops_by_capacity` if unset in instance creation.
|
1587
|
+
class PerformanceConfig
|
1588
|
+
include Google::Apis::Core::Hashable
|
1589
|
+
|
1590
|
+
# Fixed IOPS parameters.
|
1591
|
+
# Corresponds to the JSON property `fixedIops`
|
1592
|
+
# @return [Google::Apis::FileV1beta1::FixedIops]
|
1593
|
+
attr_accessor :fixed_iops
|
1594
|
+
|
1595
|
+
# Automatically provision maximum available IOPS based on the capacity of the
|
1596
|
+
# instance. Larger instances will be granted more IOPS. If instance capacity is
|
1597
|
+
# increased or decreased, IOPS will be automatically adjusted upwards or
|
1598
|
+
# downwards accordingly. The maximum available IOPS for a given capacity is
|
1599
|
+
# defined in Filestore documentation.
|
1600
|
+
# Corresponds to the JSON property `iopsByCapacity`
|
1601
|
+
# @return [Boolean]
|
1602
|
+
attr_accessor :iops_by_capacity
|
1603
|
+
alias_method :iops_by_capacity?, :iops_by_capacity
|
1604
|
+
|
1605
|
+
# IOPS per capacity parameters.
|
1606
|
+
# Corresponds to the JSON property `iopsPerGb`
|
1607
|
+
# @return [Google::Apis::FileV1beta1::IopsPerGb]
|
1608
|
+
attr_accessor :iops_per_gb
|
1609
|
+
|
1610
|
+
def initialize(**args)
|
1611
|
+
update!(**args)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# Update properties of this object
|
1615
|
+
def update!(**args)
|
1616
|
+
@fixed_iops = args[:fixed_iops] if args.key?(:fixed_iops)
|
1617
|
+
@iops_by_capacity = args[:iops_by_capacity] if args.key?(:iops_by_capacity)
|
1618
|
+
@iops_per_gb = args[:iops_per_gb] if args.key?(:iops_per_gb)
|
1619
|
+
end
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# The enforced performance limits, calculated from the instance's performance
|
1623
|
+
# configuration.
|
1624
|
+
class PerformanceLimits
|
1625
|
+
include Google::Apis::Core::Hashable
|
1626
|
+
|
1627
|
+
# Output only. The max read IOPS.
|
1628
|
+
# Corresponds to the JSON property `maxReadIops`
|
1629
|
+
# @return [Fixnum]
|
1630
|
+
attr_accessor :max_read_iops
|
1631
|
+
|
1632
|
+
# Output only. The max read throughput.
|
1633
|
+
# Corresponds to the JSON property `maxReadThroughput`
|
1634
|
+
# @return [Fixnum]
|
1635
|
+
attr_accessor :max_read_throughput
|
1636
|
+
|
1637
|
+
# Output only. The max write IOPS.
|
1638
|
+
# Corresponds to the JSON property `maxWriteIops`
|
1639
|
+
# @return [Fixnum]
|
1640
|
+
attr_accessor :max_write_iops
|
1641
|
+
|
1642
|
+
# Output only. The max write throughput.
|
1643
|
+
# Corresponds to the JSON property `maxWriteThroughput`
|
1644
|
+
# @return [Fixnum]
|
1645
|
+
attr_accessor :max_write_throughput
|
1646
|
+
|
1647
|
+
def initialize(**args)
|
1648
|
+
update!(**args)
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# Update properties of this object
|
1652
|
+
def update!(**args)
|
1653
|
+
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
1654
|
+
@max_read_throughput = args[:max_read_throughput] if args.key?(:max_read_throughput)
|
1655
|
+
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
|
1656
|
+
@max_write_throughput = args[:max_write_throughput] if args.key?(:max_write_throughput)
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
|
1533
1660
|
# PromoteReplicaRequest promotes a Filestore standby instance (replica).
|
1534
1661
|
class PromoteReplicaRequest
|
1535
1662
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FileV1beta1
|
18
18
|
# Version of the google-apis-file_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.49.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 = "
|
25
|
+
REVISION = "20240619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class FixedIops
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -124,6 +130,12 @@ module Google
|
|
124
130
|
include Google::Apis::Core::JsonObjectSupport
|
125
131
|
end
|
126
132
|
|
133
|
+
class IopsPerGb
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class Instance
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -214,6 +226,18 @@ module Google
|
|
214
226
|
include Google::Apis::Core::JsonObjectSupport
|
215
227
|
end
|
216
228
|
|
229
|
+
class PerformanceConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class PerformanceLimits
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
217
241
|
class PromoteReplicaRequest
|
218
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
243
|
|
@@ -364,10 +388,21 @@ module Google
|
|
364
388
|
property :name, as: 'name'
|
365
389
|
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
|
366
390
|
|
391
|
+
property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1beta1::PerformanceConfig, decorator: Google::Apis::FileV1beta1::PerformanceConfig::Representation
|
392
|
+
|
393
|
+
property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1beta1::PerformanceLimits, decorator: Google::Apis::FileV1beta1::PerformanceLimits::Representation
|
394
|
+
|
367
395
|
property :source_backup, as: 'sourceBackup'
|
368
396
|
end
|
369
397
|
end
|
370
398
|
|
399
|
+
class FixedIops
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
371
406
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
372
407
|
# @private
|
373
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -469,6 +504,13 @@ module Google
|
|
469
504
|
end
|
470
505
|
end
|
471
506
|
|
507
|
+
class IopsPerGb
|
508
|
+
# @private
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
510
|
+
property :max_read_iops_per_gb, :numeric_string => true, as: 'maxReadIopsPerGb'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
472
514
|
class Instance
|
473
515
|
# @private
|
474
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -650,6 +692,27 @@ module Google
|
|
650
692
|
end
|
651
693
|
end
|
652
694
|
|
695
|
+
class PerformanceConfig
|
696
|
+
# @private
|
697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
698
|
+
property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1beta1::FixedIops, decorator: Google::Apis::FileV1beta1::FixedIops::Representation
|
699
|
+
|
700
|
+
property :iops_by_capacity, as: 'iopsByCapacity'
|
701
|
+
property :iops_per_gb, as: 'iopsPerGb', class: Google::Apis::FileV1beta1::IopsPerGb, decorator: Google::Apis::FileV1beta1::IopsPerGb::Representation
|
702
|
+
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
class PerformanceLimits
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
710
|
+
property :max_read_throughput, :numeric_string => true, as: 'maxReadThroughput'
|
711
|
+
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
|
712
|
+
property :max_write_throughput, :numeric_string => true, as: 'maxWriteThroughput'
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
653
716
|
class PromoteReplicaRequest
|
654
717
|
# @private
|
655
718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-file_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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-
|
11
|
+
date: 2024-06-30 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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.49.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|