Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
- Defined in:
- generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb
Overview
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
. -
#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) ⇒ GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
constructor
A new instance of GoogleAppsCloudidentityDevicesV1alpha1DeviceUser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
Returns a new instance of GoogleAppsCloudidentityDevicesV1alpha1DeviceUser.
435 436 437 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compromised_state ⇒ String
Compromised State of the DeviceUser object
Corresponds to the JSON property compromisedState
390 391 392 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 390 def compromised_state @compromised_state end |
#first_sync_time ⇒ String
Output only. Most recent time when user registered with this service.
Corresponds to the JSON property firstSyncTime
395 396 397 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 395 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
400 401 402 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 400 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
405 406 407 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 405 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
410 411 412 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 410 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`
418 419 420 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 418 def name @name end |
#password_state ⇒ String
Password state of the DeviceUser object
Corresponds to the JSON property passwordState
423 424 425 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 423 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
428 429 430 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 428 def user_agent @user_agent end |
#user_email ⇒ String
Email address of the user registered on the device.
Corresponds to the JSON property userEmail
433 434 435 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 433 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 444 445 446 447 448 449 450 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 440 def update!(**args) @compromised_state = args[:compromised_state] if args.key?(:compromised_state) @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 |