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

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

Overview

Response for the ListSendAs method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListSendAsResponse

Returns a new instance of ListSendAsResponse



817
818
819
# File 'generated/google/apis/gmail_v1/classes.rb', line 817

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:



815
816
817
# File 'generated/google/apis/gmail_v1/classes.rb', line 815

def send_as
  @send_as
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



822
823
824
# File 'generated/google/apis/gmail_v1/classes.rb', line 822

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