Class: Google::Apis::AlertcenterV1beta1::VoicemailRecipientError
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::VoicemailRecipientError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Issue(s) with a voicemail recipient.
Instance Attribute Summary collapse
-
#email ⇒ String
Email address of the invalid recipient.
-
#invalid_reason ⇒ String
Reason for the error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VoicemailRecipientError
constructor
A new instance of VoicemailRecipientError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VoicemailRecipientError
Returns a new instance of VoicemailRecipientError.
2306 2307 2308 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Email address of the invalid recipient. This may be unavailable if the
recipient was deleted.
Corresponds to the JSON property email
2299 2300 2301 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2299 def email @email end |
#invalid_reason ⇒ String
Reason for the error.
Corresponds to the JSON property invalidReason
2304 2305 2306 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2304 def invalid_reason @invalid_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2311 2312 2313 2314 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 2311 def update!(**args) @email = args[:email] if args.key?(:email) @invalid_reason = args[:invalid_reason] if args.key?(:invalid_reason) end |