Skip to content

Commit 56c065d

Browse files
feat: Automated regeneration of file v1 client (googleapis#20452)
Auto-created at 2024-10-27 09:26:21 +0000 using the toys pull request generator.
1 parent 93a6cd8 commit 56c065d

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215367,6 +215367,7 @@
215367215367
"/file:v1/FileShareConfig/performanceLimits": performance_limits
215368215368
"/file:v1/FileShareConfig/sourceBackup": source_backup
215369215369
"/file:v1/FixedIOPS": fixed_iops
215370+
"/file:v1/FixedIOPS/maxIops": max_iops
215370215371
"/file:v1/FixedIOPS/maxReadIops": max_read_iops
215371215372
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance
215372215373
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/consumerDefinedName": consumer_defined_name
@@ -215452,6 +215453,7 @@
215452215453
"/file:v1/IOPSPerGB": iops_per_gb
215453215454
"/file:v1/IOPSPerGB/maxReadIopsPerGb": max_read_iops_per_gb
215454215455
"/file:v1/IOPSPerTB": iops_per_tb
215456+
"/file:v1/IOPSPerTB/maxIopsPerTb": max_iops_per_tb
215455215457
"/file:v1/IOPSPerTB/maxReadIopsPerTb": max_read_iops_per_tb
215456215458
"/file:v1/Instance": instance
215457215459
"/file:v1/Instance/configurablePerformanceEnabled": configurable_performance_enabled

generated/google-apis-file_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-file_v1
22

3-
### v0.48.0 (2024-10-20)
3+
### v0.48.0 (2024-10-27)
44

5-
* Regenerated from discovery document revision 20241008
5+
* Regenerated from discovery document revision 20241015
66

77
### v0.47.0 (2024-09-15)
88

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,13 @@ def update!(**args)
336336
class FixedIops
337337
include Google::Apis::Core::Hashable
338338

339-
# Required. Maximum raw read IOPS.
339+
# Required. Maximum IOPS.
340+
# Corresponds to the JSON property `maxIops`
341+
# @return [Fixnum]
342+
attr_accessor :max_iops
343+
344+
# Optional. Deprecated: `max_iops` should be used instead of this parameter.
345+
# Maximum raw read IOPS.
340346
# Corresponds to the JSON property `maxReadIops`
341347
# @return [Fixnum]
342348
attr_accessor :max_read_iops
@@ -347,6 +353,7 @@ def initialize(**args)
347353

348354
# Update properties of this object
349355
def update!(**args)
356+
@max_iops = args[:max_iops] if args.key?(:max_iops)
350357
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
351358
end
352359
end
@@ -789,7 +796,13 @@ def update!(**args)
789796
class IopsPerTb
790797
include Google::Apis::Core::Hashable
791798

792-
# Required. Maximum read IOPS per TiB.
799+
# Required. Maximum IOPS per TiB.
800+
# Corresponds to the JSON property `maxIopsPerTb`
801+
# @return [Fixnum]
802+
attr_accessor :max_iops_per_tb
803+
804+
# Optional. Deprecated: `max_iops_per_tb` should be used instead of this
805+
# parameter. Maximum read IOPS per TiB.
793806
# Corresponds to the JSON property `maxReadIopsPerTb`
794807
# @return [Fixnum]
795808
attr_accessor :max_read_iops_per_tb
@@ -800,6 +813,7 @@ def initialize(**args)
800813

801814
# Update properties of this object
802815
def update!(**args)
816+
@max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
803817
@max_read_iops_per_tb = args[:max_read_iops_per_tb] if args.key?(:max_read_iops_per_tb)
804818
end
805819
end

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module FileV1
2222
GENERATOR_VERSION = "0.15.1"
2323

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
364364
class FixedIops
365365
# @private
366366
class Representation < Google::Apis::Core::JsonRepresentation
367+
property :max_iops, :numeric_string => true, as: 'maxIops'
367368
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
368369
end
369370
end
@@ -472,6 +473,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
472473
class IopsPerTb
473474
# @private
474475
class Representation < Google::Apis::Core::JsonRepresentation
476+
property :max_iops_per_tb, :numeric_string => true, as: 'maxIopsPerTb'
475477
property :max_read_iops_per_tb, :numeric_string => true, as: 'maxReadIopsPerTb'
476478
end
477479
end

0 commit comments

Comments
 (0)