Class: Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb
Overview
Informational warning message.
Defined Under Namespace
Modules: Code Classes: DataEntry
Instance Attribute Summary collapse
-
#code ⇒ ::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings::Code
readonly
Output only.
-
#data ⇒ ::Google::Protobuf::Map{::String => ::String}
readonly
Output only.
-
#warning_message ⇒ ::String
readonly
Output only.
Instance Attribute Details
#code ⇒ ::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoute::Warnings::Code (readonly)
Returns Output only. A warning code, if applicable.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 158 class Warnings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Warning code for Policy Based Routing. Expect to add values in the # future. module Code # Default value. WARNING_UNSPECIFIED = 0 # The policy based route is not active and functioning. Common causes are # the dependent network was deleted or the resource project was turned # off. RESOURCE_NOT_ACTIVE = 1 # The policy based route is being modified (e.g. created/deleted) at this # time. RESOURCE_BEING_MODIFIED = 2 end end |
#data ⇒ ::Google::Protobuf::Map{::String => ::String} (readonly)
Returns 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.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 158 class Warnings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Warning code for Policy Based Routing. Expect to add values in the # future. module Code # Default value. WARNING_UNSPECIFIED = 0 # The policy based route is not active and functioning. Common causes are # the dependent network was deleted or the resource project was turned # off. RESOURCE_NOT_ACTIVE = 1 # The policy based route is being modified (e.g. created/deleted) at this # time. RESOURCE_BEING_MODIFIED = 2 end end |
#warning_message ⇒ ::String (readonly)
Returns Output only. A human-readable description of the warning code.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb', line 158 class Warnings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Warning code for Policy Based Routing. Expect to add values in the # future. module Code # Default value. WARNING_UNSPECIFIED = 0 # The policy based route is not active and functioning. Common causes are # the dependent network was deleted or the resource project was turned # off. RESOURCE_NOT_ACTIVE = 1 # The policy based route is being modified (e.g. created/deleted) at this # time. RESOURCE_BEING_MODIFIED = 2 end end |