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 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>
Copy
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]
Copy
func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:dialogflow/v2beta1:getVersion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
VersionId This property is required. string
Project string
Location This property is required. string
VersionId This property is required. string
Project string
location This property is required. String
versionId This property is required. String
project String
location This property is required. string
versionId This property is required. string
project string
location This property is required. str
version_id This property is required. str
project str
location This property is required. String
versionId This property is required. 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 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