published on Sunday, Oct 11, 2026 by Descope
published on Sunday, Oct 11, 2026 by Descope
Manages a Google Cloud Translation connector and its configuration in a Descope project. Localize the language of your login and user journey screens with the Google Cloud Translation connector.
Create GoogleCloudTranslationConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GoogleCloudTranslationConnector(name: string, args: GoogleCloudTranslationConnectorArgs, opts?: CustomResourceOptions);@overload
def GoogleCloudTranslationConnector(resource_name: str,
args: GoogleCloudTranslationConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GoogleCloudTranslationConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_project_id: Optional[str] = None,
project_id: Optional[str] = None,
service_account_json: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None)func NewGoogleCloudTranslationConnector(ctx *Context, name string, args GoogleCloudTranslationConnectorArgs, opts ...ResourceOption) (*GoogleCloudTranslationConnector, error)public GoogleCloudTranslationConnector(string name, GoogleCloudTranslationConnectorArgs args, CustomResourceOptions? opts = null)
public GoogleCloudTranslationConnector(String name, GoogleCloudTranslationConnectorArgs args)
public GoogleCloudTranslationConnector(String name, GoogleCloudTranslationConnectorArgs args, CustomResourceOptions options)
type: descope:GoogleCloudTranslationConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "descope_google_cloud_translation_connector" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GoogleCloudTranslationConnectorArgs
- 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 GoogleCloudTranslationConnectorArgs
- 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 GoogleCloudTranslationConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GoogleCloudTranslationConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GoogleCloudTranslationConnectorArgs
- 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 googleCloudTranslationConnectorResource = new Descope.GoogleCloudTranslationConnector("googleCloudTranslationConnectorResource", new()
{
ConfigProjectId = "string",
ProjectId = "string",
ServiceAccountJson = "string",
Description = "string",
Disabled = false,
Name = "string",
});
example, err := descope.NewGoogleCloudTranslationConnector(ctx, "googleCloudTranslationConnectorResource", &descope.GoogleCloudTranslationConnectorArgs{
ConfigProjectId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
ServiceAccountJson: pulumi.String("string"),
Description: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Name: pulumi.String("string"),
})
resource "descope_google_cloud_translation_connector" "googleCloudTranslationConnectorResource" {
lifecycle {
create_before_destroy = true
}
config_project_id = "string"
project_id = "string"
service_account_json = "string"
description = "string"
disabled = false
name = "string"
}
var googleCloudTranslationConnectorResource = new GoogleCloudTranslationConnector("googleCloudTranslationConnectorResource", GoogleCloudTranslationConnectorArgs.builder()
.configProjectId("string")
.projectId("string")
.serviceAccountJson("string")
.description("string")
.disabled(false)
.name("string")
.build());
google_cloud_translation_connector_resource = descope.GoogleCloudTranslationConnector("googleCloudTranslationConnectorResource",
config_project_id="string",
project_id="string",
service_account_json="string",
description="string",
disabled=False,
name="string")
const googleCloudTranslationConnectorResource = new descope.GoogleCloudTranslationConnector("googleCloudTranslationConnectorResource", {
configProjectId: "string",
projectId: "string",
serviceAccountJson: "string",
description: "string",
disabled: false,
name: "string",
});
type: descope:GoogleCloudTranslationConnector
properties:
configProjectId: string
description: string
disabled: false
name: string
projectId: string
serviceAccountJson: string
GoogleCloudTranslationConnector 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 GoogleCloudTranslationConnector resource accepts the following input properties:
- Config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Service
Account stringJson - Service Account JSON associated with the current project.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Service
Account stringJson - Service Account JSON associated with the current project.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- config_
project_ stringid - The Google Cloud project ID where the Google Cloud Translation is managed.
- project_
id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service_
account_ stringjson - Service Account JSON associated with the current project.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- config
Project StringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account StringJson - Service Account JSON associated with the current project.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account stringJson - Service Account JSON associated with the current project.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- config_
project_ strid - The Google Cloud project ID where the Google Cloud Translation is managed.
- project_
id str - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service_
account_ strjson - Service Account JSON associated with the current project.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name str
- A custom name for your connector.
- config
Project StringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account StringJson - Service Account JSON associated with the current project.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the GoogleCloudTranslationConnector resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GoogleCloudTranslationConnector Resource
Get an existing GoogleCloudTranslationConnector 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?: GoogleCloudTranslationConnectorState, opts?: CustomResourceOptions): GoogleCloudTranslationConnector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_project_id: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
service_account_json: Optional[str] = None) -> GoogleCloudTranslationConnectorfunc GetGoogleCloudTranslationConnector(ctx *Context, name string, id IDInput, state *GoogleCloudTranslationConnectorState, opts ...ResourceOption) (*GoogleCloudTranslationConnector, error)public static GoogleCloudTranslationConnector Get(string name, Input<string> id, GoogleCloudTranslationConnectorState? state, CustomResourceOptions? opts = null)public static GoogleCloudTranslationConnector get(String name, Output<String> id, GoogleCloudTranslationConnectorState state, CustomResourceOptions options)resources: existingGoogleCloudTranslationConnector: type: descope:GoogleCloudTranslationConnector get: id: ${id}import {
to = descope_google_cloud_translation_connector.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state GoogleCloudTranslationConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GoogleCloudTranslationConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state GoogleCloudTranslationConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state GoogleCloudTranslationConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Service
Account stringJson - Service Account JSON associated with the current project.
- Config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Service
Account stringJson - Service Account JSON associated with the current project.
- config_
project_ stringid - The Google Cloud project ID where the Google Cloud Translation is managed.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- project_
id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service_
account_ stringjson - Service Account JSON associated with the current project.
- config
Project StringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account StringJson - Service Account JSON associated with the current project.
- config
Project stringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account stringJson - Service Account JSON associated with the current project.
- config_
project_ strid - The Google Cloud project ID where the Google Cloud Translation is managed.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name str
- A custom name for your connector.
- project_
id str - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service_
account_ strjson - Service Account JSON associated with the current project.
- config
Project StringId - The Google Cloud project ID where the Google Cloud Translation is managed.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- service
Account StringJson - Service Account JSON associated with the current project.
Package Details
- Repository
- descope descope/pulumi-descope
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
descopeTerraform Provider.
published on Sunday, Oct 11, 2026 by Descope