BulkUpdateNotesMetadata

class oci.apm_traces.models.BulkUpdateNotesMetadata(**kwargs)

Bases: object

Metadata about the bulk update notes operation. The bulk update notes operation is atomic and binary. If the processing of any of the attributes in the bulk update notes request results in a processing or validation error, then none of the notes in the update notes request are updated.

Attributes

OPERATION_STATUS_EMPTY_ATTRIBUTE_LIST A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata.
OPERATION_STATUS_INVALID_BULK_REQUEST A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata.
OPERATION_STATUS_SUCCESS A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata.
OPERATION_TYPE_UPDATE_NOTES A constant which can be used with the operation_type property of a BulkUpdateNotesMetadata.
attributes_notes_updated [Required] Gets the attributes_notes_updated of this BulkUpdateNotesMetadata.
operation_status [Required] Gets the operation_status of this BulkUpdateNotesMetadata.
operation_type [Required] Gets the operation_type of this BulkUpdateNotesMetadata.
synthetic_attributes_pinned Gets the synthetic_attributes_pinned of this BulkUpdateNotesMetadata.

Methods

__init__(**kwargs) Initializes a new BulkUpdateNotesMetadata object with values from keyword arguments.
OPERATION_STATUS_EMPTY_ATTRIBUTE_LIST = 'EMPTY_ATTRIBUTE_LIST'

A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata. This constant has a value of “EMPTY_ATTRIBUTE_LIST”

OPERATION_STATUS_INVALID_BULK_REQUEST = 'INVALID_BULK_REQUEST'

A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata. This constant has a value of “INVALID_BULK_REQUEST”

OPERATION_STATUS_SUCCESS = 'SUCCESS'

A constant which can be used with the operation_status property of a BulkUpdateNotesMetadata. This constant has a value of “SUCCESS”

OPERATION_TYPE_UPDATE_NOTES = 'UPDATE_NOTES'

A constant which can be used with the operation_type property of a BulkUpdateNotesMetadata. This constant has a value of “UPDATE_NOTES”

__init__(**kwargs)

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

Parameters:
  • operation_status (str) – The value to assign to the operation_status property of this BulkUpdateNotesMetadata. Allowed values for this property are: “SUCCESS”, “EMPTY_ATTRIBUTE_LIST”, “INVALID_BULK_REQUEST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • operation_type (str) – The value to assign to the operation_type property of this BulkUpdateNotesMetadata. Allowed values for this property are: “UPDATE_NOTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attributes_notes_updated (int) – The value to assign to the attributes_notes_updated property of this BulkUpdateNotesMetadata.
  • synthetic_attributes_pinned (int) – The value to assign to the synthetic_attributes_pinned property of this BulkUpdateNotesMetadata.
attributes_notes_updated

[Required] Gets the attributes_notes_updated of this BulkUpdateNotesMetadata. Total number attributes (both string and numeric) in TRACES namespace for which notes were updated.

Returns:The attributes_notes_updated of this BulkUpdateNotesMetadata.
Return type:int
operation_status

[Required] Gets the operation_status of this BulkUpdateNotesMetadata. Operation status of the bulk update notes operation. SUCCESS - The bulk updates notes request has succeeded and all the attributes in the bulk update notes request have been updated with the provided notes. The following are error statuses for the bulk update notes operation. EMPTY_ATTRIBUTE_LIST - The bulk update notes request object was empty and did not contain any attributes for which notes had to be updated. INVALID_BULK_REQUEST - The bulk request contains invalid attribute(s), or attribute(s) that resulted in a validation error, or an attribute that resulted in a processing error.

Allowed values for this property are: “SUCCESS”, “EMPTY_ATTRIBUTE_LIST”, “INVALID_BULK_REQUEST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operation_status of this BulkUpdateNotesMetadata.
Return type:str
operation_type

[Required] Gets the operation_type of this BulkUpdateNotesMetadata. Type of operation.

Allowed values for this property are: “UPDATE_NOTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operation_type of this BulkUpdateNotesMetadata.
Return type:str
synthetic_attributes_pinned

Gets the synthetic_attributes_pinned of this BulkUpdateNotesMetadata. Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.

Returns:The synthetic_attributes_pinned of this BulkUpdateNotesMetadata.
Return type:int