google-apis-file_v1beta1 0.49.0 → 0.51.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: f819568f57238acd0c1fb591265afb256dce76325a79e3cf968eb9bf17631130
4
- data.tar.gz: cde1280179acd70176f7c1a0bfaaface3919203cb4c5f425f967b75c1517d637
3
+ metadata.gz: 8aeb5120970fe69d2cf9d2124cf4c046fa149b7439d05edb015572c53d3524c9
4
+ data.tar.gz: 53248e62b65454188671fa9e582aa90a5c42d6c354fc1dad32550f79c284c478
5
5
  SHA512:
6
- metadata.gz: ede8e169c6db077257714018ad8d05cb0b3ad9efb82c6bdc92a39778e29ed7359040a1af27f4631a5470966ca8aba23bad5cf758434fdef491bd185ed776ed9a
7
- data.tar.gz: 803cb15c95856d50852b0f777bae0614814fe588abb47d3abfbee9e37f40eb2807b22bbb22f14190fe627ed39d897b92da5a8d7b1f74f60f8f7bd9ab57a40863
6
+ metadata.gz: acfcdd1cce9132286665051dcb25c97c8d7983c8803624e2f8efe7e5944fc812420726b4f15f9afcbe16b550a08a9eebc1215d36aed51905690fb7a149baae46
7
+ data.tar.gz: 69e8b2a695e01b7ce3352ac968db900657e9a0c9c8e258047dce0faa7320e6af4e8e5a48e567f5b704c17b9410a57521fbad4cfccea3f2655922e95719b9ea05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.51.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241104
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.50.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240704
11
+
3
12
  ### v0.49.0 (2024-06-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20240619
@@ -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]
@@ -105,7 +111,7 @@ module Google
105
111
  # @return [Fixnum]
106
112
  attr_accessor :storage_bytes
107
113
 
108
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
114
+ # Optional. Input only. Immutable. Tag key-value pairs are bound to this
109
115
  # resource. For example: "123/environment": "production", "123/costCenter": "
110
116
  # marketing"
111
117
  # Corresponds to the JSON property `tags`
@@ -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)
@@ -270,7 +277,7 @@ module Google
270
277
  include Google::Apis::Core::Hashable
271
278
 
272
279
  # ManagedActiveDirectoryConfig contains all the parameters for connecting to
273
- # Managed Active Directory.
280
+ # Managed Service for Microsoft Active Directory (Managed Microsoft AD).
274
281
  # Corresponds to the JSON property `managedActiveDirectory`
275
282
  # @return [Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig]
276
283
  attr_accessor :managed_active_directory
@@ -323,18 +330,6 @@ module Google
323
330
  # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
324
331
  attr_accessor :nfs_export_options
325
332
 
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
-
338
333
  # The resource name of the backup, in the format `projects/`project_id`/
339
334
  # locations/`location_id`/backups/`backup_id``, that this file share has been
340
335
  # restored from.
@@ -351,17 +346,21 @@ module Google
351
346
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
352
347
  @name = args[:name] if args.key?(:name)
353
348
  @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)
356
349
  @source_backup = args[:source_backup] if args.key?(:source_backup)
357
350
  end
358
351
  end
359
352
 
360
- # Fixed IOPS parameters.
353
+ # Fixed IOPS (input/output operations per second) parameters.
361
354
  class FixedIops
362
355
  include Google::Apis::Core::Hashable
363
356
 
364
- # Required. Maximum raw read IOPS.
357
+ # Required. Maximum IOPS.
358
+ # Corresponds to the JSON property `maxIops`
359
+ # @return [Fixnum]
360
+ attr_accessor :max_iops
361
+
362
+ # Optional. Deprecated: `max_iops` should be used instead of this parameter.
363
+ # Maximum read IOPS.
365
364
  # Corresponds to the JSON property `maxReadIops`
366
365
  # @return [Fixnum]
367
366
  attr_accessor :max_read_iops
@@ -372,6 +371,7 @@ module Google
372
371
 
373
372
  # Update properties of this object
374
373
  def update!(**args)
374
+ @max_iops = args[:max_iops] if args.key?(:max_iops)
375
375
  @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
376
376
  end
377
377
  end
@@ -810,14 +810,20 @@ module Google
810
810
  end
811
811
  end
812
812
 
813
- # IOPS per capacity parameters.
814
- class IopsPerGb
813
+ # IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
814
+ class IopsPerTb
815
815
  include Google::Apis::Core::Hashable
816
816
 
817
- # Required. Maximum read IOPS per GB.
818
- # Corresponds to the JSON property `maxReadIopsPerGb`
817
+ # Required. Maximum IOPS per TiB.
818
+ # Corresponds to the JSON property `maxIopsPerTb`
819
+ # @return [Fixnum]
820
+ attr_accessor :max_iops_per_tb
821
+
822
+ # Optional. Deprecated: `max_iops_per_tb` should be used instead of this
823
+ # parameter. Maximum read IOPS per TiB.
824
+ # Corresponds to the JSON property `maxReadIopsPerTb`
819
825
  # @return [Fixnum]
820
- attr_accessor :max_read_iops_per_gb
826
+ attr_accessor :max_read_iops_per_tb
821
827
 
822
828
  def initialize(**args)
823
829
  update!(**args)
@@ -825,7 +831,8 @@ module Google
825
831
 
826
832
  # Update properties of this object
827
833
  def update!(**args)
828
- @max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb)
834
+ @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
835
+ @max_read_iops_per_tb = args[:max_read_iops_per_tb] if args.key?(:max_read_iops_per_tb)
829
836
  end
830
837
  end
831
838
 
@@ -845,11 +852,29 @@ module Google
845
852
  # @return [Fixnum]
846
853
  attr_accessor :capacity_step_size_gb
847
854
 
855
+ # Output only. Indicates whether this instance's performance is configurable. If
856
+ # enabled, adjust it using the 'performance_config' field.
857
+ # Corresponds to the JSON property `configurablePerformanceEnabled`
858
+ # @return [Boolean]
859
+ attr_accessor :configurable_performance_enabled
860
+ alias_method :configurable_performance_enabled?, :configurable_performance_enabled
861
+
848
862
  # Output only. The time when the instance was created.
849
863
  # Corresponds to the JSON property `createTime`
850
864
  # @return [String]
851
865
  attr_accessor :create_time
852
866
 
867
+ # Optional. Indicates whether the instance is protected against deletion.
868
+ # Corresponds to the JSON property `deletionProtectionEnabled`
869
+ # @return [Boolean]
870
+ attr_accessor :deletion_protection_enabled
871
+ alias_method :deletion_protection_enabled?, :deletion_protection_enabled
872
+
873
+ # Optional. The reason for enabling deletion protection.
874
+ # Corresponds to the JSON property `deletionProtectionReason`
875
+ # @return [String]
876
+ attr_accessor :deletion_protection_reason
877
+
853
878
  # The description of the instance (2048 characters or less).
854
879
  # Corresponds to the JSON property `description`
855
880
  # @return [String]
@@ -912,6 +937,22 @@ module Google
912
937
  # @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
913
938
  attr_accessor :networks
914
939
 
940
+ # Used for setting the performance configuration. If the user doesn't specify
941
+ # PerformanceConfig, automatically provision the default performance settings as
942
+ # described in https://cloud.google.com/filestore/docs/performance. Larger
943
+ # instances will be linearly set to more IOPS. If the instance's capacity is
944
+ # increased or decreased, its performance will be automatically adjusted upwards
945
+ # or downwards accordingly (respectively).
946
+ # Corresponds to the JSON property `performanceConfig`
947
+ # @return [Google::Apis::FileV1beta1::PerformanceConfig]
948
+ attr_accessor :performance_config
949
+
950
+ # The enforced performance limits, calculated from the instance's performance
951
+ # configuration.
952
+ # Corresponds to the JSON property `performanceLimits`
953
+ # @return [Google::Apis::FileV1beta1::PerformanceLimits]
954
+ attr_accessor :performance_limits
955
+
915
956
  # Immutable. The protocol indicates the access protocol for all shares in the
916
957
  # instance. This field is immutable and it cannot be changed after the instance
917
958
  # has been created. Default value: `NFS_V3`.
@@ -952,7 +993,7 @@ module Google
952
993
  # @return [Array<String>]
953
994
  attr_accessor :suspension_reasons
954
995
 
955
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
996
+ # Optional. Input only. Immutable. Tag key-value pairs are bound to this
956
997
  # resource. For example: "123/environment": "production", "123/costCenter": "
957
998
  # marketing"
958
999
  # Corresponds to the JSON property `tags`
@@ -972,7 +1013,10 @@ module Google
972
1013
  def update!(**args)
973
1014
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
974
1015
  @capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
1016
+ @configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
975
1017
  @create_time = args[:create_time] if args.key?(:create_time)
1018
+ @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
1019
+ @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
976
1020
  @description = args[:description] if args.key?(:description)
977
1021
  @directory_services = args[:directory_services] if args.key?(:directory_services)
978
1022
  @etag = args[:etag] if args.key?(:etag)
@@ -984,6 +1028,8 @@ module Google
984
1028
  @multi_share_enabled = args[:multi_share_enabled] if args.key?(:multi_share_enabled)
985
1029
  @name = args[:name] if args.key?(:name)
986
1030
  @networks = args[:networks] if args.key?(:networks)
1031
+ @performance_config = args[:performance_config] if args.key?(:performance_config)
1032
+ @performance_limits = args[:performance_limits] if args.key?(:performance_limits)
987
1033
  @protocol = args[:protocol] if args.key?(:protocol)
988
1034
  @replication = args[:replication] if args.key?(:replication)
989
1035
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -1311,13 +1357,13 @@ module Google
1311
1357
  end
1312
1358
 
1313
1359
  # ManagedActiveDirectoryConfig contains all the parameters for connecting to
1314
- # Managed Active Directory.
1360
+ # Managed Service for Microsoft Active Directory (Managed Microsoft AD).
1315
1361
  class ManagedActiveDirectoryConfig
1316
1362
  include Google::Apis::Core::Hashable
1317
1363
 
1318
- # Required. The computer name is used as a prefix to the mount remote target.
1319
- # Example: if the computer is `my-computer`, the mount command will look like: `$
1320
- # mount -o vers=4.1,sec=krb5 my-computer.filestore.: `.
1364
+ # Required. The computer name is used as a prefix in the command to mount the
1365
+ # remote target. For example: if the computer is `my-computer`, the mount
1366
+ # command will look like: `$mount -o vers=4.1,sec=krb5 my-computer.filestore.: `.
1321
1367
  # Corresponds to the JSON property `computer`
1322
1368
  # @return [String]
1323
1369
  attr_accessor :computer
@@ -1582,30 +1628,24 @@ module Google
1582
1628
  end
1583
1629
  end
1584
1630
 
1585
- # Performance configuration. Used for setting the performance configuration.
1586
- # Defaults to `iops_by_capacity` if unset in instance creation.
1631
+ # Used for setting the performance configuration. If the user doesn't specify
1632
+ # PerformanceConfig, automatically provision the default performance settings as
1633
+ # described in https://cloud.google.com/filestore/docs/performance. Larger
1634
+ # instances will be linearly set to more IOPS. If the instance's capacity is
1635
+ # increased or decreased, its performance will be automatically adjusted upwards
1636
+ # or downwards accordingly (respectively).
1587
1637
  class PerformanceConfig
1588
1638
  include Google::Apis::Core::Hashable
1589
1639
 
1590
- # Fixed IOPS parameters.
1640
+ # Fixed IOPS (input/output operations per second) parameters.
1591
1641
  # Corresponds to the JSON property `fixedIops`
1592
1642
  # @return [Google::Apis::FileV1beta1::FixedIops]
1593
1643
  attr_accessor :fixed_iops
1594
1644
 
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
1645
+ # IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
1646
+ # Corresponds to the JSON property `iopsPerTb`
1647
+ # @return [Google::Apis::FileV1beta1::IopsPerTb]
1648
+ attr_accessor :iops_per_tb
1609
1649
 
1610
1650
  def initialize(**args)
1611
1651
  update!(**args)
@@ -1614,8 +1654,7 @@ module Google
1614
1654
  # Update properties of this object
1615
1655
  def update!(**args)
1616
1656
  @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)
1657
+ @iops_per_tb = args[:iops_per_tb] if args.key?(:iops_per_tb)
1619
1658
  end
1620
1659
  end
1621
1660
 
@@ -1629,20 +1668,20 @@ module Google
1629
1668
  # @return [Fixnum]
1630
1669
  attr_accessor :max_read_iops
1631
1670
 
1632
- # Output only. The max read throughput.
1633
- # Corresponds to the JSON property `maxReadThroughput`
1671
+ # Output only. The max read throughput in bytes per second.
1672
+ # Corresponds to the JSON property `maxReadThroughputBps`
1634
1673
  # @return [Fixnum]
1635
- attr_accessor :max_read_throughput
1674
+ attr_accessor :max_read_throughput_bps
1636
1675
 
1637
1676
  # Output only. The max write IOPS.
1638
1677
  # Corresponds to the JSON property `maxWriteIops`
1639
1678
  # @return [Fixnum]
1640
1679
  attr_accessor :max_write_iops
1641
1680
 
1642
- # Output only. The max write throughput.
1643
- # Corresponds to the JSON property `maxWriteThroughput`
1681
+ # Output only. The max write throughput in bytes per second.
1682
+ # Corresponds to the JSON property `maxWriteThroughputBps`
1644
1683
  # @return [Fixnum]
1645
- attr_accessor :max_write_throughput
1684
+ attr_accessor :max_write_throughput_bps
1646
1685
 
1647
1686
  def initialize(**args)
1648
1687
  update!(**args)
@@ -1651,9 +1690,9 @@ module Google
1651
1690
  # Update properties of this object
1652
1691
  def update!(**args)
1653
1692
  @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)
1693
+ @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
1655
1694
  @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)
1695
+ @max_write_throughput_bps = args[:max_write_throughput_bps] if args.key?(:max_write_throughput_bps)
1657
1696
  end
1658
1697
  end
1659
1698
 
@@ -1712,8 +1751,8 @@ module Google
1712
1751
  class Replication
1713
1752
  include Google::Apis::Core::Hashable
1714
1753
 
1715
- # Replicas configuration on the instance. For now, only a single replica config
1716
- # is supported.
1754
+ # Replication configuration for the replica instance associated with this
1755
+ # instance. Only a single replica is supported.
1717
1756
  # Corresponds to the JSON property `replicas`
1718
1757
  # @return [Array<Google::Apis::FileV1beta1::ReplicaConfig>]
1719
1758
  attr_accessor :replicas
@@ -1937,7 +1976,7 @@ module Google
1937
1976
  # @return [String]
1938
1977
  attr_accessor :state
1939
1978
 
1940
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
1979
+ # Optional. Input only. Immutable. Tag key-value pairs are bound to this
1941
1980
  # resource. For example: "123/environment": "production", "123/costCenter": "
1942
1981
  # marketing"
1943
1982
  # Corresponds to the JSON property `tags`
@@ -2005,24 +2044,28 @@ module Google
2005
2044
  class TimeOfDay
2006
2045
  include Google::Apis::Core::Hashable
2007
2046
 
2008
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
2009
- # allow the value "24:00:00" for scenarios like business closing time.
2047
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
2048
+ # typically must be less than or equal to 23. An API may choose to allow the
2049
+ # value "24:00:00" for scenarios like business closing time.
2010
2050
  # Corresponds to the JSON property `hours`
2011
2051
  # @return [Fixnum]
2012
2052
  attr_accessor :hours
2013
2053
 
2014
- # Minutes of hour of day. Must be from 0 to 59.
2054
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
2055
+ # to 59.
2015
2056
  # Corresponds to the JSON property `minutes`
2016
2057
  # @return [Fixnum]
2017
2058
  attr_accessor :minutes
2018
2059
 
2019
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2060
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
2061
+ # less than or equal to 999,999,999.
2020
2062
  # Corresponds to the JSON property `nanos`
2021
2063
  # @return [Fixnum]
2022
2064
  attr_accessor :nanos
2023
2065
 
2024
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2025
- # allow the value 60 if it allows leap-seconds.
2066
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
2067
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
2068
+ # seconds.
2026
2069
  # Corresponds to the JSON property `seconds`
2027
2070
  # @return [Fixnum]
2028
2071
  attr_accessor :seconds
@@ -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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240619"
25
+ REVISION = "20241104"
26
26
  end
27
27
  end
28
28
  end
@@ -130,7 +130,7 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class IopsPerGb
133
+ class IopsPerTb
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
@@ -317,6 +317,7 @@ module Google
317
317
  property :create_time, as: 'createTime'
318
318
  property :description, as: 'description'
319
319
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
320
+ property :file_system_protocol, as: 'fileSystemProtocol'
320
321
  property :kms_key_name, as: 'kmsKeyName'
321
322
  hash :labels, as: 'labels'
322
323
  property :name, as: 'name'
@@ -388,10 +389,6 @@ module Google
388
389
  property :name, as: 'name'
389
390
  collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
390
391
 
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
-
395
392
  property :source_backup, as: 'sourceBackup'
396
393
  end
397
394
  end
@@ -399,6 +396,7 @@ module Google
399
396
  class FixedIops
400
397
  # @private
401
398
  class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :max_iops, :numeric_string => true, as: 'maxIops'
402
400
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
403
401
  end
404
402
  end
@@ -504,10 +502,11 @@ module Google
504
502
  end
505
503
  end
506
504
 
507
- class IopsPerGb
505
+ class IopsPerTb
508
506
  # @private
509
507
  class Representation < Google::Apis::Core::JsonRepresentation
510
- property :max_read_iops_per_gb, :numeric_string => true, as: 'maxReadIopsPerGb'
508
+ property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
509
+ property :max_read_iops_per_tb, :numeric_string => true, as: 'maxReadIopsPerTb'
511
510
  end
512
511
  end
513
512
 
@@ -516,7 +515,10 @@ module Google
516
515
  class Representation < Google::Apis::Core::JsonRepresentation
517
516
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
518
517
  property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
518
+ property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
519
519
  property :create_time, as: 'createTime'
520
+ property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
521
+ property :deletion_protection_reason, as: 'deletionProtectionReason'
520
522
  property :description, as: 'description'
521
523
  property :directory_services, as: 'directoryServices', class: Google::Apis::FileV1beta1::DirectoryServicesConfig, decorator: Google::Apis::FileV1beta1::DirectoryServicesConfig::Representation
522
524
 
@@ -531,6 +533,10 @@ module Google
531
533
  property :name, as: 'name'
532
534
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
533
535
 
536
+ property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1beta1::PerformanceConfig, decorator: Google::Apis::FileV1beta1::PerformanceConfig::Representation
537
+
538
+ property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1beta1::PerformanceLimits, decorator: Google::Apis::FileV1beta1::PerformanceLimits::Representation
539
+
534
540
  property :protocol, as: 'protocol'
535
541
  property :replication, as: 'replication', class: Google::Apis::FileV1beta1::Replication, decorator: Google::Apis::FileV1beta1::Replication::Representation
536
542
 
@@ -697,8 +703,7 @@ module Google
697
703
  class Representation < Google::Apis::Core::JsonRepresentation
698
704
  property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1beta1::FixedIops, decorator: Google::Apis::FileV1beta1::FixedIops::Representation
699
705
 
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
706
+ property :iops_per_tb, as: 'iopsPerTb', class: Google::Apis::FileV1beta1::IopsPerTb, decorator: Google::Apis::FileV1beta1::IopsPerTb::Representation
702
707
 
703
708
  end
704
709
  end
@@ -707,9 +712,9 @@ module Google
707
712
  # @private
708
713
  class Representation < Google::Apis::Core::JsonRepresentation
709
714
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
710
- property :max_read_throughput, :numeric_string => true, as: 'maxReadThroughput'
715
+ property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
711
716
  property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
712
- property :max_write_throughput, :numeric_string => true, as: 'maxWriteThroughput'
717
+ property :max_write_throughput_bps, :numeric_string => true, as: 'maxWriteThroughputBps'
713
718
  end
714
719
  end
715
720
 
@@ -480,7 +480,9 @@ module Google
480
480
  # @param [String] update_mask
481
481
  # Required. Mask of fields to update. At least one path must be supplied in this
482
482
  # field. The elements of the repeated paths field may only include these fields:
483
- # * "description" * "directory_services" * "file_shares" * "labels"
483
+ # * "description" * "directory_services" * "file_shares" * "labels" * "
484
+ # performance_config" * "deletion_protection_enabled" * "
485
+ # deletion_protection_reason"
484
486
  # @param [String] fields
485
487
  # Selector specifying which fields to include in a partial response.
486
488
  # @param [String] quota_user
@@ -511,7 +513,7 @@ module Google
511
513
  execute_or_queue_command(command, &block)
512
514
  end
513
515
 
514
- # Promote an standby instance (replica).
516
+ # Promote the standby instance (replica).
515
517
  # @param [String] name
516
518
  # Required. The resource name of the instance, in the format `projects/`
517
519
  # project_id`/locations/`location_id`/instances/`instance_id``.
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.49.0
4
+ version: 0.51.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-30 00:00:00.000000000 Z
11
+ date: 2024-12-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.51.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1beta1