Class: Google::Apis::GmailV1::ListSendAsResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ListSendAsResponse
- 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
-
#send_as ⇒ Array<Google::Apis::GmailV1::SendAs>
List of send-as aliases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSendAsResponse
constructor
A new instance of ListSendAsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSendAsResponse
Returns a new instance of ListSendAsResponse.
1125 1126 1127 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#send_as ⇒ Array<Google::Apis::GmailV1::SendAs>
List of send-as aliases.
Corresponds to the JSON property sendAs
1123 1124 1125 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1123 def send_as @send_as end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1130 1131 1132 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1130 def update!(**args) @send_as = args[:send_as] if args.key?(:send_as) end |