Class: Google::Apis::CloudsearchV1::UpdateToRecipients

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_recipientsArray<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