Skip to content

Commit c3597df

Browse files
feat: Automated regeneration of file v1beta1 client (googleapis#21429)
Auto-created at 2025-01-19 10:24:05 +0000 using the toys pull request generator.
1 parent a9bf38f commit c3597df

File tree

5 files changed

+27
-12
lines changed

5 files changed

+27
-12
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223825,6 +223825,7 @@
223825223825
"/file:v1beta1/Instance/capacityStepSizeGb": capacity_step_size_gb
223826223826
"/file:v1beta1/Instance/configurablePerformanceEnabled": configurable_performance_enabled
223827223827
"/file:v1beta1/Instance/createTime": create_time
223828+
"/file:v1beta1/Instance/customPerformanceSupported": custom_performance_supported
223828223829
"/file:v1beta1/Instance/deletionProtectionEnabled": deletion_protection_enabled
223829223830
"/file:v1beta1/Instance/deletionProtectionReason": deletion_protection_reason
223830223831
"/file:v1beta1/Instance/description": description
@@ -223959,6 +223960,7 @@
223959223960
"/file:v1beta1/PerformanceConfig/iopsPerGb": iops_per_gb
223960223961
"/file:v1beta1/PerformanceConfig/iopsPerTb": iops_per_tb
223961223962
"/file:v1beta1/PerformanceLimits": performance_limits
223963+
"/file:v1beta1/PerformanceLimits/maxIops": max_iops
223962223964
"/file:v1beta1/PerformanceLimits/maxReadIops": max_read_iops
223963223965
"/file:v1beta1/PerformanceLimits/maxReadThroughput": max_read_throughput
223964223966
"/file:v1beta1/PerformanceLimits/maxReadThroughputBps": max_read_throughput_bps

generated/google-apis-file_v1beta1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-file_v1beta1
22

3+
### v0.53.0 (2025-01-19)
4+
5+
* Regenerated from discovery document revision 20250106
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.52.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241204

generated/google-apis-file_v1beta1/lib/google/apis/file_v1beta1/classes.rb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -842,18 +842,19 @@ class Instance
842842
# @return [Fixnum]
843843
attr_accessor :capacity_step_size_gb
844844

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-
852845
# Output only. The time when the instance was created.
853846
# Corresponds to the JSON property `createTime`
854847
# @return [String]
855848
attr_accessor :create_time
856849

850+
# Output only. Indicates whether this instance supports configuring its
851+
# performance. If true, the user can configure the instance's performance by
852+
# using the 'performance_config' field.
853+
# Corresponds to the JSON property `customPerformanceSupported`
854+
# @return [Boolean]
855+
attr_accessor :custom_performance_supported
856+
alias_method :custom_performance_supported?, :custom_performance_supported
857+
857858
# Optional. Indicates whether the instance is protected against deletion.
858859
# Corresponds to the JSON property `deletionProtectionEnabled`
859860
# @return [Boolean]
@@ -1007,8 +1008,8 @@ def initialize(**args)
10071008
def update!(**args)
10081009
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
10091010
@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)
10111011
@create_time = args[:create_time] if args.key?(:create_time)
1012+
@custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
10121013
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
10131014
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
10141015
@description = args[:description] if args.key?(:description)
@@ -1663,6 +1664,11 @@ def update!(**args)
16631664
class PerformanceLimits
16641665
include Google::Apis::Core::Hashable
16651666

1667+
# Output only. The max IOPS.
1668+
# Corresponds to the JSON property `maxIops`
1669+
# @return [Fixnum]
1670+
attr_accessor :max_iops
1671+
16661672
# Output only. The max read IOPS.
16671673
# Corresponds to the JSON property `maxReadIops`
16681674
# @return [Fixnum]
@@ -1689,6 +1695,7 @@ def initialize(**args)
16891695

16901696
# Update properties of this object
16911697
def update!(**args)
1698+
@max_iops = args[:max_iops] if args.key?(:max_iops)
16921699
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
16931700
@max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
16941701
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)

generated/google-apis-file_v1beta1/lib/google/apis/file_v1beta1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FileV1beta1
1818
# Version of the google-apis-file_v1beta1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241204"
25+
REVISION = "20250106"
2626
end
2727
end
2828
end

generated/google-apis-file_v1beta1/lib/google/apis/file_v1beta1/representations.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ class Instance
513513
class Representation < Google::Apis::Core::JsonRepresentation
514514
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
515515
property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
516-
property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
517516
property :create_time, as: 'createTime'
517+
property :custom_performance_supported, as: 'customPerformanceSupported'
518518
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
519519
property :deletion_protection_reason, as: 'deletionProtectionReason'
520520
property :description, as: 'description'
@@ -710,6 +710,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
710710
class PerformanceLimits
711711
# @private
712712
class Representation < Google::Apis::Core::JsonRepresentation
713+
property :max_iops, :numeric_string => true, as: 'maxIops'
713714
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
714715
property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
715716
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'

0 commit comments

Comments
 (0)