ParserState class
Input properties used for looking up and filtering Parser resources.
Constructors
-
ParserState({Input<
String?> ? cbn, Input<List< ? changelogs, Input<ParserChangelog> ?>String?> ? createTime, Input<List< ? creators, Input<ParserCreator> ?>String?> ? deletionPolicy, Input<String?> ? dynamicParsingConfig, Input<String?> ? instance, Input<String?> ? location, Input<String?> ? logtype, Input<ParserLowCode?> ? lowCode, Input<String?> ? name, Input<String?> ? parser, Input<String?> ? parserExtension, Input<String?> ? project, Input<String?> ? releaseStage, Input<String?> ? state, Input<String?> ? type, Input<bool?> ? validatedOnEmptyLogs, Input<String?> ? validationReport, Input<bool?> ? validationSkipped, Input<String?> ? validationStage, Input<ParserVersionInfo?> ? versionInfo}) -
Creates a new ParserState.
cbnif the parser is built using configchangelogsChangelogs of a parser.createTime(Output)creatorsInformation about the creator of the parser.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.dynamicParsingConfigDynamic parsing config applied over the parser, if any.instanceResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.logtypeResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.lowCodeMessage to represent LowCodeParser.namename of the parser resource.parserOutput only. The server-generated ID of the parser.parserExtensionExtension applied over the parser, if any.projectThe ID of the project in which the resource belongs.releaseStageThe release stage of the parserstateThe state of the parsertypeThe type of the parservalidatedOnEmptyLogsFlag to bypass parser validation when no logs are found.validationReportThe Validation report generated during parser validation.validationSkippedIf true, bypasses parser validation.validationStageThe validation stage of the parserversionInfoParserVersionInfo gives the version information of the parser and relatedconst -
ParserState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cbn
→ Input<
String?> ? -
if the parser is built using config
documentation:
https://cloud.google.com/chronicle/docs/preview/parser-extensions/parsing-overview
final
-
changelogs
→ Input<
List< ?ParserChangelog> ?> -
Changelogs of a parser.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
(Output)
Time at which changelog was created.
final
-
creators
→ Input<
List< ?ParserCreator> ?> -
Information about the creator of the parser.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
dynamicParsingConfig
→ Input<
String?> ? -
Dynamic parsing config applied over the parser, if any.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instance
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
location
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
logtype
→ Input<
String?> ? -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
lowCode
→ Input<
ParserLowCode?> ? -
Message to represent LowCodeParser.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
name of the parser resource.
final
-
parser
→ Input<
String?> ? -
Output only. The server-generated ID of the parser.
final
-
parserExtension
→ Input<
String?> ? -
Extension applied over the parser, if any.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
releaseStage
→ Input<
String?> ? -
The release stage of the parser
After internal validations the prebuilt parser will directly start as
Release Candidate. The releaseStage of prebuilt parsers are changed
after every release cycle:
The prebuilt Release Candidate parser is promoted as Release parser.
The existing prebuilt Release parser is moved to Rollback state.
and existing prebuilt rollback parser is moved to Archived.
In case of custom parser:
When the customer submits a validation passed custom parser it starts as
Release state.
And existing one is moved to Rollback stage.
And the existing rollback is moved to Archived.
In case a release or release candidate parser is found faulty,
the parser is marked FAULTY,
if it is release parser then rollback candidate is moved to release.
Possible values:
RELEASE
RELEASE_CANDIDATE
ROLLBACK_CANDIDATE
ARCHIVED
FAULTY
ARCHIVED_IN_USE
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
The state of the parser
Possible values:
ACTIVE
INACTIVE
final
-
type
→ Input<
String?> ? -
The type of the parser
Possible values:
CUSTOM
PREBUILT
final
-
validatedOnEmptyLogs
→ Input<
bool?> ? -
Flag to bypass parser validation when no logs are found.
If enabled, the parser won't be be rejected during the validation
phase when no logs are found.
final
-
validationReport
→ Input<
String?> ? -
The Validation report generated during parser validation.
final
-
validationSkipped
→ Input<
bool?> ? -
If true, bypasses parser validation.
If enabled, the parser won't be rejected during the validation
phase and validation will be skipped.
final
-
validationStage
→ Input<
String?> ? -
The validation stage of the parser
When a customer submits a new parser for validation, it starts with a
new stage.
When parser is picked for validation, it changes to Validation state.
If validation failed it is marked as failed, and
existing failed is moved to deleteCandidate stage.
If passes it is moved to passed stage.
If customer opts to submit it, the parser is moved to Release State.
Possible values:
NEW
VALIDATING
PASSED
FAILED
DELETE_CANDIDATE
INTERNAL_ERROR
VALIDATION_SKIPPED
final
-
versionInfo
→ Input<
ParserVersionInfo?> ? -
ParserVersionInfo gives the version information of the parser and related
properties like pinned etc.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited