PolicyCollection¶
- class oci.cloud_guard.models.PolicyCollection(**kwargs)¶
Bases:
objectCollection of policy statements required by Cloud Guard.
Methods:
__init__(**kwargs)Initializes a new PolicyCollection object with values from keyword arguments.
Attributes:
[Required] Gets the items of this PolicyCollection.
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
items (list[oci.cloud_guard.models.PolicySummary]) – The value to assign to the items property of this PolicyCollection.
locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this PolicyCollection.
- property items¶
[Required] Gets the items of this PolicyCollection. List of global policy statements
- Returns
The items of this PolicyCollection.
- Return type
- property locks¶
Gets the locks of this PolicyCollection. Locks associated with this resource.
- Returns
The locks of this PolicyCollection.
- Return type