1. Packages
  2. Google Cloud Native
  3. API Docs
  4. workflows
  5. workflows/v1beta
  6. getWorkflow

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.workflows/v1beta.getWorkflow

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

    Gets details of a single Workflow.

    Using getWorkflow

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
    function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>
    def get_workflow(location: Optional[str] = None,
                     project: Optional[str] = None,
                     workflow_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
    def get_workflow_output(location: Optional[pulumi.Input[str]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     workflow_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]
    func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
    func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput

    > Note: This function is named LookupWorkflow in the Go SDK.

    public static class GetWorkflow 
    {
        public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:workflows/v1beta:getWorkflow
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    WorkflowId string
    Project string
    Location string
    WorkflowId string
    Project string
    location String
    workflowId String
    project String
    location string
    workflowId string
    project string
    location String
    workflowId String
    project String

    getWorkflow Result

    The following output properties are available:

    CreateTime string
    The timestamp of when the workflow was created.
    Description string
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    Labels Dictionary<string, string>
    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.
    Name string
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    RevisionCreateTime string
    The timestamp that the latest revision of the workflow was created.
    RevisionId string
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    ServiceAccount string
    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.
    SourceContents string
    Workflow code to be executed. The size limit is 128KB.
    State string
    State of the workflow deployment.
    UpdateTime string
    The last update timestamp of the workflow.
    CreateTime string
    The timestamp of when the workflow was created.
    Description string
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    Labels map[string]string
    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.
    Name string
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    RevisionCreateTime string
    The timestamp that the latest revision of the workflow was created.
    RevisionId string
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    ServiceAccount string
    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.
    SourceContents string
    Workflow code to be executed. The size limit is 128KB.
    State string
    State of the workflow deployment.
    UpdateTime string
    The last update timestamp of the workflow.
    createTime String
    The timestamp of when the workflow was created.
    description String
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    labels Map<String,String>
    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.
    name String
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    revisionCreateTime String
    The timestamp that the latest revision of the workflow was created.
    revisionId String
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    serviceAccount String
    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.
    sourceContents String
    Workflow code to be executed. The size limit is 128KB.
    state String
    State of the workflow deployment.
    updateTime String
    The last update timestamp of the workflow.
    createTime string
    The timestamp of when the workflow was created.
    description string
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    labels {[key: string]: string}
    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.
    name string
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    revisionCreateTime string
    The timestamp that the latest revision of the workflow was created.
    revisionId string
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    serviceAccount string
    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.
    sourceContents string
    Workflow code to be executed. The size limit is 128KB.
    state string
    State of the workflow deployment.
    updateTime string
    The last update timestamp of the workflow.
    create_time str
    The timestamp of when the workflow was created.
    description str
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    labels Mapping[str, str]
    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.
    name str
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    revision_create_time str
    The timestamp that the latest revision of the workflow was created.
    revision_id str
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    service_account str
    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.
    source_contents str
    Workflow code to be executed. The size limit is 128KB.
    state str
    State of the workflow deployment.
    update_time str
    The last update timestamp of the workflow.
    createTime String
    The timestamp of when the workflow was created.
    description String
    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
    labels Map<String>
    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.
    name String
    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
    revisionCreateTime String
    The timestamp that the latest revision of the workflow was created.
    revisionId String
    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 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
    serviceAccount String
    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.
    sourceContents String
    Workflow code to be executed. The size limit is 128KB.
    state String
    State of the workflow deployment.
    updateTime String
    The last update timestamp of the workflow.

    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