Class: Google::Apis::CloudidentityV1beta1::BrowserAttributes

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb

Overview

Contains information about browser profiles reported by the Endpoint Verification extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BrowserAttributes

Returns a new instance of BrowserAttributes.



247
248
249
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 247

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

Instance Attribute Details

#chrome_browser_infoGoogle::Apis::CloudidentityV1beta1::BrowserInfo

Browser-specific fields reported by the Endpoint Verification extension. LINT. IfChange Corresponds to the JSON property chromeBrowserInfo



234
235
236
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 234

def chrome_browser_info
  @chrome_browser_info
end

#chrome_profile_idString

Chrome profile ID that is exposed by the Chrome API. It is unique for each device. Corresponds to the JSON property chromeProfileId

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 240

def chrome_profile_id
  @chrome_profile_id
end

#last_profile_sync_timeString

Timestamp in milliseconds since Epoch when the profile/gcm id was last synced. Corresponds to the JSON property lastProfileSyncTime

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 245

def last_profile_sync_time
  @last_profile_sync_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
256
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 252

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