class Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser

Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device

Attributes

compromised_state[RW]

Compromised State of the DeviceUser object Corresponds to the JSON property `compromisedState` @return [String]

create_time[RW]

When the user first signed in to the device Corresponds to the JSON property `createTime` @return [String]

first_sync_time[RW]

Output only. Most recent time when user registered with this service. Corresponds to the JSON property `firstSyncTime` @return [String]

language_code[RW]

Output only. Default locale used on device, in IETF BCP-47 format. Corresponds to the JSON property `languageCode` @return [String]

last_sync_time[RW]

Output only. Last time when user synced with policies. Corresponds to the JSON property `lastSyncTime` @return [String]

management_state[RW]

Output only. Management state of the user on the device. Corresponds to the JSON property `managementState` @return [String]

name[RW]

Output only. [Resource name](cloud.google.com/apis/design/ resource_names) of the DeviceUser in format: `devices/`device`/deviceUsers/` device_user“, where `device_user` uniquely identifies a user's use of a device. Corresponds to the JSON property `name` @return [String]

password_state[RW]

Password state of the DeviceUser object Corresponds to the JSON property `passwordState` @return [String]

user_agent[RW]

Output only. User agent on the device for this specific user Corresponds to the JSON property `userAgent` @return [String]

user_email[RW]

Email address of the user registered on the device. Corresponds to the JSON property `userEmail` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 1420
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 1425
def update!(**args)
  @compromised_state = args[:compromised_state] if args.key?(:compromised_state)
  @create_time = args[:create_time] if args.key?(:create_time)
  @first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time)
  @language_code = args[:language_code] if args.key?(:language_code)
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
  @management_state = args[:management_state] if args.key?(:management_state)
  @name = args[:name] if args.key?(:name)
  @password_state = args[:password_state] if args.key?(:password_state)
  @user_agent = args[:user_agent] if args.key?(:user_agent)
  @user_email = args[:user_email] if args.key?(:user_email)
end