Class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v2alpha/classes.rb,
lib/google/apis/cloudfunctions_v2alpha/representations.rb,
lib/google/apis/cloudfunctions_v2alpha/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) ⇒ GoogleCloudFunctionsV2StateMessage
constructor
A new instance of GoogleCloudFunctionsV2StateMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudFunctionsV2StateMessage
Returns a new instance of GoogleCloudFunctionsV2StateMessage.
726 727 728 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The message.
Corresponds to the JSON property message
714 715 716 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 714 def @message end |
#severity ⇒ String
Severity of the state message.
Corresponds to the JSON property severity
719 720 721 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 719 def severity @severity end |
#type ⇒ String
One-word CamelCase type of the state message.
Corresponds to the JSON property type
724 725 726 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 724 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
731 732 733 734 735 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 731 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 |