google-apis-file_v1beta1 0.50.0 → 0.52.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: 28a8bbd7608897723e417eea9192ecae95c590efab12abb7a3b01ed1f519528e
4
- data.tar.gz: 92b0658b630857bb6716bc928e630b3691174d9e1d85c6ea8cc4c4c6ce2f408b
3
+ metadata.gz: 14df63d0f13406c6e0804c4820c657bdb9432de84d18e21b6091018dce2496ae
4
+ data.tar.gz: 01e123602b096235a87e397e1e5cb43e230fba9119ea3d32eed0f94b587b8be9
5
5
  SHA512:
6
- metadata.gz: 2469f4e086a727534bcdb23b58e21825491b56a7ae54f347fb467b3a42636cf589e17f5a10c8c43271890d84beafd3f91ec10e1c976ff266b29a8d960250ad9a
7
- data.tar.gz: c2dc0eeeae5d9fa2eea75d685d8aade3f4da38d7c8f259b4f4e6897377f2b962cdabf20e853bee0c76eaed2ada420eac2c47be2303aa4e7666164c5209cf32b0
6
+ metadata.gz: 54ede64a77a7e901fae3bf8ebfd8488dc7b127638007cdf5e83d0e25b1ad1939c420b749d27274a64431becdaf33daa152e84dc1c8f6ac0ddef99e84473b2db6
7
+ data.tar.gz: 594f90031686d05b525a3d1abba7f3a1237ffe0bc3f805716ec4f629e89e61514bd31ed721f6017add238272ccf8d023b6fce52e1f182a457d35c6ad660c5902
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.52.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241204
6
+
7
+ ### v0.51.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241104
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.50.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240704
@@ -111,9 +111,13 @@ module Google
111
111
  # @return [Fixnum]
112
112
  attr_accessor :storage_bytes
113
113
 
114
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
115
- # resource. For example: "123/environment": "production", "123/costCenter": "
116
- # marketing"
114
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
115
+ # Each key must be a namespaced name and each value a short name. Example: "
116
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
117
+ # marketing" See the documentation for more information: - Namespaced name:
118
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
119
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
120
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
117
121
  # Corresponds to the JSON property `tags`
118
122
  # @return [Hash<String,String>]
119
123
  attr_accessor :tags
@@ -277,7 +281,7 @@ module Google
277
281
  include Google::Apis::Core::Hashable
278
282
 
279
283
  # ManagedActiveDirectoryConfig contains all the parameters for connecting to
280
- # Managed Active Directory.
284
+ # Managed Service for Microsoft Active Directory (Managed Microsoft AD).
281
285
  # Corresponds to the JSON property `managedActiveDirectory`
282
286
  # @return [Google::Apis::FileV1beta1::ManagedActiveDirectoryConfig]
283
287
  attr_accessor :managed_active_directory
@@ -330,18 +334,6 @@ module Google
330
334
  # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
331
335
  attr_accessor :nfs_export_options
332
336
 
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
-
345
337
  # The resource name of the backup, in the format `projects/`project_id`/
346
338
  # locations/`location_id`/backups/`backup_id``, that this file share has been
347
339
  # restored from.
@@ -358,20 +350,18 @@ module Google
358
350
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
359
351
  @name = args[:name] if args.key?(:name)
360
352
  @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)
363
353
  @source_backup = args[:source_backup] if args.key?(:source_backup)
364
354
  end
365
355
  end
366
356
 
367
- # Fixed IOPS parameters.
357
+ # Fixed IOPS (input/output operations per second) parameters.
368
358
  class FixedIops
369
359
  include Google::Apis::Core::Hashable
370
360
 
371
- # Required. Maximum raw read IOPS.
372
- # Corresponds to the JSON property `maxReadIops`
361
+ # Required. Maximum IOPS.
362
+ # Corresponds to the JSON property `maxIops`
373
363
  # @return [Fixnum]
374
- attr_accessor :max_read_iops
364
+ attr_accessor :max_iops
375
365
 
376
366
  def initialize(**args)
377
367
  update!(**args)
@@ -379,7 +369,7 @@ module Google
379
369
 
380
370
  # Update properties of this object
381
371
  def update!(**args)
382
- @max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
372
+ @max_iops = args[:max_iops] if args.key?(:max_iops)
383
373
  end
384
374
  end
385
375
 
@@ -817,14 +807,14 @@ module Google
817
807
  end
818
808
  end
819
809
 
820
- # IOPS per capacity parameters.
821
- class IopsPerGb
810
+ # IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).
811
+ class IopsPerTb
822
812
  include Google::Apis::Core::Hashable
823
813
 
824
- # Required. Maximum read IOPS per GB.
825
- # Corresponds to the JSON property `maxReadIopsPerGb`
814
+ # Required. Maximum IOPS per TiB.
815
+ # Corresponds to the JSON property `maxIopsPerTb`
826
816
  # @return [Fixnum]
827
- attr_accessor :max_read_iops_per_gb
817
+ attr_accessor :max_iops_per_tb
828
818
 
829
819
  def initialize(**args)
830
820
  update!(**args)
@@ -832,7 +822,7 @@ module Google
832
822
 
833
823
  # Update properties of this object
834
824
  def update!(**args)
835
- @max_read_iops_per_gb = args[:max_read_iops_per_gb] if args.key?(:max_read_iops_per_gb)
825
+ @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
836
826
  end
837
827
  end
838
828
 
@@ -852,11 +842,29 @@ module Google
852
842
  # @return [Fixnum]
853
843
  attr_accessor :capacity_step_size_gb
854
844
 
845
+ # Output only. Indicates whether this instance's performance is configurable. If
846
+ # enabled, adjust it using the 'performance_config' field.
847
+ # Corresponds to the JSON property `configurablePerformanceEnabled`
848
+ # @return [Boolean]
849
+ attr_accessor :configurable_performance_enabled
850
+ alias_method :configurable_performance_enabled?, :configurable_performance_enabled
851
+
855
852
  # Output only. The time when the instance was created.
856
853
  # Corresponds to the JSON property `createTime`
857
854
  # @return [String]
858
855
  attr_accessor :create_time
859
856
 
857
+ # Optional. Indicates whether the instance is protected against deletion.
858
+ # Corresponds to the JSON property `deletionProtectionEnabled`
859
+ # @return [Boolean]
860
+ attr_accessor :deletion_protection_enabled
861
+ alias_method :deletion_protection_enabled?, :deletion_protection_enabled
862
+
863
+ # Optional. The reason for enabling deletion protection.
864
+ # Corresponds to the JSON property `deletionProtectionReason`
865
+ # @return [String]
866
+ attr_accessor :deletion_protection_reason
867
+
860
868
  # The description of the instance (2048 characters or less).
861
869
  # Corresponds to the JSON property `description`
862
870
  # @return [String]
@@ -919,6 +927,22 @@ module Google
919
927
  # @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
920
928
  attr_accessor :networks
921
929
 
930
+ # Used for setting the performance configuration. If the user doesn't specify
931
+ # PerformanceConfig, automatically provision the default performance settings as
932
+ # described in https://cloud.google.com/filestore/docs/performance. Larger
933
+ # instances will be linearly set to more IOPS. If the instance's capacity is
934
+ # increased or decreased, its performance will be automatically adjusted upwards
935
+ # or downwards accordingly (respectively).
936
+ # Corresponds to the JSON property `performanceConfig`
937
+ # @return [Google::Apis::FileV1beta1::PerformanceConfig]
938
+ attr_accessor :performance_config
939
+
940
+ # The enforced performance limits, calculated from the instance's performance
941
+ # configuration.
942
+ # Corresponds to the JSON property `performanceLimits`
943
+ # @return [Google::Apis::FileV1beta1::PerformanceLimits]
944
+ attr_accessor :performance_limits
945
+
922
946
  # Immutable. The protocol indicates the access protocol for all shares in the
923
947
  # instance. This field is immutable and it cannot be changed after the instance
924
948
  # has been created. Default value: `NFS_V3`.
@@ -959,9 +983,13 @@ module Google
959
983
  # @return [Array<String>]
960
984
  attr_accessor :suspension_reasons
961
985
 
962
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
963
- # resource. For example: "123/environment": "production", "123/costCenter": "
964
- # marketing"
986
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
987
+ # Each key must be a namespaced name and each value a short name. Example: "
988
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
989
+ # marketing" See the documentation for more information: - Namespaced name:
990
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
991
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
992
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
965
993
  # Corresponds to the JSON property `tags`
966
994
  # @return [Hash<String,String>]
967
995
  attr_accessor :tags
@@ -979,7 +1007,10 @@ module Google
979
1007
  def update!(**args)
980
1008
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
981
1009
  @capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
1010
+ @configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
982
1011
  @create_time = args[:create_time] if args.key?(:create_time)
1012
+ @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
1013
+ @deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
983
1014
  @description = args[:description] if args.key?(:description)
984
1015
  @directory_services = args[:directory_services] if args.key?(:directory_services)
985
1016
  @etag = args[:etag] if args.key?(:etag)
@@ -991,6 +1022,8 @@ module Google
991
1022
  @multi_share_enabled = args[:multi_share_enabled] if args.key?(:multi_share_enabled)
992
1023
  @name = args[:name] if args.key?(:name)
993
1024
  @networks = args[:networks] if args.key?(:networks)
1025
+ @performance_config = args[:performance_config] if args.key?(:performance_config)
1026
+ @performance_limits = args[:performance_limits] if args.key?(:performance_limits)
994
1027
  @protocol = args[:protocol] if args.key?(:protocol)
995
1028
  @replication = args[:replication] if args.key?(:replication)
996
1029
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -1022,7 +1055,7 @@ module Google
1022
1055
  # @return [String]
1023
1056
  attr_accessor :next_page_token
1024
1057
 
1025
- # Locations that could not be reached.
1058
+ # Unordered list. Locations that could not be reached.
1026
1059
  # Corresponds to the JSON property `unreachable`
1027
1060
  # @return [Array<String>]
1028
1061
  attr_accessor :unreachable
@@ -1058,7 +1091,7 @@ module Google
1058
1091
  # @return [String]
1059
1092
  attr_accessor :next_page_token
1060
1093
 
1061
- # Locations that could not be reached.
1094
+ # Unordered list. Locations that could not be reached.
1062
1095
  # Corresponds to the JSON property `unreachable`
1063
1096
  # @return [Array<String>]
1064
1097
  attr_accessor :unreachable
@@ -1140,7 +1173,7 @@ module Google
1140
1173
  # @return [Array<Google::Apis::FileV1beta1::Share>]
1141
1174
  attr_accessor :shares
1142
1175
 
1143
- # Locations that could not be reached.
1176
+ # Unordered list. Locations that could not be reached.
1144
1177
  # Corresponds to the JSON property `unreachable`
1145
1178
  # @return [Array<String>]
1146
1179
  attr_accessor :unreachable
@@ -1172,6 +1205,11 @@ module Google
1172
1205
  # @return [Array<Google::Apis::FileV1beta1::Snapshot>]
1173
1206
  attr_accessor :snapshots
1174
1207
 
1208
+ # Unordered list. Locations that could not be reached.
1209
+ # Corresponds to the JSON property `unreachable`
1210
+ # @return [Array<String>]
1211
+ attr_accessor :unreachable
1212
+
1175
1213
  def initialize(**args)
1176
1214
  update!(**args)
1177
1215
  end
@@ -1180,6 +1218,7 @@ module Google
1180
1218
  def update!(**args)
1181
1219
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1182
1220
  @snapshots = args[:snapshots] if args.key?(:snapshots)
1221
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1183
1222
  end
1184
1223
  end
1185
1224
 
@@ -1318,13 +1357,13 @@ module Google
1318
1357
  end
1319
1358
 
1320
1359
  # ManagedActiveDirectoryConfig contains all the parameters for connecting to
1321
- # Managed Active Directory.
1360
+ # Managed Service for Microsoft Active Directory (Managed Microsoft AD).
1322
1361
  class ManagedActiveDirectoryConfig
1323
1362
  include Google::Apis::Core::Hashable
1324
1363
 
1325
- # Required. The computer name is used as a prefix to the mount remote target.
1326
- # Example: if the computer is `my-computer`, the mount command will look like: `$
1327
- # 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.: `.
1328
1367
  # Corresponds to the JSON property `computer`
1329
1368
  # @return [String]
1330
1369
  attr_accessor :computer
@@ -1540,9 +1579,9 @@ module Google
1540
1579
  attr_accessor :api_version
1541
1580
 
1542
1581
  # Output only. Identifies whether the user has requested cancellation of the
1543
- # operation. Operations that have been cancelled successfully have Operation.
1544
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1545
- # CANCELLED`.
1582
+ # operation. Operations that have been cancelled successfully have google.
1583
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1584
+ # corresponding to `Code.CANCELLED`.
1546
1585
  # Corresponds to the JSON property `cancelRequested`
1547
1586
  # @return [Boolean]
1548
1587
  attr_accessor :cancel_requested
@@ -1589,30 +1628,24 @@ module Google
1589
1628
  end
1590
1629
  end
1591
1630
 
1592
- # Performance configuration. Used for setting the performance configuration.
1593
- # 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).
1594
1637
  class PerformanceConfig
1595
1638
  include Google::Apis::Core::Hashable
1596
1639
 
1597
- # Fixed IOPS parameters.
1640
+ # Fixed IOPS (input/output operations per second) parameters.
1598
1641
  # Corresponds to the JSON property `fixedIops`
1599
1642
  # @return [Google::Apis::FileV1beta1::FixedIops]
1600
1643
  attr_accessor :fixed_iops
1601
1644
 
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
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
1616
1649
 
1617
1650
  def initialize(**args)
1618
1651
  update!(**args)
@@ -1621,8 +1654,7 @@ module Google
1621
1654
  # Update properties of this object
1622
1655
  def update!(**args)
1623
1656
  @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)
1657
+ @iops_per_tb = args[:iops_per_tb] if args.key?(:iops_per_tb)
1626
1658
  end
1627
1659
  end
1628
1660
 
@@ -1636,20 +1668,20 @@ module Google
1636
1668
  # @return [Fixnum]
1637
1669
  attr_accessor :max_read_iops
1638
1670
 
1639
- # Output only. The max read throughput.
1640
- # Corresponds to the JSON property `maxReadThroughput`
1671
+ # Output only. The max read throughput in bytes per second.
1672
+ # Corresponds to the JSON property `maxReadThroughputBps`
1641
1673
  # @return [Fixnum]
1642
- attr_accessor :max_read_throughput
1674
+ attr_accessor :max_read_throughput_bps
1643
1675
 
1644
1676
  # Output only. The max write IOPS.
1645
1677
  # Corresponds to the JSON property `maxWriteIops`
1646
1678
  # @return [Fixnum]
1647
1679
  attr_accessor :max_write_iops
1648
1680
 
1649
- # Output only. The max write throughput.
1650
- # Corresponds to the JSON property `maxWriteThroughput`
1681
+ # Output only. The max write throughput in bytes per second.
1682
+ # Corresponds to the JSON property `maxWriteThroughputBps`
1651
1683
  # @return [Fixnum]
1652
- attr_accessor :max_write_throughput
1684
+ attr_accessor :max_write_throughput_bps
1653
1685
 
1654
1686
  def initialize(**args)
1655
1687
  update!(**args)
@@ -1658,9 +1690,9 @@ module Google
1658
1690
  # Update properties of this object
1659
1691
  def update!(**args)
1660
1692
  @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)
1693
+ @max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
1662
1694
  @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)
1695
+ @max_write_throughput_bps = args[:max_write_throughput_bps] if args.key?(:max_write_throughput_bps)
1664
1696
  end
1665
1697
  end
1666
1698
 
@@ -1719,8 +1751,8 @@ module Google
1719
1751
  class Replication
1720
1752
  include Google::Apis::Core::Hashable
1721
1753
 
1722
- # Replicas configuration on the instance. For now, only a single replica config
1723
- # is supported.
1754
+ # Replication configuration for the replica instance associated with this
1755
+ # instance. Only a single replica is supported.
1724
1756
  # Corresponds to the JSON property `replicas`
1725
1757
  # @return [Array<Google::Apis::FileV1beta1::ReplicaConfig>]
1726
1758
  attr_accessor :replicas
@@ -1944,9 +1976,13 @@ module Google
1944
1976
  # @return [String]
1945
1977
  attr_accessor :state
1946
1978
 
1947
- # Optional. Input only. Immutable. Tag keys/values directly bound to this
1948
- # resource. For example: "123/environment": "production", "123/costCenter": "
1949
- # marketing"
1979
+ # Optional. Input only. Immutable. Tag key-value pairs bound to this resource.
1980
+ # Each key must be a namespaced name and each value a short name. Example: "
1981
+ # 123456789012/environment" : "production", "123456789013/costCenter" : "
1982
+ # marketing" See the documentation for more information: - Namespaced name:
1983
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#
1984
+ # retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/
1985
+ # docs/tags/tags-creating-and-managing#retrieving_tag_value
1950
1986
  # Corresponds to the JSON property `tags`
1951
1987
  # @return [Hash<String,String>]
1952
1988
  attr_accessor :tags
@@ -2012,24 +2048,28 @@ module Google
2012
2048
  class TimeOfDay
2013
2049
  include Google::Apis::Core::Hashable
2014
2050
 
2015
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
2016
- # allow the value "24:00:00" for scenarios like business closing time.
2051
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
2052
+ # typically must be less than or equal to 23. An API may choose to allow the
2053
+ # value "24:00:00" for scenarios like business closing time.
2017
2054
  # Corresponds to the JSON property `hours`
2018
2055
  # @return [Fixnum]
2019
2056
  attr_accessor :hours
2020
2057
 
2021
- # Minutes of hour of day. Must be from 0 to 59.
2058
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
2059
+ # to 59.
2022
2060
  # Corresponds to the JSON property `minutes`
2023
2061
  # @return [Fixnum]
2024
2062
  attr_accessor :minutes
2025
2063
 
2026
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2064
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
2065
+ # less than or equal to 999,999,999.
2027
2066
  # Corresponds to the JSON property `nanos`
2028
2067
  # @return [Fixnum]
2029
2068
  attr_accessor :nanos
2030
2069
 
2031
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2032
- # allow the value 60 if it allows leap-seconds.
2070
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
2071
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
2072
+ # seconds.
2033
2073
  # Corresponds to the JSON property `seconds`
2034
2074
  # @return [Fixnum]
2035
2075
  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.50.0"
19
+ GEM_VERSION = "0.52.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 = "20240704"
25
+ REVISION = "20241204"
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
@@ -389,10 +389,6 @@ module Google
389
389
  property :name, as: 'name'
390
390
  collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
391
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
-
396
392
  property :source_backup, as: 'sourceBackup'
397
393
  end
398
394
  end
@@ -400,7 +396,7 @@ module Google
400
396
  class FixedIops
401
397
  # @private
402
398
  class Representation < Google::Apis::Core::JsonRepresentation
403
- property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
399
+ property :max_iops, :numeric_string => true, as: 'maxIops'
404
400
  end
405
401
  end
406
402
 
@@ -505,10 +501,10 @@ module Google
505
501
  end
506
502
  end
507
503
 
508
- class IopsPerGb
504
+ class IopsPerTb
509
505
  # @private
510
506
  class Representation < Google::Apis::Core::JsonRepresentation
511
- property :max_read_iops_per_gb, :numeric_string => true, as: 'maxReadIopsPerGb'
507
+ property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
512
508
  end
513
509
  end
514
510
 
@@ -517,7 +513,10 @@ module Google
517
513
  class Representation < Google::Apis::Core::JsonRepresentation
518
514
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
519
515
  property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
516
+ property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
520
517
  property :create_time, as: 'createTime'
518
+ property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
519
+ property :deletion_protection_reason, as: 'deletionProtectionReason'
521
520
  property :description, as: 'description'
522
521
  property :directory_services, as: 'directoryServices', class: Google::Apis::FileV1beta1::DirectoryServicesConfig, decorator: Google::Apis::FileV1beta1::DirectoryServicesConfig::Representation
523
522
 
@@ -532,6 +531,10 @@ module Google
532
531
  property :name, as: 'name'
533
532
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
534
533
 
534
+ property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1beta1::PerformanceConfig, decorator: Google::Apis::FileV1beta1::PerformanceConfig::Representation
535
+
536
+ property :performance_limits, as: 'performanceLimits', class: Google::Apis::FileV1beta1::PerformanceLimits, decorator: Google::Apis::FileV1beta1::PerformanceLimits::Representation
537
+
535
538
  property :protocol, as: 'protocol'
536
539
  property :replication, as: 'replication', class: Google::Apis::FileV1beta1::Replication, decorator: Google::Apis::FileV1beta1::Replication::Representation
537
540
 
@@ -599,6 +602,7 @@ module Google
599
602
  property :next_page_token, as: 'nextPageToken'
600
603
  collection :snapshots, as: 'snapshots', class: Google::Apis::FileV1beta1::Snapshot, decorator: Google::Apis::FileV1beta1::Snapshot::Representation
601
604
 
605
+ collection :unreachable, as: 'unreachable'
602
606
  end
603
607
  end
604
608
 
@@ -698,8 +702,7 @@ module Google
698
702
  class Representation < Google::Apis::Core::JsonRepresentation
699
703
  property :fixed_iops, as: 'fixedIops', class: Google::Apis::FileV1beta1::FixedIops, decorator: Google::Apis::FileV1beta1::FixedIops::Representation
700
704
 
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
705
+ property :iops_per_tb, as: 'iopsPerTb', class: Google::Apis::FileV1beta1::IopsPerTb, decorator: Google::Apis::FileV1beta1::IopsPerTb::Representation
703
706
 
704
707
  end
705
708
  end
@@ -708,9 +711,9 @@ module Google
708
711
  # @private
709
712
  class Representation < Google::Apis::Core::JsonRepresentation
710
713
  property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
711
- property :max_read_throughput, :numeric_string => true, as: 'maxReadThroughput'
714
+ property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
712
715
  property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
713
- property :max_write_throughput, :numeric_string => true, as: 'maxWriteThroughput'
716
+ property :max_write_throughput_bps, :numeric_string => true, as: 'maxWriteThroughputBps'
714
717
  end
715
718
  end
716
719
 
@@ -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``.
@@ -914,6 +916,9 @@ module Google
914
916
  # @param [String] page_token
915
917
  # The next_page_token value to use if there are additional results to retrieve
916
918
  # for this list request.
919
+ # @param [Boolean] return_partial_success
920
+ # Optional. If true, allow partial responses for multi-regional Aggregated List
921
+ # requests.
917
922
  # @param [String] fields
918
923
  # Selector specifying which fields to include in a partial response.
919
924
  # @param [String] quota_user
@@ -931,7 +936,7 @@ module Google
931
936
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
932
937
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
938
  # @raise [Google::Apis::AuthorizationError] Authorization is required
934
- def list_project_location_instance_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
939
+ def list_project_location_instance_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
935
940
  command = make_simple_command(:get, 'v1beta1/{+parent}/snapshots', options)
936
941
  command.response_representation = Google::Apis::FileV1beta1::ListSnapshotsResponse::Representation
937
942
  command.response_class = Google::Apis::FileV1beta1::ListSnapshotsResponse
@@ -940,6 +945,7 @@ module Google
940
945
  command.query['orderBy'] = order_by unless order_by.nil?
941
946
  command.query['pageSize'] = page_size unless page_size.nil?
942
947
  command.query['pageToken'] = page_token unless page_token.nil?
948
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
943
949
  command.query['fields'] = fields unless fields.nil?
944
950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
945
951
  execute_or_queue_command(command, &block)
@@ -990,8 +996,8 @@ module Google
990
996
  # Clients can use Operations.GetOperation or other methods to check whether the
991
997
  # cancellation succeeded or whether the operation completed despite cancellation.
992
998
  # On successful cancellation, the operation is not deleted; instead, it becomes
993
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
994
- # corresponding to `Code.CANCELLED`.
999
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1000
+ # , corresponding to `Code.CANCELLED`.
995
1001
  # @param [String] name
996
1002
  # The name of the operation resource to be cancelled.
997
1003
  # @param [Google::Apis::FileV1beta1::CancelOperationRequest] cancel_operation_request_object
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.50.0
4
+ version: 0.52.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.52.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.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Filestore API V1beta1