Skip to content

Commit 7dc98de

Browse files
feat: Automated regeneration of file v1 client (googleapis#21409)
Auto-created at 2025-01-19 09:53:16 +0000 using the toys pull request generator.
1 parent 88bf7ef commit 7dc98de

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
@@ -223357,6 +223357,7 @@
223357223357
"/file:v1/Instance": instance
223358223358
"/file:v1/Instance/configurablePerformanceEnabled": configurable_performance_enabled
223359223359
"/file:v1/Instance/createTime": create_time
223360+
"/file:v1/Instance/customPerformanceSupported": custom_performance_supported
223360223361
"/file:v1/Instance/deletionProtectionEnabled": deletion_protection_enabled
223361223362
"/file:v1/Instance/deletionProtectionReason": deletion_protection_reason
223362223363
"/file:v1/Instance/description": description
@@ -223465,6 +223466,7 @@
223465223466
"/file:v1/PerformanceConfig/iopsPerGb": iops_per_gb
223466223467
"/file:v1/PerformanceConfig/iopsPerTb": iops_per_tb
223467223468
"/file:v1/PerformanceLimits": performance_limits
223469+
"/file:v1/PerformanceLimits/maxIops": max_iops
223468223470
"/file:v1/PerformanceLimits/maxReadIops": max_read_iops
223469223471
"/file:v1/PerformanceLimits/maxReadThroughput": max_read_throughput
223470223472
"/file:v1/PerformanceLimits/maxReadThroughputBps": max_read_throughput_bps

generated/google-apis-file_v1/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_v1
22

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

510
* Regenerated from discovery document revision 20241204

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

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -812,18 +812,19 @@ def update!(**args)
812812
class Instance
813813
include Google::Apis::Core::Hashable
814814

815-
# Output only. Indicates whether this instance's performance is configurable. If
816-
# enabled, adjust it using the 'performance_config' field.
817-
# Corresponds to the JSON property `configurablePerformanceEnabled`
818-
# @return [Boolean]
819-
attr_accessor :configurable_performance_enabled
820-
alias_method :configurable_performance_enabled?, :configurable_performance_enabled
821-
822815
# Output only. The time when the instance was created.
823816
# Corresponds to the JSON property `createTime`
824817
# @return [String]
825818
attr_accessor :create_time
826819

820+
# Output only. Indicates whether this instance supports configuring its
821+
# performance. If true, the user can configure the instance's performance by
822+
# using the 'performance_config' field.
823+
# Corresponds to the JSON property `customPerformanceSupported`
824+
# @return [Boolean]
825+
attr_accessor :custom_performance_supported
826+
alias_method :custom_performance_supported?, :custom_performance_supported
827+
827828
# Optional. Indicates whether the instance is protected against deletion.
828829
# Corresponds to the JSON property `deletionProtectionEnabled`
829830
# @return [Boolean]
@@ -952,8 +953,8 @@ def initialize(**args)
952953

953954
# Update properties of this object
954955
def update!(**args)
955-
@configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
956956
@create_time = args[:create_time] if args.key?(:create_time)
957+
@custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
957958
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
958959
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
959960
@description = args[:description] if args.key?(:description)
@@ -1537,6 +1538,11 @@ def update!(**args)
15371538
class PerformanceLimits
15381539
include Google::Apis::Core::Hashable
15391540

1541+
# Output only. The max IOPS.
1542+
# Corresponds to the JSON property `maxIops`
1543+
# @return [Fixnum]
1544+
attr_accessor :max_iops
1545+
15401546
# Output only. The max read IOPS.
15411547
# Corresponds to the JSON property `maxReadIops`
15421548
# @return [Fixnum]
@@ -1563,6 +1569,7 @@ def initialize(**args)
15631569

15641570
# Update properties of this object
15651571
def update!(**args)
1572+
@max_iops = args[:max_iops] if args.key?(:max_iops)
15661573
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
15671574
@max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
15681575
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)

generated/google-apis-file_v1/lib/google/apis/file_v1/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 FileV1
1818
# Version of the google-apis-file_v1 gem
19-
GEM_VERSION = "0.50.0"
19+
GEM_VERSION = "0.51.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_v1/lib/google/apis/file_v1/representations.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
479479
class Instance
480480
# @private
481481
class Representation < Google::Apis::Core::JsonRepresentation
482-
property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
483482
property :create_time, as: 'createTime'
483+
property :custom_performance_supported, as: 'customPerformanceSupported'
484484
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
485485
property :deletion_protection_reason, as: 'deletionProtectionReason'
486486
property :description, as: 'description'
@@ -652,6 +652,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
652652
class PerformanceLimits
653653
# @private
654654
class Representation < Google::Apis::Core::JsonRepresentation
655+
property :max_iops, :numeric_string => true, as: 'maxIops'
655656
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
656657
property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
657658
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'

0 commit comments

Comments
 (0)