Class: Google::Apis::GmailV1::PopSettings

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

POP settings for an account.

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) ⇒ PopSettings

Returns a new instance of PopSettings.



1185
1186
1187
# File 'generated/google/apis/gmail_v1/classes.rb', line 1185

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

Instance Attribute Details

#access_windowString

The range of messages which are accessible via POP. Corresponds to the JSON property accessWindow

Returns:

  • (String)


1177
1178
1179
# File 'generated/google/apis/gmail_v1/classes.rb', line 1177

def access_window
  @access_window
end

#dispositionString

The action that will be executed on a message after it has been fetched via POP. Corresponds to the JSON property disposition

Returns:

  • (String)


1183
1184
1185
# File 'generated/google/apis/gmail_v1/classes.rb', line 1183

def disposition
  @disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1190
1191
1192
1193
# File 'generated/google/apis/gmail_v1/classes.rb', line 1190

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