Class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage
- 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) ⇒ 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.
968 969 970 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The message.
Corresponds to the JSON property message
956 957 958 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 956 def @message end |
#severity ⇒ String
Severity of the state message.
Corresponds to the JSON property severity
961 962 963 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 961 def severity @severity end |
#type ⇒ String
One-word CamelCase type of the state message.
Corresponds to the JSON property type
966 967 968 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 966 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
973 974 975 976 977 |
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 973 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 |