1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v2beta1
  6. getVersion

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.dialogflow/v2beta1.getVersion

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

    Retrieves the specified agent version.

    Using getVersion

    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 getVersion(args: GetVersionArgs, opts?: InvokeOptions): Promise<GetVersionResult>
    function getVersionOutput(args: GetVersionOutputArgs, opts?: InvokeOptions): Output<GetVersionResult>
    def get_version(location: Optional[str] = None,
                    project: Optional[str] = None,
                    version_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetVersionResult
    def get_version_output(location: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    version_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetVersionResult]
    func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
    func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput

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

    public static class GetVersion 
    {
        public static Task<GetVersionResult> InvokeAsync(GetVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dialogflow/v2beta1:getVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    VersionId string
    Project string
    Location string
    VersionId string
    Project string
    location String
    versionId String
    project String
    location string
    versionId string
    project string
    location String
    versionId String
    project String

    getVersion Result

    The following output properties are available:

    CreateTime string
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    Description string
    Optional. The developer-provided description of this version.
    Name string
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    Status string
    The status of this version. This field is read-only and cannot be set by create and update methods.
    VersionNumber int
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
    CreateTime string
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    Description string
    Optional. The developer-provided description of this version.
    Name string
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    Status string
    The status of this version. This field is read-only and cannot be set by create and update methods.
    VersionNumber int
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
    createTime String
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    description String
    Optional. The developer-provided description of this version.
    name String
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    status String
    The status of this version. This field is read-only and cannot be set by create and update methods.
    versionNumber Integer
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
    createTime string
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    description string
    Optional. The developer-provided description of this version.
    name string
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    status string
    The status of this version. This field is read-only and cannot be set by create and update methods.
    versionNumber number
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
    create_time str
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    description str
    Optional. The developer-provided description of this version.
    name str
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    status str
    The status of this version. This field is read-only and cannot be set by create and update methods.
    version_number int
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
    createTime String
    The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
    description String
    Optional. The developer-provided description of this version.
    name String
    The unique identifier of this agent version. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/
    status String
    The status of this version. This field is read-only and cannot be set by create and update methods.
    versionNumber Number
    The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.

    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