Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession

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) ⇒ GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession

Returns a new instance of GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession.



4766
4767
4768
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4766

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

Instance Attribute Details

#chrome_os_deviceGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice

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



4754
4755
4756
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4754

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)


4759
4760
4761
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4759

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)


4764
4765
4766
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4764

def user_primary_email
  @user_primary_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4771
4772
4773
4774
4775
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4771

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