Skip to content
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
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332228,6 +332228,7 @@
"/redis:v1beta1/DatabaseResourceMetadata/gcbdrConfiguration": gcbdr_configuration
"/redis:v1beta1/DatabaseResourceMetadata/id": id
"/redis:v1beta1/DatabaseResourceMetadata/instanceType": instance_type
"/redis:v1beta1/DatabaseResourceMetadata/isDeletionProtectionEnabled": is_deletion_protection_enabled
"/redis:v1beta1/DatabaseResourceMetadata/location": location
"/redis:v1beta1/DatabaseResourceMetadata/machineConfiguration": machine_configuration
"/redis:v1beta1/DatabaseResourceMetadata/maintenanceInfo": maintenance_info
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-redis_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-redis_v1beta1

### v0.75.0 (2025-11-09)

* Regenerated from discovery document revision 20251104

### v0.74.0 (2025-11-02)

* Regenerated from discovery document revision 20251021
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ class DatabaseResourceFeed
# @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
attr_accessor :resource_id

# Common model for database resource instance metadata. Next ID: 29
# Common model for database resource instance metadata. Next ID: 30
# Corresponds to the JSON property `resourceMetadata`
# @return [Google::Apis::RedisV1beta1::DatabaseResourceMetadata]
attr_accessor :resource_metadata
Expand Down Expand Up @@ -1393,7 +1393,7 @@ def update!(**args)
end
end

# Common model for database resource instance metadata. Next ID: 29
# Common model for database resource instance metadata. Next ID: 30
class DatabaseResourceMetadata
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1470,6 +1470,12 @@ class DatabaseResourceMetadata
# @return [String]
attr_accessor :instance_type

# Optional. Whether deletion protection is enabled for this resource.
# Corresponds to the JSON property `isDeletionProtectionEnabled`
# @return [Boolean]
attr_accessor :is_deletion_protection_enabled
alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled

# The resource location. REQUIRED
# Corresponds to the JSON property `location`
# @return [String]
Expand Down Expand Up @@ -1567,6 +1573,7 @@ def update!(**args)
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
@id = args[:id] if args.key?(:id)
@instance_type = args[:instance_type] if args.key?(:instance_type)
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
@location = args[:location] if args.key?(:location)
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module RedisV1beta1
# Version of the google-apis-redis_v1beta1 gem
GEM_VERSION = "0.74.0"
GEM_VERSION = "0.75.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20251021"
REVISION = "20251104"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id', class: Google::Apis::RedisV1beta1::DatabaseResourceId, decorator: Google::Apis::RedisV1beta1::DatabaseResourceId::Representation

property :instance_type, as: 'instanceType'
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
property :location, as: 'location'
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::RedisV1beta1::MachineConfiguration, decorator: Google::Apis::RedisV1beta1::MachineConfiguration::Representation

Expand Down