Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb
Overview
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
Instance Attribute Summary collapse
-
#compromised_state ⇒ String
Compromised State of the DeviceUser object Corresponds to the JSON property
compromisedState
. -
#create_time ⇒ String
When the user first signed in to the device Corresponds to the JSON property
createTime
. -
#first_sync_time ⇒ String
Output only.
-
#language_code ⇒ String
Output only.
-
#last_sync_time ⇒ String
Output only.
-
#management_state ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#password_state ⇒ String
Password state of the DeviceUser object Corresponds to the JSON property
passwordState
. -
#user_agent ⇒ String
Output only.
-
#user_email ⇒ String
Email address of the user registered on the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1DeviceUser
constructor
A new instance of GoogleAppsCloudidentityDevicesV1DeviceUser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1DeviceUser
Returns a new instance of GoogleAppsCloudidentityDevicesV1DeviceUser.
1367 1368 1369 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compromised_state ⇒ String
Compromised State of the DeviceUser object
Corresponds to the JSON property compromisedState
1317 1318 1319 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1317 def compromised_state @compromised_state end |
#create_time ⇒ String
When the user first signed in to the device
Corresponds to the JSON property createTime
1322 1323 1324 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1322 def create_time @create_time end |
#first_sync_time ⇒ String
Output only. Most recent time when user registered with this service.
Corresponds to the JSON property firstSyncTime
1327 1328 1329 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1327 def first_sync_time @first_sync_time end |
#language_code ⇒ String
Output only. Default locale used on device, in IETF BCP-47 format.
Corresponds to the JSON property languageCode
1332 1333 1334 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1332 def language_code @language_code end |
#last_sync_time ⇒ String
Output only. Last time when user synced with policies.
Corresponds to the JSON property lastSyncTime
1337 1338 1339 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1337 def last_sync_time @last_sync_time end |
#management_state ⇒ String
Output only. Management state of the user on the device.
Corresponds to the JSON property managementState
1342 1343 1344 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1342 def management_state @management_state end |
#name ⇒ String
Output only. Resource name of the DeviceUser in format: devices/
device_id/deviceUsers/
user_id`, where user_id is the ID of the user associated with the user
session.
Corresponds to the JSON property
name`
1350 1351 1352 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1350 def name @name end |
#password_state ⇒ String
Password state of the DeviceUser object
Corresponds to the JSON property passwordState
1355 1356 1357 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1355 def password_state @password_state end |
#user_agent ⇒ String
Output only. User agent on the device for this specific user
Corresponds to the JSON property userAgent
1360 1361 1362 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1360 def user_agent @user_agent end |
#user_email ⇒ String
Email address of the user registered on the device.
Corresponds to the JSON property userEmail
1365 1366 1367 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1365 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1372 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 |