class oci.waas.models.PurgeCache(**kwargs)

Bases: object

The list of resources for cache purge. If a resources property is not provided, the purge targets all resources in a policy.


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

Parameters:resources (list[str]) -- The value to assign to the resources property of this PurgeCache.

Gets the resources of this PurgeCache. A resource to purge, identified by either a hostless absolute path starting with a single slash (e.g., "/path/to/resource") or by a relative path in which the first component will be interpreted as a domain protected by this policy (e.g., "example.com/path/to/resource").

Returns:The resources of this PurgeCache.
Return type:list[str]