Class: Google::Apis::GmailV1::PopSettings
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::PopSettings
- 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
POP settings for an account.
Instance Attribute Summary collapse
-
#access_window ⇒ String
The range of messages which are accessible via POP.
-
#disposition ⇒ String
The action that will be executed on a message after it has been fetched via POP.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PopSettings
constructor
A new instance of PopSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PopSettings
Returns a new instance of PopSettings
1144 1145 1146 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 1144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_window ⇒ String
The range of messages which are accessible via POP.
Corresponds to the JSON property accessWindow
1136 1137 1138 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 1136 def access_window @access_window end |
#disposition ⇒ String
The action that will be executed on a message after it has been fetched via
POP.
Corresponds to the JSON property disposition
1142 1143 1144 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 1142 def disposition @disposition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1149 1150 1151 1152 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 1149 def update!(**args) @access_window = args[:access_window] if args.key?(:access_window) @disposition = args[:disposition] if args.key?(:disposition) end |