FilterGroup

class oci.announcements_service.models.FilterGroup(**kwargs)

Bases: object

A group of filters to match announcements against.

Methods

__init__(**kwargs) Initializes a new FilterGroup object with values from keyword arguments.

Attributes

filters [Required] Gets the filters of this FilterGroup.
name [Required] Gets the name of this FilterGroup.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this FilterGroup.
  • filters (list[oci.announcements_service.models.Filter]) – The value to assign to the filters property of this FilterGroup.
filters

[Required] Gets the filters of this FilterGroup. A list of filters against which the Announcements service matches announcements. You cannot have more than one of any given filter type within a filter group. You also cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group.

Returns:The filters of this FilterGroup.
Return type:list[oci.announcements_service.models.Filter]
name

[Required] Gets the name of this FilterGroup. The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information.

Returns:The name of this FilterGroup.
Return type:str