WorkflowState class

Input properties used for looking up and filtering Workflow resources.

Constructors

WorkflowState({Input<String?>? callLogLevel, Input<String?>? createTime, Input<String?>? cryptoKeyName, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<String?>? executionHistoryLevel, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? namePrefix, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? region, Input<String?>? revisionId, Input<String?>? serviceAccount, Input<String?>? sourceContents, Input<String?>? state, Input<Map<String, String>?>? tags, Input<String?>? updateTime, Input<Map<String, String>?>? userEnvVars})
Creates a new WorkflowState. callLogLevel Describes the level of platform logging to apply to calls and call responses during createTime The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. cryptoKeyName The KMS key used to encrypt workflow and execution data. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the workflow. Defaults to true. description Description of the workflow provided by the user. Must be at most 1000 unicode characters long. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. executionHistoryLevel Describes the level of execution history to be stored for this workflow. This configuration labels A set of key/value label pairs to assign to this Workflow. name Name of the Workflow. namePrefix Creates a unique name beginning with the project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource region The region of the workflow. revisionId The revision of the workflow. A new one is generated if the service account or source contents is changed. serviceAccount Name of the service account associated with the latest workflow version. This service sourceContents Workflow code to be executed. The size limit is 128KB. state State of the workflow deployment. tags A map of resource manager tags. Resource manager tag keys and values have the same definition updateTime The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. userEnvVars User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
const
WorkflowState.fromMap(Map<String, dynamic> map)
factory

Properties

callLogLevel → Input<String?>?
Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence. Possible values are: CALL_LOG_LEVEL_UNSPECIFIED, LOG_ALL_CALLS, LOG_ERRORS_ONLY, LOG_NONE.
final
createTime → Input<String?>?
The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
final
cryptoKeyName → Input<String?>?
The KMS key used to encrypt workflow and execution data. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
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
deletionProtection → Input<bool?>?
Whether Terraform will be prevented from destroying the workflow. Defaults to true. When aterraform destroy or pulumi up would delete the workflow, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, a pulumi up or terraform destroy that would delete the workflow will fail. When the field is set to false, deleting the workflow is allowed.
final
description → Input<String?>?
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
executionHistoryLevel → Input<String?>?
Describes the level of execution history to be stored for this workflow. This configuration determines how much information about workflow executions is preserved. If not specified, defaults to EXECUTION_HISTORY_LEVEL_UNSPECIFIED. Possible values are: EXECUTION_HISTORY_LEVEL_UNSPECIFIED, EXECUTION_HISTORY_BASIC, EXECUTION_HISTORY_DETAILED.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
A set of key/value label pairs to assign to this Workflow.
final
name → Input<String?>?
Name of the Workflow.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. If this and name are unspecified, a random value is chosen for the name.
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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
region → Input<String?>?
The region of the workflow.
final
revisionId → Input<String?>?
The revision of the workflow. A new one is generated if the service account or source contents is changed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
Name of the service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account}. Using - as a wildcard for the {project} or not providing one at all will infer the project from the account. The {account} value can be the email address or the uniqueId of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
final
sourceContents → Input<String?>?
Workflow code to be executed. The size limit is 128KB. > Warning: This field is currently optional but will become REQUIRED in version 8.0.0 of the provider to align with API constraints.
final
state → Input<String?>?
State of the workflow deployment.
final
tags → Input<Map<String, String>?>?
A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
final
updateTime → Input<String?>?
The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
final
userEnvVars → Input<Map<String, String>?>?
User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with "GOOGLE" or "WORKFLOWS".
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