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
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359339,6 +359339,8 @@
"/redis:v1/ZoneDistributionConfig": zone_distribution_config
"/redis:v1/ZoneDistributionConfig/mode": mode
"/redis:v1/ZoneDistributionConfig/zone": zone
"/redis:v1/ZoneDistributionConfig/zones": zones
"/redis:v1/ZoneDistributionConfig/zones/zone": zone
"/redis:v1/fields": fields
"/redis:v1/key": key
"/redis:v1/quotaUser": quota_user
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-redis_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-redis_v1

### v0.92.0 (2026-06-28)

* Regenerated from discovery document revision 20260616

### v0.91.0 (2026-06-14)

* Regenerated from discovery document revision 20260526
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AclPolicy
# @return [String]
attr_accessor :state

# Output only. The version of the ACL policy. Used in drift resolution.
# Output only. Deprecated: Used in drift resolution.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
Expand Down Expand Up @@ -709,9 +709,8 @@ class Cluster
# @return [String]
attr_accessor :acl_policy

# Optional. Output only. Indicates whether the ACL rules applied to the cluster
# are in sync with the latest ACL policy rules. This field is only applicable if
# the ACL policy is set for the cluster.
# Optional. Output only. Deprecated: Indicates whether the ACL rules applied to
# the cluster are in sync.
# Corresponds to the JSON property `aclPolicyInSync`
# @return [Boolean]
attr_accessor :acl_policy_in_sync
Expand Down Expand Up @@ -1360,7 +1359,7 @@ class DatabaseResourceFeed
# @return [String]
attr_accessor :feed_type

#
# Observability metric data.
# Corresponds to the JSON property `observabilityMetricData`
# @return [Google::Apis::RedisV1::ObservabilityMetricData]
attr_accessor :observability_metric_data
Expand Down Expand Up @@ -1503,7 +1502,7 @@ class DatabaseResourceHealthSignalData
# @return [String]
attr_accessor :signal_type

#
# Required. The state of the signal, such as if it's ACTIVE or RESOLVED.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
Expand Down Expand Up @@ -2816,7 +2815,7 @@ class ListAclPoliciesResponse
# @return [String]
attr_accessor :next_page_token

# Locations that could not be reached.
# Unordered list. Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
Expand Down Expand Up @@ -4255,7 +4254,7 @@ class RetentionSettings
# @return [String]
attr_accessor :duration_based_retention

#
# Quantity based retention period i.e. 7 backups
# Corresponds to the JSON property `quantityBasedRetention`
# @return [Fixnum]
attr_accessor :quantity_based_retention
Expand All @@ -4265,7 +4264,7 @@ class RetentionSettings
# @return [String]
attr_accessor :retention_unit

#
# Duration based retention period i.e. 172800 seconds (2 days)
# Corresponds to the JSON property `timeBasedRetention`
# @return [String]
attr_accessor :time_based_retention
Expand Down Expand Up @@ -4728,6 +4727,12 @@ class ZoneDistributionConfig
# @return [String]
attr_accessor :zone

# Optional. Specify the zones of a multi-zone cluster where Redis Cluster
# allocates resources. This flag isn't applicable for single-zone clusters.
# Corresponds to the JSON property `zones`
# @return [Array<String>]
attr_accessor :zones

def initialize(**args)
update!(**args)
end
Expand All @@ -4736,6 +4741,7 @@ def initialize(**args)
def update!(**args)
@mode = args[:mode] if args.key?(:mode)
@zone = args[:zone] if args.key?(:zone)
@zones = args[:zones] if args.key?(:zones)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module RedisV1
# Version of the google-apis-redis_v1 gem
GEM_VERSION = "0.91.0"
GEM_VERSION = "0.92.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260526"
REVISION = "20260616"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,7 @@ class ZoneDistributionConfig
class Representation < Google::Apis::Core::JsonRepresentation
property :mode, as: 'mode'
property :zone, as: 'zone'
collection :zones, as: 'zones'
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ def list_project_locations(name, extra_location_types: nil, filter: nil, page_si
execute_or_queue_command(command, &block)
end

# Creates an ACL Policy. The creation is executed synchronously and the policy
# Creates an ACL policy. The creation is executed synchronously and the policy
# is available for use immediately after the RPC returns.
# @param [String] parent
# Required. The resource name of the cluster location using the form: `projects/`
# project_id`/locations/`location_id`` where `location_id` refers to a Google
# Cloud region.
# @param [Google::Apis::RedisV1::AclPolicy] acl_policy_object
# @param [String] acl_policy_id
# Required. The logical name of the ACL Policy in the customer project with the
# Required. The logical name of the ACL policy in the customer project with the
# following restrictions: * Must contain only lowercase letters, numbers, and
# hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
# end with a number or a letter. * Must be unique within the customer project /
Expand Down Expand Up @@ -217,11 +217,11 @@ def create_project_location_acl_policy(parent, acl_policy_object = nil, acl_poli
execute_or_queue_command(command, &block)
end

# Deletes a specific Acl Policy. This action will delete the Acl Policy and all
# Deletes a specific ACL policy. This action will delete the ACL policy and all
# the rules associated with it. An ACL policy cannot be deleted if it is
# attached to a cluster.
# @param [String] name
# Required. Redis ACL Policy resource name using the form: `projects/`project_id`
# Required. Redis ACL policy resource name using the form: `projects/`project_id`
# /locations/`location_id`/aclPolicies/`acl_policy_id`` where `location_id`
# refers to a GCP region.
# @param [String] etag
Expand Down Expand Up @@ -258,9 +258,9 @@ def delete_project_location_acl_policy(name, etag: nil, request_id: nil, fields:
execute_or_queue_command(command, &block)
end

# Gets the details of a specific Redis Cluster ACL Policy.
# Gets the details of a specific Redis Cluster ACL policy.
# @param [String] name
# Required. Redis ACL Policy resource name using the form: `projects/`project_id`
# Required. Redis ACL policy resource name using the form: `projects/`project_id`
# /locations/`location_id`/aclPolicies/`acl_policy_id`` where `location_id`
# refers to a GCP region.
# @param [String] fields
Expand Down Expand Up @@ -290,15 +290,15 @@ def get_project_location_acl_policy(name, fields: nil, quota_user: nil, options:
execute_or_queue_command(command, &block)
end

# Lists all ACL Policies owned by a project in either the specified location (
# Lists all ACL policies owned by a project in either the specified location (
# region) or all locations. The location should have the following format: * `
# projects/`project_id`/locations/`location_id`` If `location_id` is specified
# as `-` (wildcard), then all regions available to the project are queried, and
# the results are aggregated.
# @param [String] parent
# Required. The resource name of the cluster location using the form: `projects/`
# project_id`/locations/`location_id`` where `location_id` refers to a Google
# Cloud region.
# Required. The resource name of the ACL policy location using the form: `
# projects/`project_id`/locations/`location_id`` where `location_id` refers to a
# Google Cloud region.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return. If not specified, a default
# value of 1000 will be used by the service. Regardless of the page_size value,
Expand Down Expand Up @@ -343,7 +343,7 @@ def list_project_location_acl_policies(parent, page_size: nil, page_token: nil,
# the operation returns a SUCCESS status. If Memorystore can't apply the policy
# to all clusters, then to ensure eventual consistency, Memorystore uses
# reconciliation to apply the policy to the failed clusters. Completed
# longrunning.Operation will contain the new ACL Policy object in the response
# longrunning.Operation will contain the new ACL policy object in the response
# field.
# @param [String] name
# Identifier. Full resource path of the ACL policy.
Expand Down
Loading