google-apis-file_v1beta1 0.48.0 → 0.50.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: 28a8bbd7608897723e417eea9192ecae95c590efab12abb7a3b01ed1f519528e
|
4
|
+
data.tar.gz: 92b0658b630857bb6716bc928e630b3691174d9e1d85c6ea8cc4c4c6ce2f408b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2469f4e086a727534bcdb23b58e21825491b56a7ae54f347fb467b3a42636cf589e17f5a10c8c43271890d84beafd3f91ec10e1c976ff266b29a8d960250ad9a
|
7
|
+
data.tar.gz: c2dc0eeeae5d9fa2eea75d685d8aade3f4da38d7c8f259b4f4e6897377f2b962cdabf20e853bee0c76eaed2ada420eac2c47be2303aa4e7666164c5209cf32b0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-file_v1beta1
|
2
2
|
|
3
|
+
### v0.50.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240704
|
6
|
+
|
7
|
+
### v0.49.0 (2024-06-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240619
|
10
|
+
|
3
11
|
### v0.48.0 (2024-06-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240608
|
@@ -47,6 +47,12 @@ module Google
|
|
47
47
|
# @return [Fixnum]
|
48
48
|
attr_accessor :download_bytes
|
49
49
|
|
50
|
+
# Output only. The file system protocol of the source Filestore instance that
|
51
|
+
# this backup is created from.
|
52
|
+
# Corresponds to the JSON property `fileSystemProtocol`
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :file_system_protocol
|
55
|
+
|
50
56
|
# Immutable. KMS key name used for data encryption.
|
51
57
|
# Corresponds to the JSON property `kmsKeyName`
|
52
58
|
# @return [String]
|
@@ -122,6 +128,7 @@ module Google
|
|
122
128
|
@create_time = args[:create_time] if args.key?(:create_time)
|
123
129
|
@description = args[:description] if args.key?(:description)
|
124
130
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
131
|
+
@file_system_protocol = args[:file_system_protocol] if args.key?(:file_system_protocol)
|
125
132
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
126
133
|
@labels = args[:labels] if args.key?(:labels)
|
127
134
|
@name = args[:name] if args.key?(:name)
|
@@ -323,6 +330,18 @@ module Google
|
|
323
330
|
# @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
|
324
331
|
attr_accessor :nfs_export_options
|
325
332
|
|
333
|
+
# Performance configuration. Used for setting the performance configuration.
|
334
|
+
# Defaults to `iops_by_capacity` if unset in instance creation.
|
335
|
+
# Corresponds to the JSON property `performanceConfig`
|
336
|
+
# @return [Google::Apis::FileV1beta1::PerformanceConfig]
|
337
|
+
attr_accessor :performance_config
|
338
|
+
|
339
|
+
# The enforced performance limits, calculated from the instance's performance
|
340
|
+
# configuration.
|
341
|
+
# Corresponds to the JSON property `performanceLimits`
|
342
|
+
# @return [Google::Apis::FileV1beta1::PerformanceLimits]
|
343
|
+
attr_accessor :performance_limits
|
344
|
+
|
326
345
|
# The resource name of the backup, in the format `projects/`project_id`/
|
327
346
|
# locations/`location_id`/backups/`backup_id``, that this file share has been
|
328
347
|
# restored from.
|
@@ -339,10 +358,31 @@ module Google
|
|
339
358
|
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
340
359
|
@name = args[:name] if args.key?(:name)
|
341
360
|
@nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
|
361
|
+
@performance_config = args[:performance_config] if args.key?(:performance_config)
|
362
|
+
@performance_limits = args[:performance_limits] if args.key?(:performance_limits)
|
342
363
|
@source_backup = args[:source_backup] if args.key?(:source_backup)
|
343
364
|
end
|
344
365
|
end
|
345
366
|
|
367
|
+
# Fixed IOPS parameters.
|
368
|
+
class FixedIops
|
369
|
+
include Google::Apis::Core::Hashable
|
370
|
+
|
371
|
+
# Required. Maximum raw read IOPS.
|
372
|
+
# Corresponds to the JSON property `maxReadIops`
|
373
|
+
# @return [Fixnum]
|
374
|
+
attr_accessor :max_read_iops
|
375
|
+
|
376
|
+
def initialize(**args)
|
377
|
+
update!(**args)
|
378
|
+
end
|
379
|
+
|
380
|
+
# Update properties of this object
|
381
|
+
def update!(**args)
|
382
|
+
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
346
386
|
# Instance represents the interface for SLM services to actuate the state of
|
347
387
|
# control plane resources. Example Instance in JSON, where consumer-project-
|
348
388
|
# number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
|
@@ -777,6 +817,25 @@ module Google
|
|
777
817
|
end
|
778
818
|
end
|
779
819
|
|
820
|
+
# IOPS per capacity parameters.
|
821
|
+
class IopsPerGb
|
822
|
+
include Google::Apis::Core::Hashable
|
823
|
+
|
824
|
+
# Required. Maximum read IOPS per GB.
|
825
|
+
# Corresponds to the JSON property `maxReadIopsPerGb`
|
826
|
+
# @return [Fixnum]
|
827
|
+
attr_accessor :max_read_iops_per_gb
|
828
|
+
|
829
|
+
def initialize(**args)
|
830
|
+
update!(**args)
|
831
|
+
end
|
832
|
+
|
833
|
+
# Update properties of this object
|
834
|
+
def update!(**args)
|
835
|
+
@max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb)
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
780
839
|
# A Filestore instance.
|
781
840
|
class Instance
|
782
841
|
include Google::Apis::Core::Hashable
|
@@ -1530,6 +1589,81 @@ module Google
|
|
1530
1589
|
end
|
1531
1590
|
end
|
1532
1591
|
|
1592
|
+
# Performance configuration. Used for setting the performance configuration.
|
1593
|
+
# Defaults to `iops_by_capacity` if unset in instance creation.
|
1594
|
+
class PerformanceConfig
|
1595
|
+
include Google::Apis::Core::Hashable
|
1596
|
+
|
1597
|
+
# Fixed IOPS parameters.
|
1598
|
+
# Corresponds to the JSON property `fixedIops`
|
1599
|
+
# @return [Google::Apis::FileV1beta1::FixedIops]
|
1600
|
+
attr_accessor :fixed_iops
|
1601
|
+
|
1602
|
+
# Automatically provision maximum available IOPS based on the capacity of the
|
1603
|
+
# instance. Larger instances will be granted more IOPS. If instance capacity is
|
1604
|
+
# increased or decreased, IOPS will be automatically adjusted upwards or
|
1605
|
+
# downwards accordingly. The maximum available IOPS for a given capacity is
|
1606
|
+
# defined in Filestore documentation.
|
1607
|
+
# Corresponds to the JSON property `iopsByCapacity`
|
1608
|
+
# @return [Boolean]
|
1609
|
+
attr_accessor :iops_by_capacity
|
1610
|
+
alias_method :iops_by_capacity?, :iops_by_capacity
|
1611
|
+
|
1612
|
+
# IOPS per capacity parameters.
|
1613
|
+
# Corresponds to the JSON property `iopsPerGb`
|
1614
|
+
# @return [Google::Apis::FileV1beta1::IopsPerGb]
|
1615
|
+
attr_accessor :iops_per_gb
|
1616
|
+
|
1617
|
+
def initialize(**args)
|
1618
|
+
update!(**args)
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# Update properties of this object
|
1622
|
+
def update!(**args)
|
1623
|
+
@fixed_iops = args[:fixed_iops] if args.key?(:fixed_iops)
|
1624
|
+
@iops_by_capacity = args[:iops_by_capacity] if args.key?(:iops_by_capacity)
|
1625
|
+
@iops_per_gb = args[:iops_per_gb] if args.key?(:iops_per_gb)
|
1626
|
+
end
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
# The enforced performance limits, calculated from the instance's performance
|
1630
|
+
# configuration.
|
1631
|
+
class PerformanceLimits
|
1632
|
+
include Google::Apis::Core::Hashable
|
1633
|
+
|
1634
|
+
# Output only. The max read IOPS.
|
1635
|
+
# Corresponds to the JSON property `maxReadIops`
|
1636
|
+
# @return [Fixnum]
|
1637
|
+
attr_accessor :max_read_iops
|
1638
|
+
|
1639
|
+
# Output only. The max read throughput.
|
1640
|
+
# Corresponds to the JSON property `maxReadThroughput`
|
1641
|
+
# @return [Fixnum]
|
1642
|
+
attr_accessor :max_read_throughput
|
1643
|
+
|
1644
|
+
# Output only. The max write IOPS.
|
1645
|
+
# Corresponds to the JSON property `maxWriteIops`
|
1646
|
+
# @return [Fixnum]
|
1647
|
+
attr_accessor :max_write_iops
|
1648
|
+
|
1649
|
+
# Output only. The max write throughput.
|
1650
|
+
# Corresponds to the JSON property `maxWriteThroughput`
|
1651
|
+
# @return [Fixnum]
|
1652
|
+
attr_accessor :max_write_throughput
|
1653
|
+
|
1654
|
+
def initialize(**args)
|
1655
|
+
update!(**args)
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
# Update properties of this object
|
1659
|
+
def update!(**args)
|
1660
|
+
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
|
1661
|
+
@max_read_throughput = args[:max_read_throughput] if args.key?(:max_read_throughput)
|
1662
|
+
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
|
1663
|
+
@max_write_throughput = args[:max_write_throughput] if args.key?(:max_write_throughput)
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
|
1533
1667
|
# PromoteReplicaRequest promotes a Filestore standby instance (replica).
|
1534
1668
|
class PromoteReplicaRequest
|
1535
1669
|
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.50.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 = "20240704"
|
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
|
|
@@ -293,6 +317,7 @@ module Google
|
|
293
317
|
property :create_time, as: 'createTime'
|
294
318
|
property :description, as: 'description'
|
295
319
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
320
|
+
property :file_system_protocol, as: 'fileSystemProtocol'
|
296
321
|
property :kms_key_name, as: 'kmsKeyName'
|
297
322
|
hash :labels, as: 'labels'
|
298
323
|
property :name, as: 'name'
|
@@ -364,10 +389,21 @@ module Google
|
|
364
389
|
property :name, as: 'name'
|
365
390
|
collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
|
366
391
|
|
392
|
+
property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1beta1::PerformanceConfig, decorator: Google::Apis::FileV1beta1::PerformanceConfig::Representation
|
393
|
+
|
394
|
+
property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1beta1::PerformanceLimits, decorator: Google::Apis::FileV1beta1::PerformanceLimits::Representation
|
395
|
+
|
367
396
|
property :source_backup, as: 'sourceBackup'
|
368
397
|
end
|
369
398
|
end
|
370
399
|
|
400
|
+
class FixedIops
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
371
407
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
372
408
|
# @private
|
373
409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -469,6 +505,13 @@ module Google
|
|
469
505
|
end
|
470
506
|
end
|
471
507
|
|
508
|
+
class IopsPerGb
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :max_read_iops_per_gb, :numeric_string => true, as: 'maxReadIopsPerGb'
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
472
515
|
class Instance
|
473
516
|
# @private
|
474
517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -650,6 +693,27 @@ module Google
|
|
650
693
|
end
|
651
694
|
end
|
652
695
|
|
696
|
+
class PerformanceConfig
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1beta1::FixedIops, decorator: Google::Apis::FileV1beta1::FixedIops::Representation
|
700
|
+
|
701
|
+
property :iops_by_capacity, as: 'iopsByCapacity'
|
702
|
+
property :iops_per_gb, as: 'iopsPerGb', class: Google::Apis::FileV1beta1::IopsPerGb, decorator: Google::Apis::FileV1beta1::IopsPerGb::Representation
|
703
|
+
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
707
|
+
class PerformanceLimits
|
708
|
+
# @private
|
709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
710
|
+
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
|
711
|
+
property :max_read_throughput, :numeric_string => true, as: 'maxReadThroughput'
|
712
|
+
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
|
713
|
+
property :max_write_throughput, :numeric_string => true, as: 'maxWriteThroughput'
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
653
717
|
class PromoteReplicaRequest
|
654
718
|
# @private
|
655
719
|
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.50.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-07-25 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.50.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: []
|