Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::ApiWarning.
An Admin API warning message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::Google::Cloud::Sql::V1::ApiWarning::SqlApiWarningCode
Returns
- (::Google::Cloud::Sql::V1::ApiWarning::SqlApiWarningCode) — Code to uniquely identify the warning type.
#code=
def code=(value) -> ::Google::Cloud::Sql::V1::ApiWarning::SqlApiWarningCode
Parameter
- value (::Google::Cloud::Sql::V1::ApiWarning::SqlApiWarningCode) — Code to uniquely identify the warning type.
Returns
- (::Google::Cloud::Sql::V1::ApiWarning::SqlApiWarningCode) — Code to uniquely identify the warning type.
#message
def message() -> ::String
Returns
- (::String) — The warning message.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — The warning message.
Returns
- (::String) — The warning message.
#region
def region() -> ::String
Returns
- (::String) — The region name for REGION_UNREACHABLE warning.
#region=
def region=(value) -> ::String
Parameter
- value (::String) — The region name for REGION_UNREACHABLE warning.
Returns
- (::String) — The region name for REGION_UNREACHABLE warning.