DesktopDevicePolicy

class oci.desktops.models.DesktopDevicePolicy(**kwargs)

Bases: object

Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.

Attributes

AUDIO_MODE_FROMDESKTOP A constant which can be used with the audio_mode property of a DesktopDevicePolicy.
AUDIO_MODE_FULL A constant which can be used with the audio_mode property of a DesktopDevicePolicy.
AUDIO_MODE_NONE A constant which can be used with the audio_mode property of a DesktopDevicePolicy.
AUDIO_MODE_TODESKTOP A constant which can be used with the audio_mode property of a DesktopDevicePolicy.
CDM_MODE_FULL A constant which can be used with the cdm_mode property of a DesktopDevicePolicy.
CDM_MODE_NONE A constant which can be used with the cdm_mode property of a DesktopDevicePolicy.
CDM_MODE_READONLY A constant which can be used with the cdm_mode property of a DesktopDevicePolicy.
CLIPBOARD_MODE_FROMDESKTOP A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy.
CLIPBOARD_MODE_FULL A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy.
CLIPBOARD_MODE_NONE A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy.
CLIPBOARD_MODE_TODESKTOP A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy.
audio_mode [Required] Gets the audio_mode of this DesktopDevicePolicy.
cdm_mode [Required] Gets the cdm_mode of this DesktopDevicePolicy.
clipboard_mode [Required] Gets the clipboard_mode of this DesktopDevicePolicy.
is_display_enabled [Required] Gets the is_display_enabled of this DesktopDevicePolicy.
is_keyboard_enabled [Required] Gets the is_keyboard_enabled of this DesktopDevicePolicy.
is_pointer_enabled [Required] Gets the is_pointer_enabled of this DesktopDevicePolicy.
is_printing_enabled [Required] Gets the is_printing_enabled of this DesktopDevicePolicy.

Methods

__init__(**kwargs) Initializes a new DesktopDevicePolicy object with values from keyword arguments.
AUDIO_MODE_FROMDESKTOP = 'FROMDESKTOP'

A constant which can be used with the audio_mode property of a DesktopDevicePolicy. This constant has a value of “FROMDESKTOP”

AUDIO_MODE_FULL = 'FULL'

A constant which can be used with the audio_mode property of a DesktopDevicePolicy. This constant has a value of “FULL”

AUDIO_MODE_NONE = 'NONE'

A constant which can be used with the audio_mode property of a DesktopDevicePolicy. This constant has a value of “NONE”

AUDIO_MODE_TODESKTOP = 'TODESKTOP'

A constant which can be used with the audio_mode property of a DesktopDevicePolicy. This constant has a value of “TODESKTOP”

CDM_MODE_FULL = 'FULL'

A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. This constant has a value of “FULL”

CDM_MODE_NONE = 'NONE'

A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. This constant has a value of “NONE”

CDM_MODE_READONLY = 'READONLY'

A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. This constant has a value of “READONLY”

CLIPBOARD_MODE_FROMDESKTOP = 'FROMDESKTOP'

A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. This constant has a value of “FROMDESKTOP”

CLIPBOARD_MODE_FULL = 'FULL'

A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. This constant has a value of “FULL”

CLIPBOARD_MODE_NONE = 'NONE'

A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. This constant has a value of “NONE”

CLIPBOARD_MODE_TODESKTOP = 'TODESKTOP'

A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. This constant has a value of “TODESKTOP”

__init__(**kwargs)

Initializes a new DesktopDevicePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • clipboard_mode (str) – The value to assign to the clipboard_mode property of this DesktopDevicePolicy. Allowed values for this property are: “NONE”, “TODESKTOP”, “FROMDESKTOP”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • audio_mode (str) – The value to assign to the audio_mode property of this DesktopDevicePolicy. Allowed values for this property are: “NONE”, “TODESKTOP”, “FROMDESKTOP”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • cdm_mode (str) – The value to assign to the cdm_mode property of this DesktopDevicePolicy. Allowed values for this property are: “NONE”, “READONLY”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_printing_enabled (bool) – The value to assign to the is_printing_enabled property of this DesktopDevicePolicy.
  • is_pointer_enabled (bool) – The value to assign to the is_pointer_enabled property of this DesktopDevicePolicy.
  • is_keyboard_enabled (bool) – The value to assign to the is_keyboard_enabled property of this DesktopDevicePolicy.
  • is_display_enabled (bool) – The value to assign to the is_display_enabled property of this DesktopDevicePolicy.
audio_mode

[Required] Gets the audio_mode of this DesktopDevicePolicy. The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.

Allowed values for this property are: “NONE”, “TODESKTOP”, “FROMDESKTOP”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The audio_mode of this DesktopDevicePolicy.
Return type:str
cdm_mode

[Required] Gets the cdm_mode of this DesktopDevicePolicy. The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.

Allowed values for this property are: “NONE”, “READONLY”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The cdm_mode of this DesktopDevicePolicy.
Return type:str
clipboard_mode

[Required] Gets the clipboard_mode of this DesktopDevicePolicy. The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.

Allowed values for this property are: “NONE”, “TODESKTOP”, “FROMDESKTOP”, “FULL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The clipboard_mode of this DesktopDevicePolicy.
Return type:str
is_display_enabled

[Required] Gets the is_display_enabled of this DesktopDevicePolicy. Indicates whether the display is enabled.

Returns:The is_display_enabled of this DesktopDevicePolicy.
Return type:bool
is_keyboard_enabled

[Required] Gets the is_keyboard_enabled of this DesktopDevicePolicy. Indicates whether the keyboard is enabled.

Returns:The is_keyboard_enabled of this DesktopDevicePolicy.
Return type:bool
is_pointer_enabled

[Required] Gets the is_pointer_enabled of this DesktopDevicePolicy. Indicates whether the pointer is enabled.

Returns:The is_pointer_enabled of this DesktopDevicePolicy.
Return type:bool
is_printing_enabled

[Required] Gets the is_printing_enabled of this DesktopDevicePolicy. Indicates whether printing is enabled.

Returns:The is_printing_enabled of this DesktopDevicePolicy.
Return type:bool