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

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 ListDelegates method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDelegatesResponse

Returns a new instance of ListDelegatesResponse.



949
950
951
# File 'lib/google/apis/gmail_v1/classes.rb', line 949

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

Instance Attribute Details

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

List of the user's delegates (with any verification status). If an account doesn't have delegates, this field doesn't appear. Corresponds to the JSON property delegates



947
948
949
# File 'lib/google/apis/gmail_v1/classes.rb', line 947

def delegates
  @delegates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



954
955
956
# File 'lib/google/apis/gmail_v1/classes.rb', line 954

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