Class: Google::Apis::CloudsearchV1::ImapSessionContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ImapSessionContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#app ⇒ String
Corresponds to the JSON property
app. -
#device_type ⇒ String
User agent information Corresponds to the JSON property
deviceType. -
#guid_fingerprint ⇒ Fixnum
As agreed with Bond team, this holds the fingerprint of any "aguid" or "guid" provided by the ID command.
-
#os ⇒ String
Corresponds to the JSON property
os. -
#os_version ⇒ Google::Apis::CloudsearchV1::OsVersion
Corresponds to the JSON property
osVersion. -
#possibly_trimmed_model ⇒ Google::Apis::CloudsearchV1::PossiblyTrimmedModel
This message contains either the device model, or a prefix of the device model (AKA a trimmed device model).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImapSessionContext
constructor
A new instance of ImapSessionContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImapSessionContext
Returns a new instance of ImapSessionContext.
11087 11088 11089 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11087 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app ⇒ String
Corresponds to the JSON property app
11056 11057 11058 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11056 def app @app end |
#device_type ⇒ String
User agent information
Corresponds to the JSON property deviceType
11061 11062 11063 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11061 def device_type @device_type end |
#guid_fingerprint ⇒ Fixnum
As agreed with Bond team, this holds the fingerprint of any "aguid" or "guid"
provided by the ID command. The fingerprint should be calculated by
fingerprint2011. Note that not all clients will provide aguid or guid through
ID command.
Corresponds to the JSON property guidFingerprint
11069 11070 11071 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11069 def guid_fingerprint @guid_fingerprint end |
#os ⇒ String
Corresponds to the JSON property os
11074 11075 11076 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11074 def os @os end |
#os_version ⇒ Google::Apis::CloudsearchV1::OsVersion
Corresponds to the JSON property osVersion
11079 11080 11081 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11079 def os_version @os_version end |
#possibly_trimmed_model ⇒ Google::Apis::CloudsearchV1::PossiblyTrimmedModel
This message contains either the device model, or a prefix of the device model
(AKA a trimmed device model). The "is_trimmed" field indicates which one it is.
Corresponds to the JSON property possiblyTrimmedModel
11085 11086 11087 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11085 def possibly_trimmed_model @possibly_trimmed_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11092 11093 11094 11095 11096 11097 11098 11099 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11092 def update!(**args) @app = args[:app] if args.key?(:app) @device_type = args[:device_type] if args.key?(:device_type) @guid_fingerprint = args[:guid_fingerprint] if args.key?(:guid_fingerprint) @os = args[:os] if args.key?(:os) @os_version = args[:os_version] if args.key?(:os_version) @possibly_trimmed_model = args[:possibly_trimmed_model] if args.key?(:possibly_trimmed_model) end |