Documentation ¶
Index ¶
- Constants
- type LookupWorkflowArgs
- type LookupWorkflowOutputArgs
- type LookupWorkflowResult
- type LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) CallLogLevel() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) CryptoKeyName() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) Description() pulumi.StringOutput
- func (LookupWorkflowResultOutput) ElementType() reflect.Type
- func (o LookupWorkflowResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupWorkflowResultOutput) Name() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) RevisionCreateTime() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) RevisionId() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) ServiceAccount() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) SourceContents() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) State() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) StateError() StateErrorResponseOutput
- func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutput() LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx context.Context) LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) UpdateTime() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) UserEnvVars() pulumi.StringMapOutput
- type StateErrorResponse
- type StateErrorResponseOutput
- func (o StateErrorResponseOutput) Details() pulumi.StringOutput
- func (StateErrorResponseOutput) ElementType() reflect.Type
- func (o StateErrorResponseOutput) ToStateErrorResponseOutput() StateErrorResponseOutput
- func (o StateErrorResponseOutput) ToStateErrorResponseOutputWithContext(ctx context.Context) StateErrorResponseOutput
- func (o StateErrorResponseOutput) Type() pulumi.StringOutput
- type Workflow
- type WorkflowArgs
- type WorkflowCallLogLevel
- func (WorkflowCallLogLevel) ElementType() reflect.Type
- func (e WorkflowCallLogLevel) ToStringOutput() pulumi.StringOutput
- func (e WorkflowCallLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e WorkflowCallLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e WorkflowCallLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelOutput() WorkflowCallLogLevelOutput
- func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelOutputWithContext(ctx context.Context) WorkflowCallLogLevelOutput
- func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
- func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
- type WorkflowCallLogLevelInput
- type WorkflowCallLogLevelOutput
- func (WorkflowCallLogLevelOutput) ElementType() reflect.Type
- func (o WorkflowCallLogLevelOutput) ToStringOutput() pulumi.StringOutput
- func (o WorkflowCallLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o WorkflowCallLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o WorkflowCallLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutput() WorkflowCallLogLevelOutput
- func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutputWithContext(ctx context.Context) WorkflowCallLogLevelOutput
- func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
- func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
- type WorkflowCallLogLevelPtrInput
- type WorkflowCallLogLevelPtrOutput
- func (o WorkflowCallLogLevelPtrOutput) Elem() WorkflowCallLogLevelOutput
- func (WorkflowCallLogLevelPtrOutput) ElementType() reflect.Type
- func (o WorkflowCallLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o WorkflowCallLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- func (o WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
- func (o WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
- type WorkflowInput
- type WorkflowOutput
- func (o WorkflowOutput) CallLogLevel() pulumi.StringOutput
- func (o WorkflowOutput) CreateTime() pulumi.StringOutput
- func (o WorkflowOutput) CryptoKeyName() pulumi.StringOutput
- func (o WorkflowOutput) Description() pulumi.StringOutput
- func (WorkflowOutput) ElementType() reflect.Type
- func (o WorkflowOutput) Labels() pulumi.StringMapOutput
- func (o WorkflowOutput) Location() pulumi.StringOutput
- func (o WorkflowOutput) Name() pulumi.StringOutput
- func (o WorkflowOutput) Project() pulumi.StringOutput
- func (o WorkflowOutput) RevisionCreateTime() pulumi.StringOutput
- func (o WorkflowOutput) RevisionId() pulumi.StringOutput
- func (o WorkflowOutput) ServiceAccount() pulumi.StringOutput
- func (o WorkflowOutput) SourceContents() pulumi.StringOutput
- func (o WorkflowOutput) State() pulumi.StringOutput
- func (o WorkflowOutput) StateError() StateErrorResponseOutput
- func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput
- func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
- func (o WorkflowOutput) UpdateTime() pulumi.StringOutput
- func (o WorkflowOutput) UserEnvVars() pulumi.StringMapOutput
- func (o WorkflowOutput) WorkflowId() pulumi.StringOutput
- type WorkflowState
Constants ¶
const ( // No call logging level specified. WorkflowCallLogLevelCallLogLevelUnspecified = WorkflowCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED") // Log all call steps within workflows, all call returns, and all exceptions raised. WorkflowCallLogLevelLogAllCalls = WorkflowCallLogLevel("LOG_ALL_CALLS") // Log only exceptions that are raised from call steps within workflows. WorkflowCallLogLevelLogErrorsOnly = WorkflowCallLogLevel("LOG_ERRORS_ONLY") // Explicitly log nothing. WorkflowCallLogLevelLogNone = WorkflowCallLogLevel("LOG_NONE") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupWorkflowArgs ¶ added in v0.4.0
type LookupWorkflowOutputArgs ¶ added in v0.8.0
type LookupWorkflowOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` RevisionId pulumi.StringPtrInput `pulumi:"revisionId"` WorkflowId pulumi.StringInput `pulumi:"workflowId"` }
func (LookupWorkflowOutputArgs) ElementType ¶ added in v0.8.0
func (LookupWorkflowOutputArgs) ElementType() reflect.Type
type LookupWorkflowResult ¶ added in v0.4.0
type LookupWorkflowResult struct { // Optional. 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. CallLogLevel string `pulumi:"callLogLevel"` // The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision. CreateTime string `pulumi:"createTime"` // Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted. CryptoKeyName string `pulumi:"cryptoKeyName"` // Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision. Description string `pulumi:"description"` // Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision. Labels map[string]string `pulumi:"labels"` // The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision. Name string `pulumi:"name"` // The timestamp for the latest revision of the workflow's creation. RevisionCreateTime string `pulumi:"revisionCreateTime"` // The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters. RevisionId string `pulumi:"revisionId"` // 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 `unique_id` 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. ServiceAccount string `pulumi:"serviceAccount"` // Workflow code to be executed. The size limit is 128KB. SourceContents string `pulumi:"sourceContents"` // State of the workflow deployment. State string `pulumi:"state"` // Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. StateError StateErrorResponse `pulumi:"stateError"` // The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision. UpdateTime string `pulumi:"updateTime"` // Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS". UserEnvVars map[string]string `pulumi:"userEnvVars"` }
func LookupWorkflow ¶ added in v0.4.0
func LookupWorkflow(ctx *pulumi.Context, args *LookupWorkflowArgs, opts ...pulumi.InvokeOption) (*LookupWorkflowResult, error)
Gets details of a single workflow.
type LookupWorkflowResultOutput ¶ added in v0.8.0
type LookupWorkflowResultOutput struct{ *pulumi.OutputState }
func LookupWorkflowOutput ¶ added in v0.8.0
func LookupWorkflowOutput(ctx *pulumi.Context, args LookupWorkflowOutputArgs, opts ...pulumi.InvokeOption) LookupWorkflowResultOutput
func (LookupWorkflowResultOutput) CallLogLevel ¶ added in v0.29.0
func (o LookupWorkflowResultOutput) CallLogLevel() pulumi.StringOutput
Optional. 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.
func (LookupWorkflowResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) CreateTime() pulumi.StringOutput
The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
func (LookupWorkflowResultOutput) CryptoKeyName ¶ added in v0.29.0
func (o LookupWorkflowResultOutput) CryptoKeyName() pulumi.StringOutput
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.
func (LookupWorkflowResultOutput) Description ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) Description() pulumi.StringOutput
Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.
func (LookupWorkflowResultOutput) ElementType ¶ added in v0.8.0
func (LookupWorkflowResultOutput) ElementType() reflect.Type
func (LookupWorkflowResultOutput) Labels ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) Labels() pulumi.StringMapOutput
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision.
func (LookupWorkflowResultOutput) Name ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) Name() pulumi.StringOutput
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.
func (LookupWorkflowResultOutput) RevisionCreateTime ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) RevisionCreateTime() pulumi.StringOutput
The timestamp for the latest revision of the workflow's creation.
func (LookupWorkflowResultOutput) RevisionId ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) RevisionId() pulumi.StringOutput
The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters.
func (LookupWorkflowResultOutput) ServiceAccount ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) ServiceAccount() pulumi.StringOutput
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 `unique_id` 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.
func (LookupWorkflowResultOutput) SourceContents ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) SourceContents() pulumi.StringOutput
Workflow code to be executed. The size limit is 128KB.
func (LookupWorkflowResultOutput) State ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) State() pulumi.StringOutput
State of the workflow deployment.
func (LookupWorkflowResultOutput) StateError ¶ added in v0.29.0
func (o LookupWorkflowResultOutput) StateError() StateErrorResponseOutput
Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
func (LookupWorkflowResultOutput) ToLookupWorkflowResultOutput ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutput() LookupWorkflowResultOutput
func (LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx context.Context) LookupWorkflowResultOutput
func (LookupWorkflowResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) UpdateTime() pulumi.StringOutput
The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
func (LookupWorkflowResultOutput) UserEnvVars ¶ added in v0.32.0
func (o LookupWorkflowResultOutput) UserEnvVars() pulumi.StringMapOutput
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
type StateErrorResponse ¶ added in v0.29.0
type StateErrorResponse struct { // Provides specifics about the error. Details string `pulumi:"details"` // The type of this state error. Type string `pulumi:"type"` }
Describes an error related to the current state of the workflow.
type StateErrorResponseOutput ¶ added in v0.29.0
type StateErrorResponseOutput struct{ *pulumi.OutputState }
Describes an error related to the current state of the workflow.
func (StateErrorResponseOutput) Details ¶ added in v0.29.0
func (o StateErrorResponseOutput) Details() pulumi.StringOutput
Provides specifics about the error.
func (StateErrorResponseOutput) ElementType ¶ added in v0.29.0
func (StateErrorResponseOutput) ElementType() reflect.Type
func (StateErrorResponseOutput) ToStateErrorResponseOutput ¶ added in v0.29.0
func (o StateErrorResponseOutput) ToStateErrorResponseOutput() StateErrorResponseOutput
func (StateErrorResponseOutput) ToStateErrorResponseOutputWithContext ¶ added in v0.29.0
func (o StateErrorResponseOutput) ToStateErrorResponseOutputWithContext(ctx context.Context) StateErrorResponseOutput
func (StateErrorResponseOutput) Type ¶ added in v0.29.0
func (o StateErrorResponseOutput) Type() pulumi.StringOutput
The type of this state error.
type Workflow ¶
type Workflow struct { pulumi.CustomResourceState // Optional. 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. CallLogLevel pulumi.StringOutput `pulumi:"callLogLevel"` // The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted. CryptoKeyName pulumi.StringOutput `pulumi:"cryptoKeyName"` // Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision. Description pulumi.StringOutput `pulumi:"description"` // Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision. Labels pulumi.StringMapOutput `pulumi:"labels"` Location pulumi.StringOutput `pulumi:"location"` // The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision. Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // The timestamp for the latest revision of the workflow's creation. RevisionCreateTime pulumi.StringOutput `pulumi:"revisionCreateTime"` // The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters. RevisionId pulumi.StringOutput `pulumi:"revisionId"` // 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 `unique_id` 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. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` // Workflow code to be executed. The size limit is 128KB. SourceContents pulumi.StringOutput `pulumi:"sourceContents"` // State of the workflow deployment. State pulumi.StringOutput `pulumi:"state"` // Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. StateError StateErrorResponseOutput `pulumi:"stateError"` // The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS". UserEnvVars pulumi.StringMapOutput `pulumi:"userEnvVars"` // Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location. WorkflowId pulumi.StringOutput `pulumi:"workflowId"` }
Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a ALREADY_EXISTS error.
func GetWorkflow ¶
func GetWorkflow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkflowState, opts ...pulumi.ResourceOption) (*Workflow, error)
GetWorkflow gets an existing Workflow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkflow ¶
func NewWorkflow(ctx *pulumi.Context, name string, args *WorkflowArgs, opts ...pulumi.ResourceOption) (*Workflow, error)
NewWorkflow registers a new resource with the given unique name, arguments, and options.
func (*Workflow) ElementType ¶
func (*Workflow) ToWorkflowOutput ¶
func (i *Workflow) ToWorkflowOutput() WorkflowOutput
func (*Workflow) ToWorkflowOutputWithContext ¶
func (i *Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
type WorkflowArgs ¶
type WorkflowArgs struct { // Optional. 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. CallLogLevel WorkflowCallLogLevelPtrInput // Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted. CryptoKeyName pulumi.StringPtrInput // Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision. Description pulumi.StringPtrInput // Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision. Labels pulumi.StringMapInput Location pulumi.StringPtrInput // The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision. Name pulumi.StringPtrInput Project pulumi.StringPtrInput // 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 `unique_id` 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. ServiceAccount pulumi.StringPtrInput // Workflow code to be executed. The size limit is 128KB. SourceContents pulumi.StringPtrInput // Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS". UserEnvVars pulumi.StringMapInput // Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location. WorkflowId pulumi.StringInput }
The set of arguments for constructing a Workflow resource.
func (WorkflowArgs) ElementType ¶
func (WorkflowArgs) ElementType() reflect.Type
type WorkflowCallLogLevel ¶ added in v0.29.0
type WorkflowCallLogLevel string
Optional. 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.
func (WorkflowCallLogLevel) ElementType ¶ added in v0.29.0
func (WorkflowCallLogLevel) ElementType() reflect.Type
func (WorkflowCallLogLevel) ToStringOutput ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToStringOutput() pulumi.StringOutput
func (WorkflowCallLogLevel) ToStringOutputWithContext ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (WorkflowCallLogLevel) ToStringPtrOutput ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput
func (WorkflowCallLogLevel) ToStringPtrOutputWithContext ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (WorkflowCallLogLevel) ToWorkflowCallLogLevelOutput ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelOutput() WorkflowCallLogLevelOutput
func (WorkflowCallLogLevel) ToWorkflowCallLogLevelOutputWithContext ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelOutputWithContext(ctx context.Context) WorkflowCallLogLevelOutput
func (WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutput ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
func (WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutputWithContext ¶ added in v0.29.0
func (e WorkflowCallLogLevel) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
type WorkflowCallLogLevelInput ¶ added in v0.29.0
type WorkflowCallLogLevelInput interface { pulumi.Input ToWorkflowCallLogLevelOutput() WorkflowCallLogLevelOutput ToWorkflowCallLogLevelOutputWithContext(context.Context) WorkflowCallLogLevelOutput }
WorkflowCallLogLevelInput is an input type that accepts WorkflowCallLogLevelArgs and WorkflowCallLogLevelOutput values. You can construct a concrete instance of `WorkflowCallLogLevelInput` via:
WorkflowCallLogLevelArgs{...}
type WorkflowCallLogLevelOutput ¶ added in v0.29.0
type WorkflowCallLogLevelOutput struct{ *pulumi.OutputState }
func (WorkflowCallLogLevelOutput) ElementType ¶ added in v0.29.0
func (WorkflowCallLogLevelOutput) ElementType() reflect.Type
func (WorkflowCallLogLevelOutput) ToStringOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToStringOutput() pulumi.StringOutput
func (WorkflowCallLogLevelOutput) ToStringOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (WorkflowCallLogLevelOutput) ToStringPtrOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (WorkflowCallLogLevelOutput) ToStringPtrOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutput() WorkflowCallLogLevelOutput
func (WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelOutputWithContext(ctx context.Context) WorkflowCallLogLevelOutput
func (WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
func (WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
type WorkflowCallLogLevelPtrInput ¶ added in v0.29.0
type WorkflowCallLogLevelPtrInput interface { pulumi.Input ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput ToWorkflowCallLogLevelPtrOutputWithContext(context.Context) WorkflowCallLogLevelPtrOutput }
func WorkflowCallLogLevelPtr ¶ added in v0.29.0
func WorkflowCallLogLevelPtr(v string) WorkflowCallLogLevelPtrInput
type WorkflowCallLogLevelPtrOutput ¶ added in v0.29.0
type WorkflowCallLogLevelPtrOutput struct{ *pulumi.OutputState }
func (WorkflowCallLogLevelPtrOutput) Elem ¶ added in v0.29.0
func (o WorkflowCallLogLevelPtrOutput) Elem() WorkflowCallLogLevelOutput
func (WorkflowCallLogLevelPtrOutput) ElementType ¶ added in v0.29.0
func (WorkflowCallLogLevelPtrOutput) ElementType() reflect.Type
func (WorkflowCallLogLevelPtrOutput) ToStringPtrOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (WorkflowCallLogLevelPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
func (WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutput ¶ added in v0.29.0
func (o WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutput() WorkflowCallLogLevelPtrOutput
func (WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutputWithContext ¶ added in v0.29.0
func (o WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutputWithContext(ctx context.Context) WorkflowCallLogLevelPtrOutput
type WorkflowInput ¶
type WorkflowInput interface { pulumi.Input ToWorkflowOutput() WorkflowOutput ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput }
type WorkflowOutput ¶
type WorkflowOutput struct{ *pulumi.OutputState }
func (WorkflowOutput) CallLogLevel ¶ added in v0.29.0
func (o WorkflowOutput) CallLogLevel() pulumi.StringOutput
Optional. 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.
func (WorkflowOutput) CreateTime ¶ added in v0.19.0
func (o WorkflowOutput) CreateTime() pulumi.StringOutput
The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.
func (WorkflowOutput) CryptoKeyName ¶ added in v0.29.0
func (o WorkflowOutput) CryptoKeyName() pulumi.StringOutput
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.
func (WorkflowOutput) Description ¶ added in v0.19.0
func (o WorkflowOutput) Description() pulumi.StringOutput
Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.
func (WorkflowOutput) ElementType ¶
func (WorkflowOutput) ElementType() reflect.Type
func (WorkflowOutput) Labels ¶ added in v0.19.0
func (o WorkflowOutput) Labels() pulumi.StringMapOutput
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision.
func (WorkflowOutput) Location ¶ added in v0.21.0
func (o WorkflowOutput) Location() pulumi.StringOutput
func (WorkflowOutput) Name ¶ added in v0.19.0
func (o WorkflowOutput) Name() pulumi.StringOutput
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.
func (WorkflowOutput) Project ¶ added in v0.21.0
func (o WorkflowOutput) Project() pulumi.StringOutput
func (WorkflowOutput) RevisionCreateTime ¶ added in v0.19.0
func (o WorkflowOutput) RevisionCreateTime() pulumi.StringOutput
The timestamp for the latest revision of the workflow's creation.
func (WorkflowOutput) RevisionId ¶ added in v0.19.0
func (o WorkflowOutput) RevisionId() pulumi.StringOutput
The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters.
func (WorkflowOutput) ServiceAccount ¶ added in v0.19.0
func (o WorkflowOutput) ServiceAccount() pulumi.StringOutput
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 `unique_id` 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.
func (WorkflowOutput) SourceContents ¶ added in v0.19.0
func (o WorkflowOutput) SourceContents() pulumi.StringOutput
Workflow code to be executed. The size limit is 128KB.
func (WorkflowOutput) State ¶ added in v0.19.0
func (o WorkflowOutput) State() pulumi.StringOutput
State of the workflow deployment.
func (WorkflowOutput) StateError ¶ added in v0.29.0
func (o WorkflowOutput) StateError() StateErrorResponseOutput
Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
func (WorkflowOutput) ToWorkflowOutput ¶
func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput
func (WorkflowOutput) ToWorkflowOutputWithContext ¶
func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
func (WorkflowOutput) UpdateTime ¶ added in v0.19.0
func (o WorkflowOutput) UpdateTime() pulumi.StringOutput
The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.
func (WorkflowOutput) UserEnvVars ¶ added in v0.32.0
func (o WorkflowOutput) UserEnvVars() pulumi.StringMapOutput
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
func (WorkflowOutput) WorkflowId ¶ added in v0.21.0
func (o WorkflowOutput) WorkflowId() pulumi.StringOutput
Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.
type WorkflowState ¶
type WorkflowState struct { }
func (WorkflowState) ElementType ¶
func (WorkflowState) ElementType() reflect.Type