NAME
Google::Cloud::Databasecenter::V1beta::Signals - Compiled Protocol Buffers messages for google/cloud/databasecenter/v1beta/signals.proto
SYNOPSIS
use Google::Cloud::Databasecenter::V1beta::Signals;
my $msg = Google::Cloud::Databasecenter::V1beta::Signals::SignalTypeGroup->new({
display_name => $display_name,
signal_types => $signal_types,
});
# Read or update a field
my $val = $msg->display_name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Databasecenter::V1beta::Signals::SignalTypeGroup->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/databasecenter/v1beta/signals.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Databasecenter::V1beta::Signals::SignalTypeGroup
A group of signal types that specifies what the user is interested in.
Used by QueryDatabaseResourceGroups API.
Example:
signal_type_group { name = "AVAILABILITY" types = [SIGNAL_TYPE_NO_PROMOTABLE_REPLICA] }
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of a signal group.
$msg->signal_types()/$msg->signal_types($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalType)Optional. List of signal types present in the group.
Google::Cloud::Databasecenter::V1beta::Signals::SignalFilter
A filter for Signals.
If signal_type is left unset, all signals should be returned. For example, the following filter returns all issues. signal_filter: { signal_status: SIGNAL_STATUS_ISSUE; }
Another example, the following filter returns issues of the given type: signal_filter: { type: SIGNAL_TYPE_NO_PROMOTABLE_REPLICA signal_status: ISSUE }
If signal_status is left unset or set to SIGNAL_STATE_UNSPECIFIED, an error should be returned.
Inherits from Protobuf::Message.
Accessors
$msg->signal_type()/$msg->signal_type($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalType)Optional. Represents the type of the Signal for which the filter is for.
$msg->signal_status()/$msg->signal_status($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalStatus)Optional. Represents the status of the Signal for which the filter is for.
Google::Cloud::Databasecenter::V1beta::Signals::SignalGroup
A group of signals and their counts.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringTitle of a signal group corresponding to the request.
$msg->issue_count()/$msg->issue_count($value)Type:
Int32When applied to a DatabaseResource represents count of issues associated with the resource. A signal is an issue when its SignalStatus field is set to SIGNAL_STATUS_ISSUE.
$msg->signals()/$msg->signals($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::Signal)List of signals present in the group and associated with the resource.
Only applies to a DatabaseResource.
Google::Cloud::Databasecenter::V1beta::Signals::IssueCount
Count of issues for a group of signals.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringTitle of a signal group corresponding to the request.
$msg->issue_count()/$msg->issue_count($value)Type:
Int32The count of the number of issues associated with those resources that are explicitly filtered in by the filters present in the request. A signal is an issue when its SignalStatus field is set to SIGNAL_STATUS_ISSUE.
Google::Cloud::Databasecenter::V1beta::Signals::AdditionalDetail
Details related to signal.
Inherits from Protobuf::Message.
Accessors
$msg->short_backup_retention_info()/$msg->short_backup_retention_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::RetentionSettingsInfo)Short backup retention information applies to signals with type SIGNAL_TYPE_SHORT_BACKUP_RETENTION.
$msg->backup_run_info()/$msg->backup_run_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::BackupRunInfo)Backup run information applies to signals with types SIGNAL_TYPE_LAST_BACKUP_FAILED and SIGNAL_TYPE_LAST_BACKUP_OLD.
$msg->scc_info()/$msg->scc_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::SCCInfo)SCC information applies to SCC signals.
$msg->recommendation_info()/$msg->recommendation_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::RecommendationInfo)Recommendation information applies to recommendations.
$msg->automated_backup_policy_info()/$msg->automated_backup_policy_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::AutomatedBackupPolicyInfo)Automated backup policy information applies to signals with type SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY.
$msg->deletion_protection_info()/$msg->deletion_protection_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::DeletionProtectionInfo)Deletion protection information applies to signals with type [SIGNAL_TYPE_NO_DELETION_PROTECTION][google.cloud.databasecenter.v1beta.SignalType.SIGNAL_TYPE_NO_DELETION_PROTECTION]
$msg->resource_suspension_info()/$msg->resource_suspension_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::ResourceSuspensionInfo)Resource suspension information applies to signals with type [SIGNAL_TYPE_RESOURCE_SUSPENDED][google.cloud.databasecenter.v1beta.SignalType.SIGNAL_TYPE_RESOURCE_SUSPENDED].
$msg->inefficient_query_info()/$msg->inefficient_query_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::InefficientQueryInfo)Inefficient query information applies to signals with type [SIGNAL_TYPE_INEFFICIENT_QUERY][google.cloud.databasecenter.v1beta.SignalType.SIGNAL_TYPE_INEFFICIENT_QUERY].
$msg->outdated_minor_version_info()/$msg->outdated_minor_version_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::OutdatedMinorVersionInfo)Outdated minor version information applies to signals with type SIGNAL_TYPE_OUTDATED_MINOR_VERSION.
$msg->maintenance_recommendation_info()/$msg->maintenance_recommendation_info($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::MaintenanceRecommendationInfo)Maintenance recommendation information applies to signals with type SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES.
$msg->signal_source()/$msg->signal_source($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalSource)Where the signal is coming from.
$msg->signal_type()/$msg->signal_type($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalType)Type of the signal.
$msg->signal_event_time()/$msg->signal_event_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Event time when signal was recorded by source service.
Google::Cloud::Databasecenter::V1beta::Signals::SubResource
Sub resource details For Spanner/Bigtable instance certain data protection settings are at sub resource level like database/table. This message is used to capture such sub resource details.
Inherits from Protobuf::Message.
Accessors
$msg->resource_type()/$msg->resource_type($value)Type:
StringOptional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL
$msg->full_resource_name()/$msg->full_resource_name($value)Type:
StringOptional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL
$msg->product()/$msg->product($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Product::Product)Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. ``` product: { type : PRODUCT_TYPE_SPANNER engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT } ``` for Spanner where backup is configured on database within an instance OPTIONAL
$msg->container()/$msg->container($value)Type:
StringSpecifies where the resource is created. For Google Cloud resources, it is the full name of the project.
Google::Cloud::Databasecenter::V1beta::Signals::RetentionSettingsInfo
Metadata about backup retention settings for a database resource.
Inherits from Protobuf::Message.
Accessors
$msg->quantity_based_retention()/$msg->quantity_based_retention($value)Type:
Message(Google::Protobuf::Wrappers::Int32Value)Number of backups that will be retained.
$msg->duration_based_retention()/$msg->duration_based_retention($value)Type:
Message(Google::Protobuf::Duration::Duration)Duration based retention period i.e. 172800 seconds (2 days)
$msg->timestamp_based_retention_time()/$msg->timestamp_based_retention_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
$msg->sub_resource()/$msg->sub_resource($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::SubResource)Optional. Sub resource details associated with the backup configuration.
Google::Cloud::Databasecenter::V1beta::Signals::AutomatedBackupPolicyInfo
Automated backup policy signal info
Inherits from Protobuf::Message.
Accessors
$msg->sub_resource()/$msg->sub_resource($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::SubResource)Optional. Sub resource details associated with the signal.
$msg->is_enabled()/$msg->is_enabled($value)Type:
BoolIs automated policy enabled.
Google::Cloud::Databasecenter::V1beta::Signals::DeletionProtectionInfo
Deletion protection signal info for a database resource.
Inherits from Protobuf::Message.
Accessors
$msg->sub_resource()/$msg->sub_resource($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::SubResource)Optional. Sub resource details associated with the signal.
$msg->deletion_protection_enabled()/$msg->deletion_protection_enabled($value)Type:
BoolIs deletion protection enabled.
Google::Cloud::Databasecenter::V1beta::Signals::ResourceSuspensionInfo
Resource suspension info for a database resource.
Inherits from Protobuf::Message.
Accessors
$msg->resource_suspended()/$msg->resource_suspended($value)Type:
BoolIs resource suspended.
$msg->suspension_reason()/$msg->suspension_reason($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SuspensionReason)Suspension reason for the resource.
Google::Cloud::Databasecenter::V1beta::Signals::BackupRunInfo
Metadata about latest backup run state for a database resource.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the backup operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time the backup operation completed.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::BackupRunInfo::State)Output only. The state of this run.
$msg->error_message()/$msg->error_message($value)Type:
StringAdditional information about the error encountered.
$msg->operation_error_type()/$msg->operation_error_type($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::OperationErrorType)Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.
$msg->sub_resource()/$msg->sub_resource($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::SubResource)Optional. Sub resource details associated with the backup run.
Enum: BackupRunInfo::State
STATE_UNSPECIFIED=>0SUCCEEDED=>1FAILED=>2
Google::Cloud::Databasecenter::V1beta::Signals::InefficientQueryInfo
Metadata about inefficient query signal info for a database resource.
Inherits from Protobuf::Message.
Accessors
$msg->database()/$msg->database($value)Type:
StringName of the database where index is required. For example, "db1", which is the name of the database present in the instance.
$msg->table()/$msg->table($value)Type:
StringName of the table where index is required
$msg->sql_index_statement()/$msg->sql_index_statement($value)Type:
StringSQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
$msg->storage_cost_bytes()/$msg->storage_cost_bytes($value)Type:
Int64Cost of additional disk usage in bytes
$msg->impacted_queries_count()/$msg->impacted_queries_count($value)Type:
Int64Count of queries to be impacted if index is applied
Google::Cloud::Databasecenter::V1beta::Signals::SCCInfo
Info associated with SCC signals.
Inherits from Protobuf::Message.
Accessors
$msg->signal()/$msg->signal($value)Type:
StringName of the signal.
$msg->category()/$msg->category($value)Type:
StringName by which SCC calls this signal.
$msg->regulatory_standards()/$msg->regulatory_standards($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::RegulatoryStandard)Compliances that are associated with the signal.
$msg->external_uri()/$msg->external_uri($value)Type:
StringExternal URI which points to a SCC page associated with the signal.
Google::Cloud::Databasecenter::V1beta::Signals::RecommendationInfo
Info associated with recommendation.
Inherits from Protobuf::Message.
Accessors
$msg->recommender()/$msg->recommender($value)Type:
StringName of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876
$msg->recommender_id()/$msg->recommender_id($value)Type:
StringID of recommender. Examples: "google.cloudsql.instance.PerformanceRecommender"
$msg->recommender_subtype()/$msg->recommender_subtype($value)Type:
StringContains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender.
Examples: For recommender = "google.cloudsql.instance.PerformanceRecommender", recommender_subtype can be "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
Google::Cloud::Databasecenter::V1beta::Signals::RegulatoryStandard
Compliances associated with signals.
Inherits from Protobuf::Message.
Accessors
$msg->standard()/$msg->standard($value)Type:
StringName of industry compliance standards, such as such as CIS, PCI, and OWASP.
$msg->version()/$msg->version($value)Type:
StringVersion of the standard or benchmark, for example, 1.1.
Google::Cloud::Databasecenter::V1beta::Signals::OutdatedMinorVersionInfo
Info associated with outdated minor version.
Inherits from Protobuf::Message.
Accessors
$msg->recommended_minor_version()/$msg->recommended_minor_version($value)Type:
StringRecommended minor version of the underlying database engine. Example values: For MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4", "15.5" etc.
Google::Cloud::Databasecenter::V1beta::Signals::MaintenanceRecommendationInfo
Info associated with maintenance recommendation.
Inherits from Protobuf::Message.
Accessors
$msg->resource_maintenance_schedules()/$msg->resource_maintenance_schedules($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Maintenance::ResourceMaintenanceSchedule)Optional. List of recommended maintenance schedules for the database resource.
Google::Cloud::Databasecenter::V1beta::Signals::Signal
Represents a signal.
Inherits from Protobuf::Message.
Accessors
$msg->signal_type()/$msg->signal_type($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalType)Type of the signal.
$msg->signal_status()/$msg->signal_status($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::SignalStatus)Status of the signal.
$msg->additional_details()/$msg->additional_details($value)Type:
Message(Google::Cloud::Databasecenter::V1beta::Signals::AdditionalDetail)Additional information related to the signal. In the case of composite signals, this field encapsulates details associated with granular signals, having a signal status of "ISSUE"; signals with a status of "OK" are not included. For granular signals, it encompasses information relevant to the signal, regardless of the signal status.
$msg->issue_severity()/$msg->issue_severity($value)Type:
Enum(Google::Cloud::Databasecenter::V1beta::IssueSeverity)Severity of the issue.
$msg->issue_create_time()/$msg->issue_create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Timestamp when the issue was created (when signal status is ISSUE).
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Databasecenter::V1beta::Signals::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.