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
9 changes: 9 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321676,6 +321676,7 @@
"/redis:v1beta1/DatabaseResourceFeed": database_resource_feed
"/redis:v1beta1/DatabaseResourceFeed/backupdrMetadata": backupdr_metadata
"/redis:v1beta1/DatabaseResourceFeed/configBasedSignalData": config_based_signal_data
"/redis:v1beta1/DatabaseResourceFeed/databaseResourceSignalData": database_resource_signal_data
"/redis:v1beta1/DatabaseResourceFeed/feedTimestamp": feed_timestamp
"/redis:v1beta1/DatabaseResourceFeed/feedType": feed_type
"/redis:v1beta1/DatabaseResourceFeed/observabilityMetricData": observability_metric_data
Expand Down Expand Up @@ -321735,6 +321736,7 @@
"/redis:v1beta1/DatabaseResourceMetadata/userLabelSet": user_label_set
"/redis:v1beta1/DatabaseResourceMetadata/userLabels": user_labels
"/redis:v1beta1/DatabaseResourceMetadata/userLabels/user_label": user_label
"/redis:v1beta1/DatabaseResourceMetadata/zone": zone
"/redis:v1beta1/DatabaseResourceRecommendationSignalData": database_resource_recommendation_signal_data
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/additionalMetadata": additional_metadata
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/additionalMetadata/additional_metadatum": additional_metadatum
Expand All @@ -321745,6 +321747,13 @@
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/recommenderSubtype": recommender_subtype
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/resourceName": resource_name
"/redis:v1beta1/DatabaseResourceRecommendationSignalData/signalType": signal_type
"/redis:v1beta1/DatabaseResourceSignalData": database_resource_signal_data
"/redis:v1beta1/DatabaseResourceSignalData/fullResourceName": full_resource_name
"/redis:v1beta1/DatabaseResourceSignalData/lastRefreshTime": last_refresh_time
"/redis:v1beta1/DatabaseResourceSignalData/resourceId": resource_id
"/redis:v1beta1/DatabaseResourceSignalData/signalBoolValue": signal_bool_value
"/redis:v1beta1/DatabaseResourceSignalData/signalState": signal_state
"/redis:v1beta1/DatabaseResourceSignalData/signalType": signal_type
"/redis:v1beta1/DiscoveryEndpoint": discovery_endpoint
"/redis:v1beta1/DiscoveryEndpoint/address": address
"/redis:v1beta1/DiscoveryEndpoint/port": port
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.71.0 (2025-09-21)

* Regenerated from discovery document revision 20250909

### v0.70.0 (2025-09-07)

* Regenerated from discovery document revision 20250902
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ def update!(**args)
end

# DatabaseResourceFeed is the top level proto to be used to ingest different
# database resource level events into Condor platform. Next ID: 11
# database resource level events into Condor platform. Next ID: 13
class DatabaseResourceFeed
include Google::Apis::Core::Hashable

Expand All @@ -1136,6 +1136,13 @@ class DatabaseResourceFeed
# @return [Google::Apis::RedisV1beta1::ConfigBasedSignalData]
attr_accessor :config_based_signal_data

# Database resource signal data. This is used to send signals to Condor which
# are based on the DB/Instance/Fleet level configurations. These will be used to
# send signals for all inventory types. Next ID: 7
# Corresponds to the JSON property `databaseResourceSignalData`
# @return [Google::Apis::RedisV1beta1::DatabaseResourceSignalData]
attr_accessor :database_resource_signal_data

# Required. Timestamp when feed is generated.
# Corresponds to the JSON property `feedTimestamp`
# @return [String]
Expand Down Expand Up @@ -1166,7 +1173,7 @@ class DatabaseResourceFeed
# @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
attr_accessor :resource_id

# Common model for database resource instance metadata. Next ID: 26
# Common model for database resource instance metadata. Next ID: 27
# Corresponds to the JSON property `resourceMetadata`
# @return [Google::Apis::RedisV1beta1::DatabaseResourceMetadata]
attr_accessor :resource_metadata
Expand All @@ -1189,6 +1196,7 @@ def initialize(**args)
def update!(**args)
@backupdr_metadata = args[:backupdr_metadata] if args.key?(:backupdr_metadata)
@config_based_signal_data = args[:config_based_signal_data] if args.key?(:config_based_signal_data)
@database_resource_signal_data = args[:database_resource_signal_data] if args.key?(:database_resource_signal_data)
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
@feed_type = args[:feed_type] if args.key?(:feed_type)
@observability_metric_data = args[:observability_metric_data] if args.key?(:observability_metric_data)
Expand Down Expand Up @@ -1363,7 +1371,7 @@ def update!(**args)
end
end

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

Expand Down Expand Up @@ -1507,6 +1515,12 @@ class DatabaseResourceMetadata
# @return [Google::Apis::RedisV1beta1::UserLabels]
attr_accessor :user_label_set

# The resource zone. This is only applicable for zonal resources and will be
# empty for regional and multi-regional resources.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone

def initialize(**args)
update!(**args)
end
Expand Down Expand Up @@ -1537,6 +1551,7 @@ def update!(**args)
@tags_set = args[:tags_set] if args.key?(:tags_set)
@updation_time = args[:updation_time] if args.key?(:updation_time)
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
@zone = args[:zone] if args.key?(:zone)
end
end

Expand Down Expand Up @@ -1613,6 +1628,58 @@ def update!(**args)
end
end

# Database resource signal data. This is used to send signals to Condor which
# are based on the DB/Instance/Fleet level configurations. These will be used to
# send signals for all inventory types. Next ID: 7
class DatabaseResourceSignalData
include Google::Apis::Core::Hashable

# Required. Full Resource name of the source resource.
# Corresponds to the JSON property `fullResourceName`
# @return [String]
attr_accessor :full_resource_name

# Required. Last time signal was refreshed
# Corresponds to the JSON property `lastRefreshTime`
# @return [String]
attr_accessor :last_refresh_time

# DatabaseResourceId will serve as primary key for any resource ingestion event.
# Corresponds to the JSON property `resourceId`
# @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
attr_accessor :resource_id

# Signal data for boolean signals.
# Corresponds to the JSON property `signalBoolValue`
# @return [Boolean]
attr_accessor :signal_bool_value
alias_method :signal_bool_value?, :signal_bool_value

# Required. Output only. Signal state of the signal
# Corresponds to the JSON property `signalState`
# @return [String]
attr_accessor :signal_state

# Required. Signal type of the signal
# Corresponds to the JSON property `signalType`
# @return [String]
attr_accessor :signal_type

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
@resource_id = args[:resource_id] if args.key?(:resource_id)
@signal_bool_value = args[:signal_bool_value] if args.key?(:signal_bool_value)
@signal_state = args[:signal_state] if args.key?(:signal_state)
@signal_type = args[:signal_type] if args.key?(:signal_type)
end
end

# Endpoints on each network, for Redis clients to connect to the cluster.
class DiscoveryEndpoint
include Google::Apis::Core::Hashable
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.70.0"
GEM_VERSION = "0.71.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 = "20250902"
REVISION = "20250909"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class DatabaseResourceSignalData
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class DiscoveryEndpoint
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -874,6 +880,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :config_based_signal_data, as: 'configBasedSignalData', class: Google::Apis::RedisV1beta1::ConfigBasedSignalData, decorator: Google::Apis::RedisV1beta1::ConfigBasedSignalData::Representation

property :database_resource_signal_data, as: 'databaseResourceSignalData', class: Google::Apis::RedisV1beta1::DatabaseResourceSignalData, decorator: Google::Apis::RedisV1beta1::DatabaseResourceSignalData::Representation

property :feed_timestamp, as: 'feedTimestamp'
property :feed_type, as: 'feedType'
property :observability_metric_data, as: 'observabilityMetricData', class: Google::Apis::RedisV1beta1::ObservabilityMetricData, decorator: Google::Apis::RedisV1beta1::ObservabilityMetricData::Representation
Expand Down Expand Up @@ -962,6 +970,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :updation_time, as: 'updationTime'
property :user_label_set, as: 'userLabelSet', class: Google::Apis::RedisV1beta1::UserLabels, decorator: Google::Apis::RedisV1beta1::UserLabels::Representation

property :zone, as: 'zone'
end
end

Expand All @@ -979,6 +988,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class DatabaseResourceSignalData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :full_resource_name, as: 'fullResourceName'
property :last_refresh_time, as: 'lastRefreshTime'
property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1beta1::DatabaseResourceId, decorator: Google::Apis::RedisV1beta1::DatabaseResourceId::Representation

property :signal_bool_value, as: 'signalBoolValue'
property :signal_state, as: 'signalState'
property :signal_type, as: 'signalType'
end
end

class DiscoveryEndpoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. Do not use this field. It is unsupported and is ignored unless
# explicitly documented otherwise. This is primarily for internal usage.
# Optional. Unless explicitly documented otherwise, don't use this unsupported
# field which is primarily intended for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down
Loading