Class: Google::Apis::GmailV1::ListDelegatesResponse

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 ListDelegates 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) ⇒ ListDelegatesResponse

Returns a new instance of ListDelegatesResponse.



684
685
686
# File 'generated/google/apis/gmail_v1/classes.rb', line 684

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

Instance Attribute Details

#delegatesArray<Google::Apis::GmailV1::Delegate>

List of the user's delegates (with any verification status). Corresponds to the JSON property delegates



682
683
684
# File 'generated/google/apis/gmail_v1/classes.rb', line 682

def delegates
  @delegates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



689
690
691
# File 'generated/google/apis/gmail_v1/classes.rb', line 689

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