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.
16921 16922 16923 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16921 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Corresponds to the JSON property email
16919 16920 16921 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16919 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16926 16927 16928 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16926 def update!(**args) @email = args[:email] if args.key?(:email) end |