Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsUserSession

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

Overview

Describes the ChromeOS user session that a CertificateProvisioningProcess belongs to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ChromeOsUserSession

Returns a new instance of GoogleChromeManagementVersionsV1ChromeOsUserSession.



4465
4466
4467
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4465

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

Instance Attribute Details

#chrome_os_deviceGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice

Describes the ChromeOS device that a CertificateProvisioningProcess belongs to. Corresponds to the JSON property chromeOsDevice



4453
4454
4455
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4453

def chrome_os_device
  @chrome_os_device
end

#user_directory_api_idString

Output only. The unique Directory API ID of the user. Corresponds to the JSON property userDirectoryApiId

Returns:

  • (String)


4458
4459
4460
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4458

def user_directory_api_id
  @user_directory_api_id
end

#user_primary_emailString

Output only. The primary e-mail address of the user. Corresponds to the JSON property userPrimaryEmail

Returns:

  • (String)


4463
4464
4465
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4463

def user_primary_email
  @user_primary_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4470
4471
4472
4473
4474
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4470

def update!(**args)
  @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
  @user_directory_api_id = args[:user_directory_api_id] if args.key?(:user_directory_api_id)
  @user_primary_email = args[:user_primary_email] if args.key?(:user_primary_email)
end