Class: Google::Apis::CloudsearchV1::Recipient
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Recipient
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#email ⇒ String
Corresponds to the JSON property
email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Recipient
constructor
A new instance of Recipient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Recipient
Returns a new instance of Recipient.
14543 14544 14545 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Corresponds to the JSON property email
14541 14542 14543 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14541 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14548 14549 14550 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14548 def update!(**args) @email = args[:email] if args.key?(:email) end |