Class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v2beta/classes.rb,
lib/google/apis/cloudfunctions_v2beta/representations.rb,
lib/google/apis/cloudfunctions_v2beta/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) ⇒ GoogleCloudFunctionsV2betaStateMessage
constructor
A new instance of GoogleCloudFunctionsV2betaStateMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudFunctionsV2betaStateMessage
Returns a new instance of GoogleCloudFunctionsV2betaStateMessage.
1319 1320 1321 |
# File 'lib/google/apis/cloudfunctions_v2beta/classes.rb', line 1319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The message.
Corresponds to the JSON property message
1307 1308 1309 |
# File 'lib/google/apis/cloudfunctions_v2beta/classes.rb', line 1307 def @message end |
#severity ⇒ String
Severity of the state message.
Corresponds to the JSON property severity
1312 1313 1314 |
# File 'lib/google/apis/cloudfunctions_v2beta/classes.rb', line 1312 def severity @severity end |
#type ⇒ String
One-word CamelCase type of the state message.
Corresponds to the JSON property type
1317 1318 1319 |
# File 'lib/google/apis/cloudfunctions_v2beta/classes.rb', line 1317 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1324 1325 1326 1327 1328 |
# File 'lib/google/apis/cloudfunctions_v2beta/classes.rb', line 1324 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 |