UpdateNewsReportDetails

class oci.opsi.models.UpdateNewsReportDetails(**kwargs)

Bases: object

The information about the news report to be updated.

Attributes:

DAY_OF_WEEK_FRIDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_MONDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_SATURDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_SUNDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_THURSDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_TUESDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

DAY_OF_WEEK_WEDNESDAY

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.

LOCALE_EN

A constant which can be used with the locale property of a UpdateNewsReportDetails.

MATCH_RULE_MATCH_ALL

A constant which can be used with the match_rule property of a UpdateNewsReportDetails.

MATCH_RULE_MATCH_ANY

A constant which can be used with the match_rule property of a UpdateNewsReportDetails.

MATCH_RULE_MATCH_NONE

A constant which can be used with the match_rule property of a UpdateNewsReportDetails.

NEWS_FREQUENCY_DAILY

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails.

NEWS_FREQUENCY_HOURLY

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails.

NEWS_FREQUENCY_WEEKLY

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails.

STATUS_DISABLED

A constant which can be used with the status property of a UpdateNewsReportDetails.

STATUS_ENABLED

A constant which can be used with the status property of a UpdateNewsReportDetails.

STATUS_TERMINATED

A constant which can be used with the status property of a UpdateNewsReportDetails.

are_child_compartments_included

Gets the are_child_compartments_included of this UpdateNewsReportDetails.

content_types

Gets the content_types of this UpdateNewsReportDetails.

day_of_week

Gets the day_of_week of this UpdateNewsReportDetails.

defined_tags

Gets the defined_tags of this UpdateNewsReportDetails.

description

Gets the description of this UpdateNewsReportDetails.

freeform_tags

Gets the freeform_tags of this UpdateNewsReportDetails.

locale

Gets the locale of this UpdateNewsReportDetails.

match_rule

Gets the match_rule of this UpdateNewsReportDetails.

name

Gets the name of this UpdateNewsReportDetails.

news_frequency

Gets the news_frequency of this UpdateNewsReportDetails.

ons_topic_id

Gets the ons_topic_id of this UpdateNewsReportDetails.

status

Gets the status of this UpdateNewsReportDetails.

tag_filters

Gets the tag_filters of this UpdateNewsReportDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateNewsReportDetails object with values from keyword arguments.

DAY_OF_WEEK_FRIDAY = 'FRIDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “FRIDAY”

DAY_OF_WEEK_MONDAY = 'MONDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “MONDAY”

DAY_OF_WEEK_SATURDAY = 'SATURDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “SATURDAY”

DAY_OF_WEEK_SUNDAY = 'SUNDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “SUNDAY”

DAY_OF_WEEK_THURSDAY = 'THURSDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “THURSDAY”

DAY_OF_WEEK_TUESDAY = 'TUESDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “TUESDAY”

DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY'

A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “WEDNESDAY”

LOCALE_EN = 'EN'

A constant which can be used with the locale property of a UpdateNewsReportDetails. This constant has a value of “EN”

MATCH_RULE_MATCH_ALL = 'MATCH_ALL'

A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_ALL”

MATCH_RULE_MATCH_ANY = 'MATCH_ANY'

A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_ANY”

MATCH_RULE_MATCH_NONE = 'MATCH_NONE'

A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_NONE”

NEWS_FREQUENCY_DAILY = 'DAILY'

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “DAILY”

NEWS_FREQUENCY_HOURLY = 'HOURLY'

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “HOURLY”

NEWS_FREQUENCY_WEEKLY = 'WEEKLY'

A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “WEEKLY”

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “ENABLED”

STATUS_TERMINATED = 'TERMINATED'

A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “TERMINATED”

__init__(**kwargs)

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

Parameters
  • status (str) – The value to assign to the status property of this UpdateNewsReportDetails. Allowed values for this property are: “DISABLED”, “ENABLED”, “TERMINATED”

  • news_frequency (str) – The value to assign to the news_frequency property of this UpdateNewsReportDetails. Allowed values for this property are: “WEEKLY”, “DAILY”, “HOURLY”

  • locale (str) – The value to assign to the locale property of this UpdateNewsReportDetails. Allowed values for this property are: “EN”

  • content_types (oci.opsi.models.NewsContentTypes) – The value to assign to the content_types property of this UpdateNewsReportDetails.

  • ons_topic_id (str) – The value to assign to the ons_topic_id property of this UpdateNewsReportDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateNewsReportDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateNewsReportDetails.

  • name (str) – The value to assign to the name property of this UpdateNewsReportDetails.

  • description (str) – The value to assign to the description property of this UpdateNewsReportDetails.

  • day_of_week (str) – The value to assign to the day_of_week property of this UpdateNewsReportDetails. Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”

  • are_child_compartments_included (bool) – The value to assign to the are_child_compartments_included property of this UpdateNewsReportDetails.

  • tag_filters (list[str]) – The value to assign to the tag_filters property of this UpdateNewsReportDetails.

  • match_rule (str) – The value to assign to the match_rule property of this UpdateNewsReportDetails. Allowed values for this property are: “MATCH_ANY”, “MATCH_ALL”, “MATCH_NONE”

property are_child_compartments_included

Gets the are_child_compartments_included of this UpdateNewsReportDetails. A flag to consider the resources within a given compartment and all sub-compartments.

Returns

The are_child_compartments_included of this UpdateNewsReportDetails.

Return type

bool

property content_types

Gets the content_types of this UpdateNewsReportDetails.

Returns

The content_types of this UpdateNewsReportDetails.

Return type

oci.opsi.models.NewsContentTypes

property day_of_week

Gets the day_of_week of this UpdateNewsReportDetails. Day of the week in which the news report will be sent if the frequency is set to WEEKLY.

Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”

Returns

The day_of_week of this UpdateNewsReportDetails.

Return type

str

property defined_tags

Gets the defined_tags of this UpdateNewsReportDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this UpdateNewsReportDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateNewsReportDetails. The description of the news report.

Returns

The description of this UpdateNewsReportDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateNewsReportDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this UpdateNewsReportDetails.

Return type

dict(str, str)

property locale

Gets the locale of this UpdateNewsReportDetails. Language of the news report.

Allowed values for this property are: “EN”

Returns

The locale of this UpdateNewsReportDetails.

Return type

str

property match_rule

Gets the match_rule of this UpdateNewsReportDetails. Match rule used for tag filters.

Allowed values for this property are: “MATCH_ANY”, “MATCH_ALL”, “MATCH_NONE”

Returns

The match_rule of this UpdateNewsReportDetails.

Return type

str

property name

Gets the name of this UpdateNewsReportDetails. The news report name.

Returns

The name of this UpdateNewsReportDetails.

Return type

str

property news_frequency

Gets the news_frequency of this UpdateNewsReportDetails. News report frequency.

Allowed values for this property are: “WEEKLY”, “DAILY”, “HOURLY”

Returns

The news_frequency of this UpdateNewsReportDetails.

Return type

str

property ons_topic_id

Gets the ons_topic_id of this UpdateNewsReportDetails. The OCID of the ONS topic.

Returns

The ons_topic_id of this UpdateNewsReportDetails.

Return type

str

property status

Gets the status of this UpdateNewsReportDetails. Defines if the news report will be enabled or disabled.

Allowed values for this property are: “DISABLED”, “ENABLED”, “TERMINATED”

Returns

The status of this UpdateNewsReportDetails.

Return type

str

property tag_filters

Gets the tag_filters of this UpdateNewsReportDetails. List of tag filters; each filter composed by a namespace, key, and value. Example for defined tags - ‘<TagNamespace>.<TagKey>=<TagValue>’ Example for freeform tags - ‘<TagKey>=<TagValue>’

Returns

The tag_filters of this UpdateNewsReportDetails.

Return type

list[str]