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.



21057
21058
21059
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21057

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#to_recipientsArray<Google::Apis::CloudsearchV1::Recipient>

Corresponds to the JSON property toRecipients



21055
21056
21057
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21055

def to_recipients
  @to_recipients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21062
21063
21064
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21062

def update!(**args)
  @to_recipients = args[:to_recipients] if args.key?(:to_recipients)
end