PolicyCollection

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

Bases: object

Collection of policy statements required by Cloud Guard.

Methods:

__init__(**kwargs)

Initializes a new PolicyCollection object with values from keyword arguments.

Attributes:

items

[Required] Gets the items of this PolicyCollection.

locks

Gets the locks of this PolicyCollection.

__init__(**kwargs)

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

Parameters
property items

[Required] Gets the items of this PolicyCollection. List of global policy statements

Returns

The items of this PolicyCollection.

Return type

list[oci.cloud_guard.models.PolicySummary]

property locks

Gets the locks of this PolicyCollection. Locks associated with this resource.

Returns

The locks of this PolicyCollection.

Return type

list[oci.cloud_guard.models.ResourceLock]