1. Packages
  2. Google Cloud Native
  3. API Docs
  4. workflowexecutions
  5. workflowexecutions/v1
  6. Execution

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.workflowexecutions/v1.Execution

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new execution using the latest revision of the given workflow. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create Execution Resource

    new Execution(name: string, args: ExecutionArgs, opts?: CustomResourceOptions);
    @overload
    def Execution(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  argument: Optional[str] = None,
                  call_log_level: Optional[ExecutionCallLogLevel] = None,
                  labels: Optional[Mapping[str, str]] = None,
                  location: Optional[str] = None,
                  project: Optional[str] = None,
                  workflow_id: Optional[str] = None)
    @overload
    def Execution(resource_name: str,
                  args: ExecutionArgs,
                  opts: Optional[ResourceOptions] = None)
    func NewExecution(ctx *Context, name string, args ExecutionArgs, opts ...ResourceOption) (*Execution, error)
    public Execution(string name, ExecutionArgs args, CustomResourceOptions? opts = null)
    public Execution(String name, ExecutionArgs args)
    public Execution(String name, ExecutionArgs args, CustomResourceOptions options)
    
    type: google-native:workflowexecutions/v1:Execution
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ExecutionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExecutionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExecutionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExecutionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExecutionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Execution Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Execution resource accepts the following input properties:

    WorkflowId string
    Argument string
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    CallLogLevel Pulumi.GoogleNative.WorkflowExecutions.V1.ExecutionCallLogLevel
    The call logging level associated to this execution.
    Labels Dictionary<string, string>
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    Location string
    Project string
    WorkflowId string
    Argument string
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    CallLogLevel ExecutionCallLogLevel
    The call logging level associated to this execution.
    Labels map[string]string
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    Location string
    Project string
    workflowId String
    argument String
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    callLogLevel ExecutionCallLogLevel
    The call logging level associated to this execution.
    labels Map<String,String>
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    location String
    project String
    workflowId string
    argument string
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    callLogLevel ExecutionCallLogLevel
    The call logging level associated to this execution.
    labels {[key: string]: string}
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    location string
    project string
    workflow_id str
    argument str
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    call_log_level ExecutionCallLogLevel
    The call logging level associated to this execution.
    labels Mapping[str, str]
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    location str
    project str
    workflowId String
    argument String
    Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of argument. Example: '{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
    callLogLevel "CALL_LOG_LEVEL_UNSPECIFIED" | "LOG_ALL_CALLS" | "LOG_ERRORS_ONLY" | "LOG_NONE"
    The call logging level associated to this execution.
    labels Map<String>
    Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
    location String
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Execution resource produces the following output properties:

    Duration string
    Measures the duration of the execution.
    EndTime string
    Marks the end of execution, successful or not.
    Error Pulumi.GoogleNative.WorkflowExecutions.V1.Outputs.ErrorResponse
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    Result string
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    StartTime string
    Marks the beginning of execution.
    State string
    Current state of the execution.
    StateError Pulumi.GoogleNative.WorkflowExecutions.V1.Outputs.StateErrorResponse
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    Status Pulumi.GoogleNative.WorkflowExecutions.V1.Outputs.StatusResponse
    Status tracks the current steps and progress data of this execution.
    WorkflowRevisionId string
    Revision of the workflow this execution is using.
    Duration string
    Measures the duration of the execution.
    EndTime string
    Marks the end of execution, successful or not.
    Error ErrorResponse
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    Result string
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    StartTime string
    Marks the beginning of execution.
    State string
    Current state of the execution.
    StateError StateErrorResponse
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    Status StatusResponse
    Status tracks the current steps and progress data of this execution.
    WorkflowRevisionId string
    Revision of the workflow this execution is using.
    duration String
    Measures the duration of the execution.
    endTime String
    Marks the end of execution, successful or not.
    error ErrorResponse
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    result String
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    startTime String
    Marks the beginning of execution.
    state String
    Current state of the execution.
    stateError StateErrorResponse
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    status StatusResponse
    Status tracks the current steps and progress data of this execution.
    workflowRevisionId String
    Revision of the workflow this execution is using.
    duration string
    Measures the duration of the execution.
    endTime string
    Marks the end of execution, successful or not.
    error ErrorResponse
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    result string
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    startTime string
    Marks the beginning of execution.
    state string
    Current state of the execution.
    stateError StateErrorResponse
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    status StatusResponse
    Status tracks the current steps and progress data of this execution.
    workflowRevisionId string
    Revision of the workflow this execution is using.
    duration str
    Measures the duration of the execution.
    end_time str
    Marks the end of execution, successful or not.
    error ErrorResponse
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    result str
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    start_time str
    Marks the beginning of execution.
    state str
    Current state of the execution.
    state_error StateErrorResponse
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    status StatusResponse
    Status tracks the current steps and progress data of this execution.
    workflow_revision_id str
    Revision of the workflow this execution is using.
    duration String
    Measures the duration of the execution.
    endTime String
    Marks the end of execution, successful or not.
    error Property Map
    The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    result String
    Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
    startTime String
    Marks the beginning of execution.
    state String
    Current state of the execution.
    stateError Property Map
    Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
    status Property Map
    Status tracks the current steps and progress data of this execution.
    workflowRevisionId String
    Revision of the workflow this execution is using.

    Supporting Types

    ErrorResponse, ErrorResponseArgs

    Context string
    Human-readable stack trace string.
    Payload string
    Error message and data returned represented as a JSON string.
    StackTrace Pulumi.GoogleNative.WorkflowExecutions.V1.Inputs.StackTraceResponse
    Stack trace with detailed information of where error was generated.
    Context string
    Human-readable stack trace string.
    Payload string
    Error message and data returned represented as a JSON string.
    StackTrace StackTraceResponse
    Stack trace with detailed information of where error was generated.
    context String
    Human-readable stack trace string.
    payload String
    Error message and data returned represented as a JSON string.
    stackTrace StackTraceResponse
    Stack trace with detailed information of where error was generated.
    context string
    Human-readable stack trace string.
    payload string
    Error message and data returned represented as a JSON string.
    stackTrace StackTraceResponse
    Stack trace with detailed information of where error was generated.
    context str
    Human-readable stack trace string.
    payload str
    Error message and data returned represented as a JSON string.
    stack_trace StackTraceResponse
    Stack trace with detailed information of where error was generated.
    context String
    Human-readable stack trace string.
    payload String
    Error message and data returned represented as a JSON string.
    stackTrace Property Map
    Stack trace with detailed information of where error was generated.

    ExecutionCallLogLevel, ExecutionCallLogLevelArgs

    CallLogLevelUnspecified
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    LogAllCalls
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    LogErrorsOnly
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    LogNone
    LOG_NONEExplicitly log nothing.
    ExecutionCallLogLevelCallLogLevelUnspecified
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    ExecutionCallLogLevelLogAllCalls
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    ExecutionCallLogLevelLogErrorsOnly
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    ExecutionCallLogLevelLogNone
    LOG_NONEExplicitly log nothing.
    CallLogLevelUnspecified
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    LogAllCalls
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    LogErrorsOnly
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    LogNone
    LOG_NONEExplicitly log nothing.
    CallLogLevelUnspecified
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    LogAllCalls
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    LogErrorsOnly
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    LogNone
    LOG_NONEExplicitly log nothing.
    CALL_LOG_LEVEL_UNSPECIFIED
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    LOG_ALL_CALLS
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    LOG_ERRORS_ONLY
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    LOG_NONE
    LOG_NONEExplicitly log nothing.
    "CALL_LOG_LEVEL_UNSPECIFIED"
    CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
    "LOG_ALL_CALLS"
    LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
    "LOG_ERRORS_ONLY"
    LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
    "LOG_NONE"
    LOG_NONEExplicitly log nothing.

    PositionResponse, PositionResponseArgs

    Column string
    The source code column position (of the line) the current instruction was generated from.
    Length string
    The number of bytes of source code making up this stack trace element.
    Line string
    The source code line number the current instruction was generated from.
    Column string
    The source code column position (of the line) the current instruction was generated from.
    Length string
    The number of bytes of source code making up this stack trace element.
    Line string
    The source code line number the current instruction was generated from.
    column String
    The source code column position (of the line) the current instruction was generated from.
    length String
    The number of bytes of source code making up this stack trace element.
    line String
    The source code line number the current instruction was generated from.
    column string
    The source code column position (of the line) the current instruction was generated from.
    length string
    The number of bytes of source code making up this stack trace element.
    line string
    The source code line number the current instruction was generated from.
    column str
    The source code column position (of the line) the current instruction was generated from.
    length str
    The number of bytes of source code making up this stack trace element.
    line str
    The source code line number the current instruction was generated from.
    column String
    The source code column position (of the line) the current instruction was generated from.
    length String
    The number of bytes of source code making up this stack trace element.
    line String
    The source code line number the current instruction was generated from.

    StackTraceElementResponse, StackTraceElementResponseArgs

    Position Pulumi.GoogleNative.WorkflowExecutions.V1.Inputs.PositionResponse
    The source position information of the stack trace element.
    Routine string
    The routine where the error occurred.
    Step string
    The step the error occurred at.
    Position PositionResponse
    The source position information of the stack trace element.
    Routine string
    The routine where the error occurred.
    Step string
    The step the error occurred at.
    position PositionResponse
    The source position information of the stack trace element.
    routine String
    The routine where the error occurred.
    step String
    The step the error occurred at.
    position PositionResponse
    The source position information of the stack trace element.
    routine string
    The routine where the error occurred.
    step string
    The step the error occurred at.
    position PositionResponse
    The source position information of the stack trace element.
    routine str
    The routine where the error occurred.
    step str
    The step the error occurred at.
    position Property Map
    The source position information of the stack trace element.
    routine String
    The routine where the error occurred.
    step String
    The step the error occurred at.

    StackTraceResponse, StackTraceResponseArgs

    Elements []StackTraceElementResponse
    An array of stack elements.
    elements List<StackTraceElementResponse>
    An array of stack elements.
    elements StackTraceElementResponse[]
    An array of stack elements.
    elements List<Property Map>
    An array of stack elements.

    StateErrorResponse, StateErrorResponseArgs

    Details string
    Provides specifics about the error.
    Type string
    The type of this state error.
    Details string
    Provides specifics about the error.
    Type string
    The type of this state error.
    details String
    Provides specifics about the error.
    type String
    The type of this state error.
    details string
    Provides specifics about the error.
    type string
    The type of this state error.
    details str
    Provides specifics about the error.
    type str
    The type of this state error.
    details String
    Provides specifics about the error.
    type String
    The type of this state error.

    StatusResponse, StatusResponseArgs

    CurrentSteps List<Pulumi.GoogleNative.WorkflowExecutions.V1.Inputs.StepResponse>
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.
    CurrentSteps []StepResponse
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.
    currentSteps List<StepResponse>
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.
    currentSteps StepResponse[]
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.
    current_steps Sequence[StepResponse]
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.
    currentSteps List<Property Map>
    A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step.

    StepResponse, StepResponseArgs

    Routine string
    Name of a routine within the workflow.
    Step string
    Name of a step within the routine.
    Routine string
    Name of a routine within the workflow.
    Step string
    Name of a step within the routine.
    routine String
    Name of a routine within the workflow.
    step String
    Name of a step within the routine.
    routine string
    Name of a routine within the workflow.
    step string
    Name of a step within the routine.
    routine str
    Name of a routine within the workflow.
    step str
    Name of a step within the routine.
    routine String
    Name of a routine within the workflow.
    step String
    Name of a step within the routine.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi