(::Google::Protobuf::Map{::String => ::String}) — Output only. Metadata about this warning in key: value format. The key
should provides more detail on the warning being returned. For example,
for warnings where there are no results in a list request for a
particular zone, this key might be scope and the key value might be the
zone name. Other examples might be a key indicating a deprecated resource
and a suggested replacement.
#warning_message
defwarning_message()->::String
Returns
(::String) — Output only. A human-readable description of the warning code.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Network Connectivity V1 API - Class Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings (v1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.6.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.6.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.5.1](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.5.1/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.4.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.4.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.3.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.3.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.2.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.2.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.1.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.1.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [1.0.1](/ruby/docs/reference/google-cloud-network_connectivity-v1/1.0.1/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.10.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.10.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.9.2](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.9.2/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.8.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.8.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.7.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.7.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.6.1](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.6.1/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.5.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.5.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.4.1](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.4.1/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.3.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.3.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.2.0](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.2.0/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings)\n- [0.1.4](/ruby/docs/reference/google-cloud-network_connectivity-v1/0.1.4/Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings) \nReference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings.\n\nInformational warning message. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #code\n\n def code() -\u003e ::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings::Code\n\n**Returns**\n\n- ([::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings::Code](./Google-Cloud-NetworkConnectivity-V1-PolicyBasedRoute-Warnings-Code)) --- Output only. A warning code, if applicable.\n\n### #data\n\n def data() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.\n\n### #warning_message\n\n def warning_message() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. A human-readable description of the warning code."]]