TestParserPayloadDetails¶
- class oci.log_analytics.models.TestParserPayloadDetails(**kwargs)¶
Bases:
objectAttributes:
A constant which can be used with the type property of a TestParserPayloadDetails.
A constant which can be used with the type property of a TestParserPayloadDetails.
A constant which can be used with the type property of a TestParserPayloadDetails.
A constant which can be used with the type property of a TestParserPayloadDetails.
A constant which can be used with the type property of a TestParserPayloadDetails.
Gets the content of this TestParserPayloadDetails.
Gets the description of this TestParserPayloadDetails.
Gets the display_name of this TestParserPayloadDetails.
Gets the encoding of this TestParserPayloadDetails.
Gets the example_content of this TestParserPayloadDetails.
Gets the field_delimiter of this TestParserPayloadDetails.
Gets the field_maps of this TestParserPayloadDetails.
Gets the field_qualifier of this TestParserPayloadDetails.
Gets the footer_content of this TestParserPayloadDetails.
Gets the header_content of this TestParserPayloadDetails.
Gets the is_default of this TestParserPayloadDetails.
Gets the is_hidden of this TestParserPayloadDetails.
Gets the is_namespace_aware of this TestParserPayloadDetails.
Gets the is_parser_written_once of this TestParserPayloadDetails.
Gets the is_position_aware of this TestParserPayloadDetails.
Gets the is_single_line_content of this TestParserPayloadDetails.
Gets the is_system of this TestParserPayloadDetails.
Gets the language of this TestParserPayloadDetails.
Gets the log_type_test_request_version of this TestParserPayloadDetails.
Gets the metadata of this TestParserPayloadDetails.
Gets the name of this TestParserPayloadDetails.
Gets the parser_functions of this TestParserPayloadDetails.
Gets the parser_ignoreline_characters of this TestParserPayloadDetails.
Gets the parser_sequence of this TestParserPayloadDetails.
Gets the parser_timezone of this TestParserPayloadDetails.
Gets the should_tokenize_original_text of this TestParserPayloadDetails.
Gets the time_updated of this TestParserPayloadDetails.
Gets the type of this TestParserPayloadDetails.
Methods:
__init__(**kwargs)Initializes a new TestParserPayloadDetails object with values from keyword arguments.
- TYPE_DELIMITED = 'DELIMITED'¶
A constant which can be used with the type property of a TestParserPayloadDetails. This constant has a value of “DELIMITED”
- TYPE_JSON = 'JSON'¶
A constant which can be used with the type property of a TestParserPayloadDetails. This constant has a value of “JSON”
- TYPE_ODL = 'ODL'¶
A constant which can be used with the type property of a TestParserPayloadDetails. This constant has a value of “ODL”
- TYPE_REGEX = 'REGEX'¶
A constant which can be used with the type property of a TestParserPayloadDetails. This constant has a value of “REGEX”
- TYPE_XML = 'XML'¶
A constant which can be used with the type property of a TestParserPayloadDetails. This constant has a value of “XML”
- __init__(**kwargs)¶
Initializes a new TestParserPayloadDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
content (str) – The value to assign to the content property of this TestParserPayloadDetails.
description (str) – The value to assign to the description property of this TestParserPayloadDetails.
display_name (str) – The value to assign to the display_name property of this TestParserPayloadDetails.
encoding (str) – The value to assign to the encoding property of this TestParserPayloadDetails.
example_content (str) – The value to assign to the example_content property of this TestParserPayloadDetails.
field_maps (list[oci.log_analytics.models.LogAnalyticsParserField]) – The value to assign to the field_maps property of this TestParserPayloadDetails.
footer_content (str) – The value to assign to the footer_content property of this TestParserPayloadDetails.
header_content (str) – The value to assign to the header_content property of this TestParserPayloadDetails.
name (str) – The value to assign to the name property of this TestParserPayloadDetails.
is_default (bool) – The value to assign to the is_default property of this TestParserPayloadDetails.
is_single_line_content (bool) – The value to assign to the is_single_line_content property of this TestParserPayloadDetails.
is_system (bool) – The value to assign to the is_system property of this TestParserPayloadDetails.
language (str) – The value to assign to the language property of this TestParserPayloadDetails.
time_updated (datetime) – The value to assign to the time_updated property of this TestParserPayloadDetails.
log_type_test_request_version (int) – The value to assign to the log_type_test_request_version property of this TestParserPayloadDetails.
metadata (oci.log_analytics.models.UiParserTestMetadata) – The value to assign to the metadata property of this TestParserPayloadDetails.
parser_ignoreline_characters (str) – The value to assign to the parser_ignoreline_characters property of this TestParserPayloadDetails.
is_hidden (int) – The value to assign to the is_hidden property of this TestParserPayloadDetails.
parser_sequence (int) – The value to assign to the parser_sequence property of this TestParserPayloadDetails.
parser_timezone (str) – The value to assign to the parser_timezone property of this TestParserPayloadDetails.
is_parser_written_once (bool) – The value to assign to the is_parser_written_once property of this TestParserPayloadDetails.
parser_functions (list[oci.log_analytics.models.LogAnalyticsParserFunction]) – The value to assign to the parser_functions property of this TestParserPayloadDetails.
should_tokenize_original_text (bool) – The value to assign to the should_tokenize_original_text property of this TestParserPayloadDetails.
field_delimiter (str) – The value to assign to the field_delimiter property of this TestParserPayloadDetails.
field_qualifier (str) – The value to assign to the field_qualifier property of this TestParserPayloadDetails.
type (str) – The value to assign to the type property of this TestParserPayloadDetails. Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”
is_namespace_aware (bool) – The value to assign to the is_namespace_aware property of this TestParserPayloadDetails.
is_position_aware (bool) – The value to assign to the is_position_aware property of this TestParserPayloadDetails.
- property content¶
Gets the content of this TestParserPayloadDetails. The content used for testing.
- Returns
The content of this TestParserPayloadDetails.
- Return type
str
- property description¶
Gets the description of this TestParserPayloadDetails. The parser description.
- Returns
The description of this TestParserPayloadDetails.
- Return type
str
- property display_name¶
Gets the display_name of this TestParserPayloadDetails. The parser display name.
- Returns
The display_name of this TestParserPayloadDetails.
- Return type
str
- property encoding¶
Gets the encoding of this TestParserPayloadDetails. The content encoding.
- Returns
The encoding of this TestParserPayloadDetails.
- Return type
str
- property example_content¶
Gets the example_content of this TestParserPayloadDetails. The example content.
- Returns
The example_content of this TestParserPayloadDetails.
- Return type
str
- property field_delimiter¶
Gets the field_delimiter of this TestParserPayloadDetails. The parser field delimiter.
- Returns
The field_delimiter of this TestParserPayloadDetails.
- Return type
str
- property field_maps¶
Gets the field_maps of this TestParserPayloadDetails. The parser fields.
- Returns
The field_maps of this TestParserPayloadDetails.
- Return type
- property field_qualifier¶
Gets the field_qualifier of this TestParserPayloadDetails. The parser field qualifier.
- Returns
The field_qualifier of this TestParserPayloadDetails.
- Return type
str
Gets the footer_content of this TestParserPayloadDetails. The footer regular expression.
- Returns
The footer_content of this TestParserPayloadDetails.
- Return type
str
- property header_content¶
Gets the header_content of this TestParserPayloadDetails. The header content.
- Returns
The header_content of this TestParserPayloadDetails.
- Return type
str
- property is_default¶
Gets the is_default of this TestParserPayloadDetails. A flag indicating if this is a default parser.
- Returns
The is_default of this TestParserPayloadDetails.
- Return type
bool
Gets the is_hidden of this TestParserPayloadDetails. A flag indicating if the parser is hidden or not.
- Returns
The is_hidden of this TestParserPayloadDetails.
- Return type
int
- property is_namespace_aware¶
Gets the is_namespace_aware of this TestParserPayloadDetails. A flag indicating whether the XML parser should consider the namespace(s) while processing the log data.
- Returns
The is_namespace_aware of this TestParserPayloadDetails.
- Return type
bool
- property is_parser_written_once¶
Gets the is_parser_written_once of this TestParserPayloadDetails. A flag indicating whether or not the parser is write once.
- Returns
The is_parser_written_once of this TestParserPayloadDetails.
- Return type
bool
- property is_position_aware¶
Gets the is_position_aware of this TestParserPayloadDetails. A flag indicating whether the parser is positionally aware.
- Returns
The is_position_aware of this TestParserPayloadDetails.
- Return type
bool
- property is_single_line_content¶
Gets the is_single_line_content of this TestParserPayloadDetails. A flag indicating if this is a single line content parser.
- Returns
The is_single_line_content of this TestParserPayloadDetails.
- Return type
bool
- property is_system¶
Gets the is_system of this TestParserPayloadDetails. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Returns
The is_system of this TestParserPayloadDetails.
- Return type
bool
- property language¶
Gets the language of this TestParserPayloadDetails. The language.
- Returns
The language of this TestParserPayloadDetails.
- Return type
str
- property log_type_test_request_version¶
Gets the log_type_test_request_version of this TestParserPayloadDetails. The log type test request version.
- Returns
The log_type_test_request_version of this TestParserPayloadDetails.
- Return type
int
- property metadata¶
Gets the metadata of this TestParserPayloadDetails.
- Returns
The metadata of this TestParserPayloadDetails.
- Return type
- property name¶
Gets the name of this TestParserPayloadDetails. The parser name.
- Returns
The name of this TestParserPayloadDetails.
- Return type
str
- property parser_functions¶
Gets the parser_functions of this TestParserPayloadDetails. The parser function list.
- Returns
The parser_functions of this TestParserPayloadDetails.
- Return type
- property parser_ignoreline_characters¶
Gets the parser_ignoreline_characters of this TestParserPayloadDetails. The line characters for the parser to ignore.
- Returns
The parser_ignoreline_characters of this TestParserPayloadDetails.
- Return type
str
- property parser_sequence¶
Gets the parser_sequence of this TestParserPayloadDetails. The parser sequence.
- Returns
The parser_sequence of this TestParserPayloadDetails.
- Return type
int
- property parser_timezone¶
Gets the parser_timezone of this TestParserPayloadDetails. The parser timezone.
- Returns
The parser_timezone of this TestParserPayloadDetails.
- Return type
str
- property should_tokenize_original_text¶
Gets the should_tokenize_original_text of this TestParserPayloadDetails. A flag indicating whether or not to tokenize the original text.
- Returns
The should_tokenize_original_text of this TestParserPayloadDetails.
- Return type
bool
- property time_updated¶
Gets the time_updated of this TestParserPayloadDetails. The last updated date.
- Returns
The time_updated of this TestParserPayloadDetails.
- Return type
datetime
- property type¶
Gets the type of this TestParserPayloadDetails. The parser type. Default value is REGEX.
Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”
- Returns
The type of this TestParserPayloadDetails.
- Return type
str