Class: Google::Apis::GmailV1::ListFiltersResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListFiltersResponse

Returns a new instance of ListFiltersResponse.



1001
1002
1003
# File 'lib/google/apis/gmail_v1/classes.rb', line 1001

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

Instance Attribute Details

#filterArray<Google::Apis::GmailV1::Filter>

List of a user's filters. Corresponds to the JSON property filter

Returns:



999
1000
1001
# File 'lib/google/apis/gmail_v1/classes.rb', line 999

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1006
1007
1008
# File 'lib/google/apis/gmail_v1/classes.rb', line 1006

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