google-apis-file_v1beta1 0.47.0 → 0.49.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: 862518aba080b6f67ab545d121143c17f35fd729c7818c894f9c920940da4f5d
4
- data.tar.gz: 88d8bc9c2b9d8ee23d863649ae012bff0fd6dfd3e30688fe3a30e7e7587bfdd5
3
+ metadata.gz: f819568f57238acd0c1fb591265afb256dce76325a79e3cf968eb9bf17631130
4
+ data.tar.gz: cde1280179acd70176f7c1a0bfaaface3919203cb4c5f425f967b75c1517d637
5
5
  SHA512:
6
- metadata.gz: 0e59b66b7ea9911f945f8d9ebc3fc033cc29a9c19e0077fb153b7200210cbb9e8dca1b2834c370af9fe00478177aeab74cbe60884d15e586d96696e106e6c608
7
- data.tar.gz: 8dff628b52b8781eff46ff0d44abf51f7239678e6632c1acb2bba5bd574f5b0699e53c3a705cde17d33c1d16c47084f374ebef637214646252e4d49d9c46b7c0
6
+ metadata.gz: ede8e169c6db077257714018ad8d05cb0b3ad9efb82c6bdc92a39778e29ed7359040a1af27f4631a5470966ca8aba23bad5cf758434fdef491bd185ed776ed9a
7
+ data.tar.gz: 803cb15c95856d50852b0f777bae0614814fe588abb47d3abfbee9e37f40eb2807b22bbb22f14190fe627ed39d897b92da5a8d7b1f74f60f8f7bd9ab57a40863
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.49.0 (2024-06-30)
4
+
5
+ * Regenerated from discovery document revision 20240619
6
+
7
+ ### v0.48.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240608
10
+
3
11
  ### v0.47.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240511
@@ -105,6 +105,13 @@ module Google
105
105
  # @return [Fixnum]
106
106
  attr_accessor :storage_bytes
107
107
 
108
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
109
+ # resource. For example: "123/environment": "production", "123/costCenter": "
110
+ # marketing"
111
+ # Corresponds to the JSON property `tags`
112
+ # @return [Hash<String,String>]
113
+ attr_accessor :tags
114
+
108
115
  def initialize(**args)
109
116
  update!(**args)
110
117
  end
@@ -125,6 +132,7 @@ module Google
125
132
  @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
126
133
  @state = args[:state] if args.key?(:state)
127
134
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
135
+ @tags = args[:tags] if args.key?(:tags)
128
136
  end
129
137
  end
130
138
 
@@ -315,6 +323,18 @@ module Google
315
323
  # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
316
324
  attr_accessor :nfs_export_options
317
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
+
318
338
  # The resource name of the backup, in the format `projects/`project_id`/
319
339
  # locations/`location_id`/backups/`backup_id``, that this file share has been
320
340
  # restored from.
@@ -331,10 +351,31 @@ module Google
331
351
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
332
352
  @name = args[:name] if args.key?(:name)
333
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)
334
356
  @source_backup = args[:source_backup] if args.key?(:source_backup)
335
357
  end
336
358
  end
337
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
+
338
379
  # Instance represents the interface for SLM services to actuate the state of
339
380
  # control plane resources. Example Instance in JSON, where consumer-project-
340
381
  # number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
@@ -769,6 +810,25 @@ module Google
769
810
  end
770
811
  end
771
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
+
772
832
  # A Filestore instance.
773
833
  class Instance
774
834
  include Google::Apis::Core::Hashable
@@ -892,6 +952,13 @@ module Google
892
952
  # @return [Array<String>]
893
953
  attr_accessor :suspension_reasons
894
954
 
955
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
956
+ # resource. For example: "123/environment": "production", "123/costCenter": "
957
+ # marketing"
958
+ # Corresponds to the JSON property `tags`
959
+ # @return [Hash<String,String>]
960
+ attr_accessor :tags
961
+
895
962
  # The service tier of the instance.
896
963
  # Corresponds to the JSON property `tier`
897
964
  # @return [String]
@@ -924,6 +991,7 @@ module Google
924
991
  @state = args[:state] if args.key?(:state)
925
992
  @status_message = args[:status_message] if args.key?(:status_message)
926
993
  @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
994
+ @tags = args[:tags] if args.key?(:tags)
927
995
  @tier = args[:tier] if args.key?(:tier)
928
996
  end
929
997
  end
@@ -1514,6 +1582,81 @@ module Google
1514
1582
  end
1515
1583
  end
1516
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
+
1517
1660
  # PromoteReplicaRequest promotes a Filestore standby instance (replica).
1518
1661
  class PromoteReplicaRequest
1519
1662
  include Google::Apis::Core::Hashable
@@ -1794,6 +1937,13 @@ module Google
1794
1937
  # @return [String]
1795
1938
  attr_accessor :state
1796
1939
 
1940
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
1941
+ # resource. For example: "123/environment": "production", "123/costCenter": "
1942
+ # marketing"
1943
+ # Corresponds to the JSON property `tags`
1944
+ # @return [Hash<String,String>]
1945
+ attr_accessor :tags
1946
+
1797
1947
  def initialize(**args)
1798
1948
  update!(**args)
1799
1949
  end
@@ -1806,6 +1956,7 @@ module Google
1806
1956
  @labels = args[:labels] if args.key?(:labels)
1807
1957
  @name = args[:name] if args.key?(:name)
1808
1958
  @state = args[:state] if args.key?(:state)
1959
+ @tags = args[:tags] if args.key?(:tags)
1809
1960
  end
1810
1961
  end
1811
1962
 
@@ -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.47.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 = "20240511"
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
 
@@ -303,6 +327,7 @@ module Google
303
327
  property :source_instance_tier, as: 'sourceInstanceTier'
304
328
  property :state, as: 'state'
305
329
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
330
+ hash :tags, as: 'tags'
306
331
  end
307
332
  end
308
333
 
@@ -363,10 +388,21 @@ module Google
363
388
  property :name, as: 'name'
364
389
  collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
365
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
+
366
395
  property :source_backup, as: 'sourceBackup'
367
396
  end
368
397
  end
369
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
+
370
406
  class GoogleCloudSaasacceleratorManagementProvidersV1Instance
371
407
  # @private
372
408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -468,6 +504,13 @@ module Google
468
504
  end
469
505
  end
470
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
+
471
514
  class Instance
472
515
  # @private
473
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -496,6 +539,7 @@ module Google
496
539
  property :state, as: 'state'
497
540
  property :status_message, as: 'statusMessage'
498
541
  collection :suspension_reasons, as: 'suspensionReasons'
542
+ hash :tags, as: 'tags'
499
543
  property :tier, as: 'tier'
500
544
  end
501
545
  end
@@ -648,6 +692,27 @@ module Google
648
692
  end
649
693
  end
650
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
+
651
716
  class PromoteReplicaRequest
652
717
  # @private
653
718
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,6 +789,7 @@ module Google
724
789
  hash :labels, as: 'labels'
725
790
  property :name, as: 'name'
726
791
  property :state, as: 'state'
792
+ hash :tags, as: 'tags'
727
793
  end
728
794
  end
729
795
 
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.47.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-05-19 00:00:00.000000000 Z
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.47.0
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: []