Class: Google::Apis::CloudsearchV1::UpdateToRecipients
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateToRecipients
- 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
-
#to_recipients ⇒ Array<Google::Apis::CloudsearchV1::Recipient>
Corresponds to the JSON property
toRecipients
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateToRecipients
constructor
A new instance of UpdateToRecipients.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateToRecipients
Returns a new instance of UpdateToRecipients.
21236 21237 21238 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#to_recipients ⇒ Array<Google::Apis::CloudsearchV1::Recipient>
Corresponds to the JSON property toRecipients
21234 21235 21236 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21234 def to_recipients @to_recipients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21241 21242 21243 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21241 def update!(**args) @to_recipients = args[:to_recipients] if args.key?(:to_recipients) end |