Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of file v1beta1 client #21429

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223730,6 +223730,7 @@
"/file:v1beta1/Instance/capacityStepSizeGb": capacity_step_size_gb
"/file:v1beta1/Instance/configurablePerformanceEnabled": configurable_performance_enabled
"/file:v1beta1/Instance/createTime": create_time
"/file:v1beta1/Instance/customPerformanceSupported": custom_performance_supported
"/file:v1beta1/Instance/deletionProtectionEnabled": deletion_protection_enabled
"/file:v1beta1/Instance/deletionProtectionReason": deletion_protection_reason
"/file:v1beta1/Instance/description": description
Expand Down Expand Up @@ -223864,6 +223865,7 @@
"/file:v1beta1/PerformanceConfig/iopsPerGb": iops_per_gb
"/file:v1beta1/PerformanceConfig/iopsPerTb": iops_per_tb
"/file:v1beta1/PerformanceLimits": performance_limits
"/file:v1beta1/PerformanceLimits/maxIops": max_iops
"/file:v1beta1/PerformanceLimits/maxReadIops": max_read_iops
"/file:v1beta1/PerformanceLimits/maxReadThroughput": max_read_throughput
"/file:v1beta1/PerformanceLimits/maxReadThroughputBps": max_read_throughput_bps
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-file_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-file_v1beta1

### v0.53.0 (2025-01-19)

* Regenerated from discovery document revision 20250106
* Regenerated using generator version 0.16.0

### v0.52.0 (2024-12-15)

* Regenerated from discovery document revision 20241204
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -842,18 +842,19 @@ class Instance
# @return [Fixnum]
attr_accessor :capacity_step_size_gb

# Output only. Indicates whether this instance's performance is configurable. If
# enabled, adjust it using the 'performance_config' field.
# Corresponds to the JSON property `configurablePerformanceEnabled`
# @return [Boolean]
attr_accessor :configurable_performance_enabled
alias_method :configurable_performance_enabled?, :configurable_performance_enabled

# Output only. The time when the instance was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time

# Output only. Indicates whether this instance supports configuring its
# performance. If true, the user can configure the instance's performance by
# using the 'performance_config' field.
# Corresponds to the JSON property `customPerformanceSupported`
# @return [Boolean]
attr_accessor :custom_performance_supported
alias_method :custom_performance_supported?, :custom_performance_supported

# Optional. Indicates whether the instance is protected against deletion.
# Corresponds to the JSON property `deletionProtectionEnabled`
# @return [Boolean]
Expand Down Expand Up @@ -1007,8 +1008,8 @@ def initialize(**args)
def update!(**args)
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
@capacity_step_size_gb = args[:capacity_step_size_gb] if args.key?(:capacity_step_size_gb)
@configurable_performance_enabled = args[:configurable_performance_enabled] if args.key?(:configurable_performance_enabled)
@create_time = args[:create_time] if args.key?(:create_time)
@custom_performance_supported = args[:custom_performance_supported] if args.key?(:custom_performance_supported)
@deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
@deletion_protection_reason = args[:deletion_protection_reason] if args.key?(:deletion_protection_reason)
@description = args[:description] if args.key?(:description)
Expand Down Expand Up @@ -1663,6 +1664,11 @@ def update!(**args)
class PerformanceLimits
include Google::Apis::Core::Hashable

# Output only. The max IOPS.
# Corresponds to the JSON property `maxIops`
# @return [Fixnum]
attr_accessor :max_iops

# Output only. The max read IOPS.
# Corresponds to the JSON property `maxReadIops`
# @return [Fixnum]
Expand All @@ -1689,6 +1695,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@max_iops = args[:max_iops] if args.key?(:max_iops)
@max_read_iops = args[:max_read_iops] if args.key?(:max_read_iops)
@max_read_throughput_bps = args[:max_read_throughput_bps] if args.key?(:max_read_throughput_bps)
@max_write_iops = args[:max_write_iops] if args.key?(:max_write_iops)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module FileV1beta1
# Version of the google-apis-file_v1beta1 gem
GEM_VERSION = "0.52.0"
GEM_VERSION = "0.53.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"
GENERATOR_VERSION = "0.16.0"

# Revision of the discovery document this client was generated from
REVISION = "20241204"
REVISION = "20250106"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ class Instance
class Representation < Google::Apis::Core::JsonRepresentation
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
property :capacity_step_size_gb, :numeric_string => true, as: 'capacityStepSizeGb'
property :configurable_performance_enabled, as: 'configurablePerformanceEnabled'
property :create_time, as: 'createTime'
property :custom_performance_supported, as: 'customPerformanceSupported'
property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
property :deletion_protection_reason, as: 'deletionProtectionReason'
property :description, as: 'description'
Expand Down Expand Up @@ -710,6 +710,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class PerformanceLimits
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_iops, :numeric_string => true, as: 'maxIops'
property :max_read_iops, :numeric_string => true, as: 'maxReadIops'
property :max_read_throughput_bps, :numeric_string => true, as: 'maxReadThroughputBps'
property :max_write_iops, :numeric_string => true, as: 'maxWriteIops'
Expand Down
Loading