Class: Google::Apis::GmailV1::ListFiltersResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ListFiltersResponse
- 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
-
#filter ⇒ Array<Google::Apis::GmailV1::Filter>
List of a user's filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListFiltersResponse
constructor
A new instance of ListFiltersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#filter ⇒ Array<Google::Apis::GmailV1::Filter>
List of a user's filters.
Corresponds to the JSON property filter
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 |