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

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 ListFilters 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) ⇒ ListFiltersResponse

Returns a new instance of ListFiltersResponse



697
698
699
# File 'generated/google/apis/gmail_v1/classes.rb', line 697

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:



695
696
697
# File 'generated/google/apis/gmail_v1/classes.rb', line 695

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



702
703
704
# File 'generated/google/apis/gmail_v1/classes.rb', line 702

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