CurationState class
Input properties used for looking up and filtering Curation resources.
Constructors
-
CurationState({Input<
String?> ? createTime, Input<String?> ? curationId, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, Input<CurationEndpoint?> ? endpoint, Input<String?> ? lastExecutionErrorCode, Input<String?> ? lastExecutionErrorMessage, Input<String?> ? lastExecutionState, Input<String?> ? location, Input<String?> ? name, Input<List< ? pluginInstanceActions, Input<CurationPluginInstanceAction> ?>String?> ? project, Input<String?> ? updateTime}) -
Creates a new CurationState.
createTimeThe time at which the curation was created.curationIdThe ID to use for the curation resource, which will become the finaldeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionThe description of the curation.displayNameThe display name of the curation.endpointThe endpoint to be triggered for curation.lastExecutionErrorCodeThe error code of the last execution of the curation. The error code islastExecutionErrorMessageError message describing the failure, if any, during the last execution oflastExecutionStateThe last execution state of the curation.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameIdentifier. The name of the curation.pluginInstanceActionsThe plugin instances and associated actions that are using the curation.projectThe ID of the project in which the resource belongs.updateTimeThe time at which the curation was last updated.const -
CurationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
The time at which the curation was created.
final
-
curationId
→ Input<
String?> ? -
The ID to use for the curation resource, which will become the final
component of the curations's resource name. This field is optional.
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
-
description
→ Input<
String?> ? -
The description of the curation.
final
-
displayName
→ Input<
String?> ? -
The display name of the curation.
final
-
endpoint
→ Input<
CurationEndpoint?> ? -
The endpoint to be triggered for curation.
The endpoint will be invoked with a request payload containing
ApiMetadata.
Response should contain curated data in the form of
ApiMetadata.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastExecutionErrorCode
→ Input<
String?> ? -
The error code of the last execution of the curation. The error code is
populated only when the last execution state is failed.
Possible values:
ERROR_CODE_UNSPECIFIED
INTERNAL_ERROR
UNAUTHORIZED
final
-
lastExecutionErrorMessage
→ Input<
String?> ? -
Error message describing the failure, if any, during the last execution of
the curation.
final
-
lastExecutionState
→ Input<
String?> ? -
The last execution state of the curation.
Possible values:
LAST_EXECUTION_STATE_UNSPECIFIED
SUCCEEDED
FAILED
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 -
name
→ Input<
String?> ? -
Identifier. The name of the curation.
Format:
projects/{project}/locations/{location}/curations/{curation}final -
pluginInstanceActions
→ Input<
List< ?CurationPluginInstanceAction> ?> -
The plugin instances and associated actions that are using the curation.
Note: A particular curation could be used by multiple plugin instances or
multiple actions in a plugin instance.
Structure is documented below.
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
The time at which the curation was last updated.
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