Class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
Informational messages about the state of the Cloud Function or Operation.
Instance Attribute Summary collapse
-
#message ⇒ String
The message.
-
#severity ⇒ String
Severity of the state message.
-
#type ⇒ String
One-word CamelCase type of the state message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudFunctionsV2alphaStateMessage
constructor
A new instance of GoogleCloudFunctionsV2alphaStateMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudFunctionsV2alphaStateMessage
Returns a new instance of GoogleCloudFunctionsV2alphaStateMessage.
1137 1138 1139 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The message.
Corresponds to the JSON property message
1125 1126 1127 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1125 def @message end |
#severity ⇒ String
Severity of the state message.
Corresponds to the JSON property severity
1130 1131 1132 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1130 def severity @severity end |
#type ⇒ String
One-word CamelCase type of the state message.
Corresponds to the JSON property type
1135 1136 1137 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1135 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1142 1143 1144 1145 1146 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1142 def update!(**args) @message = args[:message] if args.key?(:message) @severity = args[:severity] if args.key?(:severity) @type = args[:type] if args.key?(:type) end |