Class: Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Warning
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Warning
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
[Output Only] Informational warning message.
Defined Under Namespace
Classes: Datum
Instance Attribute Summary collapse
-
#code ⇒ String
[Output Only] A warning code, if applicable.
-
#data ⇒ Array<Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Warning::Datum>
[Output Only] Metadata about this warning in key: value format.
-
#message ⇒ String
[Output Only] A human-readable description of the warning code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Warning
constructor
A new instance of Warning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Warning
Returns a new instance of Warning.
44252 44253 44254 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
[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
44239 44240 44241 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44239 def code @code end |
#data ⇒ Array<Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Warning::Datum>
[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
44245 44246 44247 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44245 def data @data end |
#message ⇒ String
[Output Only] A human-readable description of the warning code.
Corresponds to the JSON property message
44250 44251 44252 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44250 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44257 44258 44259 44260 44261 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44257 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 |