UpdateAnnouncementSubscriptionDetails

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

Bases: object

The details for updating an announcement subscription.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateAnnouncementSubscriptionDetails.
description Gets the description of this UpdateAnnouncementSubscriptionDetails.
display_name Gets the display_name of this UpdateAnnouncementSubscriptionDetails.
freeform_tags Gets the freeform_tags of this UpdateAnnouncementSubscriptionDetails.
ons_topic_id Gets the ons_topic_id of this UpdateAnnouncementSubscriptionDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateAnnouncementSubscriptionDetails.
  • description (str) – The value to assign to the description property of this UpdateAnnouncementSubscriptionDetails.
  • ons_topic_id (str) – The value to assign to the ons_topic_id property of this UpdateAnnouncementSubscriptionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAnnouncementSubscriptionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAnnouncementSubscriptionDetails.
defined_tags

Gets the defined_tags of this UpdateAnnouncementSubscriptionDetails. 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 UpdateAnnouncementSubscriptionDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateAnnouncementSubscriptionDetails. A description of the announcement subscription. Avoid entering confidential information.

Returns:The description of this UpdateAnnouncementSubscriptionDetails.
Return type:str
display_name

Gets the display_name of this UpdateAnnouncementSubscriptionDetails. A user-friendly name for the announcement subscription. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateAnnouncementSubscriptionDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateAnnouncementSubscriptionDetails. 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 UpdateAnnouncementSubscriptionDetails.
Return type:dict(str, str)
ons_topic_id

Gets the ons_topic_id of this UpdateAnnouncementSubscriptionDetails. The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see Details for Notifications.

Returns:The ons_topic_id of this UpdateAnnouncementSubscriptionDetails.
Return type:str