Description
Example Usage
Ces Deployment Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_app = new gcp.ces.App("my-app", {
location: "us",
displayName: "my-app",
appId: "app-id",
timeZoneSettings: {
timeZone: "America/Los_Angeles",
},
});
const my_deployment = new gcp.ces.Deployment("my-deployment", {
location: "us",
displayName: "my-deployment",
app: my_app.name,
appVersion: "projects/example-project/locations/us/apps/example-app/versions/example-version",
channelProfile: {
channelType: "API",
disableBargeInControl: true,
disableDtmf: true,
personaProperty: {
persona: "CHATTY",
},
profileId: "temp_profile_id",
webWidgetConfig: {
modality: "CHAT_AND_VOICE",
theme: "DARK",
webWidgetTitle: "temp_webwidget_title",
},
},
});
import pulumi
import pulumi_gcp as gcp
my_app = gcp.ces.App("my-app",
location="us",
display_name="my-app",
app_id="app-id",
time_zone_settings={
"time_zone": "America/Los_Angeles",
})
my_deployment = gcp.ces.Deployment("my-deployment",
location="us",
display_name="my-deployment",
app=my_app.name,
app_version="projects/example-project/locations/us/apps/example-app/versions/example-version",
channel_profile={
"channel_type": "API",
"disable_barge_in_control": True,
"disable_dtmf": True,
"persona_property": {
"persona": "CHATTY",
},
"profile_id": "temp_profile_id",
"web_widget_config": {
"modality": "CHAT_AND_VOICE",
"theme": "DARK",
"web_widget_title": "temp_webwidget_title",
},
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/ces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
my_app, err := ces.NewApp(ctx, "my-app", &ces.AppArgs{
Location: pulumi.String("us"),
DisplayName: pulumi.String("my-app"),
AppId: pulumi.String("app-id"),
TimeZoneSettings: &ces.AppTimeZoneSettingsArgs{
TimeZone: pulumi.String("America/Los_Angeles"),
},
})
if err != nil {
return err
}
_, err = ces.NewDeployment(ctx, "my-deployment", &ces.DeploymentArgs{
Location: pulumi.String("us"),
DisplayName: pulumi.String("my-deployment"),
App: my_app.Name,
AppVersion: pulumi.String("projects/example-project/locations/us/apps/example-app/versions/example-version"),
ChannelProfile: &ces.DeploymentChannelProfileArgs{
ChannelType: pulumi.String("API"),
DisableBargeInControl: pulumi.Bool(true),
DisableDtmf: pulumi.Bool(true),
PersonaProperty: &ces.DeploymentChannelProfilePersonaPropertyArgs{
Persona: pulumi.String("CHATTY"),
},
ProfileId: pulumi.String("temp_profile_id"),
WebWidgetConfig: &ces.DeploymentChannelProfileWebWidgetConfigArgs{
Modality: pulumi.String("CHAT_AND_VOICE"),
Theme: pulumi.String("DARK"),
WebWidgetTitle: pulumi.String("temp_webwidget_title"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var my_app = new Gcp.Ces.App("my-app", new()
{
Location = "us",
DisplayName = "my-app",
AppId = "app-id",
TimeZoneSettings = new Gcp.Ces.Inputs.AppTimeZoneSettingsArgs
{
TimeZone = "America/Los_Angeles",
},
});
var my_deployment = new Gcp.Ces.Deployment("my-deployment", new()
{
Location = "us",
DisplayName = "my-deployment",
App = my_app.Name,
AppVersion = "projects/example-project/locations/us/apps/example-app/versions/example-version",
ChannelProfile = new Gcp.Ces.Inputs.DeploymentChannelProfileArgs
{
ChannelType = "API",
DisableBargeInControl = true,
DisableDtmf = true,
PersonaProperty = new Gcp.Ces.Inputs.DeploymentChannelProfilePersonaPropertyArgs
{
Persona = "CHATTY",
},
ProfileId = "temp_profile_id",
WebWidgetConfig = new Gcp.Ces.Inputs.DeploymentChannelProfileWebWidgetConfigArgs
{
Modality = "CHAT_AND_VOICE",
Theme = "DARK",
WebWidgetTitle = "temp_webwidget_title",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.ces.App;
import com.pulumi.gcp.ces.AppArgs;
import com.pulumi.gcp.ces.inputs.AppTimeZoneSettingsArgs;
import com.pulumi.gcp.ces.Deployment;
import com.pulumi.gcp.ces.DeploymentArgs;
import com.pulumi.gcp.ces.inputs.DeploymentChannelProfileArgs;
import com.pulumi.gcp.ces.inputs.DeploymentChannelProfilePersonaPropertyArgs;
import com.pulumi.gcp.ces.inputs.DeploymentChannelProfileWebWidgetConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var my_app = new App("my-app", AppArgs.builder()
.location("us")
.displayName("my-app")
.appId("app-id")
.timeZoneSettings(AppTimeZoneSettingsArgs.builder()
.timeZone("America/Los_Angeles")
.build())
.build());
var my_deployment = new Deployment("my-deployment", DeploymentArgs.builder()
.location("us")
.displayName("my-deployment")
.app(my_app.name())
.appVersion("projects/example-project/locations/us/apps/example-app/versions/example-version")
.channelProfile(DeploymentChannelProfileArgs.builder()
.channelType("API")
.disableBargeInControl(true)
.disableDtmf(true)
.personaProperty(DeploymentChannelProfilePersonaPropertyArgs.builder()
.persona("CHATTY")
.build())
.profileId("temp_profile_id")
.webWidgetConfig(DeploymentChannelProfileWebWidgetConfigArgs.builder()
.modality("CHAT_AND_VOICE")
.theme("DARK")
.webWidgetTitle("temp_webwidget_title")
.build())
.build())
.build());
}
}
resources:
my-app:
type: gcp:ces:App
properties:
location: us
displayName: my-app
appId: app-id
timeZoneSettings:
timeZone: America/Los_Angeles
my-deployment:
type: gcp:ces:Deployment
properties:
location: us
displayName: my-deployment
app: ${["my-app"].name}
appVersion: projects/example-project/locations/us/apps/example-app/versions/example-version
channelProfile:
channelType: API
disableBargeInControl: true
disableDtmf: true
personaProperty:
persona: CHATTY
profileId: temp_profile_id
webWidgetConfig:
modality: CHAT_AND_VOICE
theme: DARK
webWidgetTitle: temp_webwidget_title
Create Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
app: Optional[str] = None,
app_version: Optional[str] = None,
channel_profile: Optional[DeploymentChannelProfileArgs] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: gcp:ces:Deployment
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 DeploymentArgs
- 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 DeploymentArgs
- 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 DeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentArgs
- 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 deploymentResource = new Gcp.Ces.Deployment("deploymentResource", new()
{
App = "string",
AppVersion = "string",
ChannelProfile = new Gcp.Ces.Inputs.DeploymentChannelProfileArgs
{
ChannelType = "string",
DisableBargeInControl = false,
DisableDtmf = false,
PersonaProperty = new Gcp.Ces.Inputs.DeploymentChannelProfilePersonaPropertyArgs
{
Persona = "string",
},
ProfileId = "string",
WebWidgetConfig = new Gcp.Ces.Inputs.DeploymentChannelProfileWebWidgetConfigArgs
{
Modality = "string",
Theme = "string",
WebWidgetTitle = "string",
},
},
DisplayName = "string",
Location = "string",
Project = "string",
});
example, err := ces.NewDeployment(ctx, "deploymentResource", &ces.DeploymentArgs{
App: pulumi.String("string"),
AppVersion: pulumi.String("string"),
ChannelProfile: &ces.DeploymentChannelProfileArgs{
ChannelType: pulumi.String("string"),
DisableBargeInControl: pulumi.Bool(false),
DisableDtmf: pulumi.Bool(false),
PersonaProperty: &ces.DeploymentChannelProfilePersonaPropertyArgs{
Persona: pulumi.String("string"),
},
ProfileId: pulumi.String("string"),
WebWidgetConfig: &ces.DeploymentChannelProfileWebWidgetConfigArgs{
Modality: pulumi.String("string"),
Theme: pulumi.String("string"),
WebWidgetTitle: pulumi.String("string"),
},
},
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var deploymentResource = new com.pulumi.gcp.ces.Deployment("deploymentResource", com.pulumi.gcp.ces.DeploymentArgs.builder()
.app("string")
.appVersion("string")
.channelProfile(DeploymentChannelProfileArgs.builder()
.channelType("string")
.disableBargeInControl(false)
.disableDtmf(false)
.personaProperty(DeploymentChannelProfilePersonaPropertyArgs.builder()
.persona("string")
.build())
.profileId("string")
.webWidgetConfig(DeploymentChannelProfileWebWidgetConfigArgs.builder()
.modality("string")
.theme("string")
.webWidgetTitle("string")
.build())
.build())
.displayName("string")
.location("string")
.project("string")
.build());
deployment_resource = gcp.ces.Deployment("deploymentResource",
app="string",
app_version="string",
channel_profile={
"channel_type": "string",
"disable_barge_in_control": False,
"disable_dtmf": False,
"persona_property": {
"persona": "string",
},
"profile_id": "string",
"web_widget_config": {
"modality": "string",
"theme": "string",
"web_widget_title": "string",
},
},
display_name="string",
location="string",
project="string")
const deploymentResource = new gcp.ces.Deployment("deploymentResource", {
app: "string",
appVersion: "string",
channelProfile: {
channelType: "string",
disableBargeInControl: false,
disableDtmf: false,
personaProperty: {
persona: "string",
},
profileId: "string",
webWidgetConfig: {
modality: "string",
theme: "string",
webWidgetTitle: "string",
},
},
displayName: "string",
location: "string",
project: "string",
});
type: gcp:ces:Deployment
properties:
app: string
appVersion: string
channelProfile:
channelType: string
disableBargeInControl: false
disableDtmf: false
personaProperty:
persona: string
profileId: string
webWidgetConfig:
modality: string
theme: string
webWidgetTitle: string
displayName: string
location: string
project: string
Deployment 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 Deployment resource accepts the following input properties:
- App string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - App
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- Channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- Display
Name string - Display name of the deployment.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- App string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - App
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- Channel
Profile DeploymentChannel Profile Args - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- Display
Name string - Display name of the deployment.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- app String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version String - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- display
Name String - Display name of the deployment.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- app string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- display
Name string - Display name of the deployment.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- app str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app_
version str - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel_
profile DeploymentChannel Profile Args - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- display_
name str - Display name of the deployment.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- app String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version String - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile Property Map - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- display
Name String - Display name of the deployment.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:
- Create
Time string - Timestamp when this deployment was created.
- Etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- Update
Time string - Timestamp when this deployment was last updated.
- Create
Time string - Timestamp when this deployment was created.
- Etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- Update
Time string - Timestamp when this deployment was last updated.
- create
Time String - Timestamp when this deployment was created.
- etag String
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- update
Time String - Timestamp when this deployment was last updated.
- create
Time string - Timestamp when this deployment was created.
- etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- update
Time string - Timestamp when this deployment was last updated.
- create_
time str - Timestamp when this deployment was created.
- etag str
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- update_
time str - Timestamp when this deployment was last updated.
- create
Time String - Timestamp when this deployment was created.
- etag String
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- update
Time String - Timestamp when this deployment was last updated.
Look up Existing Deployment Resource
Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DeploymentState, opts?: CustomResourceOptions): Deployment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app: Optional[str] = None,
app_version: Optional[str] = None,
channel_profile: Optional[DeploymentChannelProfileArgs] = None,
create_time: Optional[str] = None,
display_name: Optional[str] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
update_time: Optional[str] = None) -> Deploymentfunc GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)public static Deployment get(String name, Output<String> id, DeploymentState state, CustomResourceOptions options)resources: _: type: gcp:ces:Deployment get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - App
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- Channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- Create
Time string - Timestamp when this deployment was created.
- Display
Name string - Display name of the deployment.
- Etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Update
Time string - Timestamp when this deployment was last updated.
- App string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - App
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- Channel
Profile DeploymentChannel Profile Args - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- Create
Time string - Timestamp when this deployment was created.
- Display
Name string - Display name of the deployment.
- Etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Update
Time string - Timestamp when this deployment was last updated.
- app String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version String - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- create
Time String - Timestamp when this deployment was created.
- display
Name String - Display name of the deployment.
- etag String
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- update
Time String - Timestamp when this deployment was last updated.
- app string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version string - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile DeploymentChannel Profile - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- create
Time string - Timestamp when this deployment was created.
- display
Name string - Display name of the deployment.
- etag string
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- update
Time string - Timestamp when this deployment was last updated.
- app str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app_
version str - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel_
profile DeploymentChannel Profile Args - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- create_
time str - Timestamp when this deployment was created.
- display_
name str - Display name of the deployment.
- etag str
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- update_
time str - Timestamp when this deployment was last updated.
- app String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - app
Version String - The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}
- channel
Profile Property Map - A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony. Structure is documented below.
- create
Time String - Timestamp when this deployment was created.
- display
Name String - Display name of the deployment.
- etag String
- Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- update
Time String - Timestamp when this deployment was last updated.
Supporting Types
DeploymentChannelProfile, DeploymentChannelProfileArgs
- Channel
Type string - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- Disable
Barge boolIn Control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- Disable
Dtmf bool - Whether to disable DTMF (dual-tone multi-frequency).
- Persona
Property DeploymentChannel Profile Persona Property - Represents the persona property of a channel. Structure is documented below.
- Profile
Id string - The unique identifier of the channel profile.
- Web
Widget DeploymentConfig Channel Profile Web Widget Config - Message for configuration for the web widget. Structure is documented below.
- Channel
Type string - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- Disable
Barge boolIn Control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- Disable
Dtmf bool - Whether to disable DTMF (dual-tone multi-frequency).
- Persona
Property DeploymentChannel Profile Persona Property - Represents the persona property of a channel. Structure is documented below.
- Profile
Id string - The unique identifier of the channel profile.
- Web
Widget DeploymentConfig Channel Profile Web Widget Config - Message for configuration for the web widget. Structure is documented below.
- channel
Type String - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- disable
Barge BooleanIn Control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- disable
Dtmf Boolean - Whether to disable DTMF (dual-tone multi-frequency).
- persona
Property DeploymentChannel Profile Persona Property - Represents the persona property of a channel. Structure is documented below.
- profile
Id String - The unique identifier of the channel profile.
- web
Widget DeploymentConfig Channel Profile Web Widget Config - Message for configuration for the web widget. Structure is documented below.
- channel
Type string - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- disable
Barge booleanIn Control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- disable
Dtmf boolean - Whether to disable DTMF (dual-tone multi-frequency).
- persona
Property DeploymentChannel Profile Persona Property - Represents the persona property of a channel. Structure is documented below.
- profile
Id string - The unique identifier of the channel profile.
- web
Widget DeploymentConfig Channel Profile Web Widget Config - Message for configuration for the web widget. Structure is documented below.
- channel_
type str - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- disable_
barge_ boolin_ control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- disable_
dtmf bool - Whether to disable DTMF (dual-tone multi-frequency).
- persona_
property DeploymentChannel Profile Persona Property - Represents the persona property of a channel. Structure is documented below.
- profile_
id str - The unique identifier of the channel profile.
- web_
widget_ Deploymentconfig Channel Profile Web Widget Config - Message for configuration for the web widget. Structure is documented below.
- channel
Type String - The type of the channel profile. Possible values: UNKNOWN WEB_UI API TWILIO GOOGLE_TELEPHONY_PLATFORM CONTACT_CENTER_AS_A_SERVICE
- disable
Barge BooleanIn Control - Whether to disable user barge-in control in the conversation.
- true: User interruptions are disabled while the agent is speaking.
- false: The agent retains automatic control over when the user can interrupt.
- disable
Dtmf Boolean - Whether to disable DTMF (dual-tone multi-frequency).
- persona
Property Property Map - Represents the persona property of a channel. Structure is documented below.
- profile
Id String - The unique identifier of the channel profile.
- web
Widget Property MapConfig - Message for configuration for the web widget. Structure is documented below.
DeploymentChannelProfilePersonaProperty, DeploymentChannelProfilePersonaPropertyArgs
- Persona string
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
- Persona string
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
- persona String
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
- persona string
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
- persona str
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
- persona String
- The persona of the channel. Possible values: UNKNOWN CONCISE CHATTY
DeploymentChannelProfileWebWidgetConfig, DeploymentChannelProfileWebWidgetConfigArgs
- Modality string
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- Theme string
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- Web
Widget stringTitle - The title of the web widget.
- Modality string
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- Theme string
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- Web
Widget stringTitle - The title of the web widget.
- modality String
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- theme String
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- web
Widget StringTitle - The title of the web widget.
- modality string
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- theme string
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- web
Widget stringTitle - The title of the web widget.
- modality str
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- theme str
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- web_
widget_ strtitle - The title of the web widget.
- modality String
- The modality of the web widget. Possible values: UNKNOWN_MODALITY CHAT_AND_VOICE VOICE_ONLY CHAT_ONLY
- theme String
- The theme of the web widget. Possible values: UNKNOWN_THEME LIGHT DARK
- web
Widget StringTitle - The title of the web widget.
Import
Deployment can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/apps/{{app}}/deployments/{{name}}{{project}}/{{location}}/{{app}}/{{name}}{{location}}/{{app}}/{{name}}
When using the pulumi import command, Deployment can be imported using one of the formats above. For example:
$ pulumi import gcp:ces/deployment:Deployment default projects/{{project}}/locations/{{location}}/apps/{{app}}/deployments/{{name}}
$ pulumi import gcp:ces/deployment:Deployment default {{project}}/{{location}}/{{app}}/{{name}}
$ pulumi import gcp:ces/deployment:Deployment default {{location}}/{{app}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
