class Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning
Informational warning which replaces the list of packetMirrorings when the list is empty.
Attributes
code[RW]
- Output Only
-
A warning code, if applicable. For example, Compute Engine
returns NO_RESULTS_ON_PAGE if there are no results in the response. Corresponds to the JSON property `code` @return [String]
data[RW]
- Output Only
-
Metadata
about this warning in key: value format. For example: “
data“: [ ` ”key“: ”scope“, ”value“: ”zones/us-east1-d“ ` Corresponds to the JSON property `data` @return [Array<Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning::Datum>]
message[RW]
- Output Only
-
A human-readable description of the warning code.
Corresponds to the JSON property `message` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 24705 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 24710 def update!(**args) @code = args[:code] if args.key?(:code) @data = args[:data] if args.key?(:data) @message = args[:message] if args.key?(:message) end