BulkUpdateAttributeMetadata

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

Bases: object

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

Attributes

OPERATION_STATUS_EMPTY_ATTRIBUTE_LIST A constant which can be used with the operation_status property of a BulkUpdateAttributeMetadata.
OPERATION_STATUS_INVALID_BULK_REQUEST A constant which can be used with the operation_status property of a BulkUpdateAttributeMetadata.
OPERATION_STATUS_SUCCESS A constant which can be used with the operation_status property of a BulkUpdateAttributeMetadata.
OPERATION_TYPE_UPDATE_ATTRIBUTE_PROPERTIES A constant which can be used with the operation_type property of a BulkUpdateAttributeMetadata.
attributes_updated [Required] Gets the attributes_updated of this BulkUpdateAttributeMetadata.
operation_status [Required] Gets the operation_status of this BulkUpdateAttributeMetadata.
operation_type [Required] Gets the operation_type of this BulkUpdateAttributeMetadata.
synthetic_attributes_updated Gets the synthetic_attributes_updated of this BulkUpdateAttributeMetadata.

Methods

__init__(**kwargs) Initializes a new BulkUpdateAttributeMetadata 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 BulkUpdateAttributeMetadata. 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 BulkUpdateAttributeMetadata. 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 BulkUpdateAttributeMetadata. This constant has a value of “SUCCESS”

OPERATION_TYPE_UPDATE_ATTRIBUTE_PROPERTIES = 'UPDATE_ATTRIBUTE_PROPERTIES'

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

__init__(**kwargs)

Initializes a new BulkUpdateAttributeMetadata 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 BulkUpdateAttributeMetadata. 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 BulkUpdateAttributeMetadata. Allowed values for this property are: “UPDATE_ATTRIBUTE_PROPERTIES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attributes_updated (int) – The value to assign to the attributes_updated property of this BulkUpdateAttributeMetadata.
  • synthetic_attributes_updated (int) – The value to assign to the synthetic_attributes_updated property of this BulkUpdateAttributeMetadata.
attributes_updated

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

Returns:The attributes_updated of this BulkUpdateAttributeMetadata.
Return type:int
operation_status

[Required] Gets the operation_status of this BulkUpdateAttributeMetadata. Operation status of the bulk update attribute operation. SUCCESS - The bulk attribute update request has succeeded and all the attributes in the request have been updated. The following are error statuses for the bulk update attributes operation. EMPTY_ATTRIBUTE_LIST - The bulk update attributes request object was empty and did not contain any attributes for which properties 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 BulkUpdateAttributeMetadata.
Return type:str
operation_type

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

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

Returns:The operation_type of this BulkUpdateAttributeMetadata.
Return type:str
synthetic_attributes_updated

Gets the synthetic_attributes_updated of this BulkUpdateAttributeMetadata. Total number attributes (both string and numeric) in SYNTHETIC namespace for which properties were updated.

Returns:The synthetic_attributes_updated of this BulkUpdateAttributeMetadata.
Return type:int