class Google::Apis::CloudidentityV1beta1::DeviceUser
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 of the DeviceUser
object Corresponds to the JSON property `compromisedState` @return [String]
When the user first signed in to the device Corresponds to the JSON property `createTime` @return [String]
Output only. Most recent time when user registered with this service. Corresponds to the JSON property `firstSyncTime` @return [String]
Output only. Default locale used on device, in IETF BCP-47 format. Corresponds to the JSON property `languageCode` @return [String]
Output only. Last time when user synced with policies. Corresponds to the JSON property `lastSyncTime` @return [String]
Output only. Management state of the user on the device. Corresponds to the JSON property `managementState` @return [String]
Output only. [Resource name](cloud.google.com/apis/design/ resource_names) of the DeviceUser
in format: `devices/`device_id`/deviceUsers/` device_user_id“, where `device_user_id` uniquely identifies a user's use of a device. Corresponds to the JSON property `name` @return [String]
Password state of the DeviceUser
object Corresponds to the JSON property `passwordState` @return [String]
Output only. User agent on the device for this specific user Corresponds to the JSON property `userAgent` @return [String]
Email address of the user registered on the device. Corresponds to the JSON property `userEmail` @return [String]
Public Class Methods
# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 634 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 639 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