ChangeSavedQueryCompartmentDetails

class oci.cloud_guard.models.ChangeSavedQueryCompartmentDetails(**kwargs)

Bases: object

Changing compartment OCID for saved query.

Methods:

__init__(**kwargs)

Initializes a new ChangeSavedQueryCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeSavedQueryCompartmentDetails.

__init__(**kwargs)

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

Parameters

compartment_id (str) – The value to assign to the compartment_id property of this ChangeSavedQueryCompartmentDetails.

property compartment_id

[Required] Gets the compartment_id of this ChangeSavedQueryCompartmentDetails. The OCID of the compartment into which the SavedQuery is to be moved

Returns

The compartment_id of this ChangeSavedQueryCompartmentDetails.

Return type

str