Class: Google::Apis::GmailV1::ListSendAsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb

Overview

Response for the ListSendAs method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSendAsResponse

Returns a new instance of ListSendAsResponse.



1094
1095
1096
# File 'lib/google/apis/gmail_v1/classes.rb', line 1094

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

Instance Attribute Details

#send_asArray<Google::Apis::GmailV1::SendAs>

List of send-as aliases. Corresponds to the JSON property sendAs

Returns:



1092
1093
1094
# File 'lib/google/apis/gmail_v1/classes.rb', line 1092

def send_as
  @send_as
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1099
1100
1101
# File 'lib/google/apis/gmail_v1/classes.rb', line 1099

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