Class: Google::Apis::GmailV1::ListDelegatesResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ListDelegatesResponse
- 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 ListDelegates method.
Instance Attribute Summary collapse
-
#delegates ⇒ Array<Google::Apis::GmailV1::Delegate>
List of the user's delegates (with any verification status).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDelegatesResponse
constructor
A new instance of ListDelegatesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDelegatesResponse
Returns a new instance of ListDelegatesResponse
647 648 649 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegates ⇒ Array<Google::Apis::GmailV1::Delegate>
List of the user's delegates (with any verification status).
Corresponds to the JSON property delegates
645 646 647 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 645 def delegates @delegates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
652 653 654 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 652 def update!(**args) @delegates = args[:delegates] if args.key?(:delegates) end |