Class: Google::Cloud::Compute::V1::LocalizedMessage
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::LocalizedMessage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
Instance Attribute Summary collapse
-
#locale ⇒ ::String
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
-
#message ⇒ ::String
The localized error message in the above locale.
Instance Attribute Details
#locale ⇒ ::String
Returns The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX".
19948 19949 19950 19951 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19948 class LocalizedMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#message ⇒ ::String
Returns The localized error message in the above locale.
19948 19949 19950 19951 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19948 class LocalizedMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |