Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v2beta1.Version
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates an agent version. The new version points to the agent instance in the “default” environment. Auto-naming is currently not supported for this resource.
Create Version Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Version(name: string, args?: VersionArgs, opts?: CustomResourceOptions);
@overload
def Version(resource_name: str,
args: Optional[VersionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Version(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewVersion(ctx *Context, name string, args *VersionArgs, opts ...ResourceOption) (*Version, error)
public Version(string name, VersionArgs? args = null, CustomResourceOptions? opts = null)
public Version(String name, VersionArgs args)
public Version(String name, VersionArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v2beta1:Version
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VersionArgs
- 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 VersionArgs
- 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 VersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleversionResourceResourceFromDialogflowv2beta1 = new GoogleNative.Dialogflow.V2Beta1.Version("exampleversionResourceResourceFromDialogflowv2beta1", new()
{
Description = "string",
Location = "string",
Project = "string",
});
example, err := dialogflowv2beta1.NewVersion(ctx, "exampleversionResourceResourceFromDialogflowv2beta1", &dialogflowv2beta1.VersionArgs{
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var exampleversionResourceResourceFromDialogflowv2beta1 = new Version("exampleversionResourceResourceFromDialogflowv2beta1", VersionArgs.builder()
.description("string")
.location("string")
.project("string")
.build());
exampleversion_resource_resource_from_dialogflowv2beta1 = google_native.dialogflow.v2beta1.Version("exampleversionResourceResourceFromDialogflowv2beta1",
description="string",
location="string",
project="string")
const exampleversionResourceResourceFromDialogflowv2beta1 = new google_native.dialogflow.v2beta1.Version("exampleversionResourceResourceFromDialogflowv2beta1", {
description: "string",
location: "string",
project: "string",
});
type: google-native:dialogflow/v2beta1:Version
properties:
description: string
location: string
project: string
Version Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Version resource accepts the following input properties:
- Description string
- Optional. The developer-provided description of this version.
- Location string
- Project string
- Description string
- Optional. The developer-provided description of this version.
- Location string
- Project string
- description String
- Optional. The developer-provided description of this version.
- location String
- project String
- description string
- Optional. The developer-provided description of this version.
- location string
- project string
- description str
- Optional. The developer-provided description of this version.
- location str
- project str
- description String
- Optional. The developer-provided description of this version.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Version resource produces the following output properties:
- Create
Time string - The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- Create
Time string - The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- create
Time String - The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- version
Number Integer - The sequential number of this version. This field is read-only which means it cannot be set by create and update methods.
- create
Time string - The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- version
Number 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- create
Time String - The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- version
Number 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.