1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. GoogleMapsPlacesConnector
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope
descope logo Descope
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope

    Manages a Google Maps Places connector and its configuration in a Descope project. Get address autocompletions from Place Autocomplete Data API.

    Create GoogleMapsPlacesConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GoogleMapsPlacesConnector(name: string, args: GoogleMapsPlacesConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def GoogleMapsPlacesConnector(resource_name: str,
                                  args: GoogleMapsPlacesConnectorArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def GoogleMapsPlacesConnector(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  project_id: Optional[str] = None,
                                  public_api_key: Optional[str] = None,
                                  address_types: Optional[str] = None,
                                  description: Optional[str] = None,
                                  disabled: Optional[bool] = None,
                                  language: Optional[str] = None,
                                  name: Optional[str] = None,
                                  region: Optional[str] = None)
    func NewGoogleMapsPlacesConnector(ctx *Context, name string, args GoogleMapsPlacesConnectorArgs, opts ...ResourceOption) (*GoogleMapsPlacesConnector, error)
    public GoogleMapsPlacesConnector(string name, GoogleMapsPlacesConnectorArgs args, CustomResourceOptions? opts = null)
    public GoogleMapsPlacesConnector(String name, GoogleMapsPlacesConnectorArgs args)
    public GoogleMapsPlacesConnector(String name, GoogleMapsPlacesConnectorArgs args, CustomResourceOptions options)
    
    type: descope:GoogleMapsPlacesConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_google_maps_places_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GoogleMapsPlacesConnectorArgs
    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 GoogleMapsPlacesConnectorArgs
    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 GoogleMapsPlacesConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GoogleMapsPlacesConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GoogleMapsPlacesConnectorArgs
    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 googleMapsPlacesConnectorResource = new Descope.GoogleMapsPlacesConnector("googleMapsPlacesConnectorResource", new()
    {
        ProjectId = "string",
        PublicApiKey = "string",
        AddressTypes = "string",
        Description = "string",
        Disabled = false,
        Language = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := descope.NewGoogleMapsPlacesConnector(ctx, "googleMapsPlacesConnectorResource", &descope.GoogleMapsPlacesConnectorArgs{
    	ProjectId:    pulumi.String("string"),
    	PublicApiKey: pulumi.String("string"),
    	AddressTypes: pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	Disabled:     pulumi.Bool(false),
    	Language:     pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Region:       pulumi.String("string"),
    })
    
    resource "descope_google_maps_places_connector" "googleMapsPlacesConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id     = "string"
      public_api_key = "string"
      address_types  = "string"
      description    = "string"
      disabled       = false
      language       = "string"
      name           = "string"
      region         = "string"
    }
    
    var googleMapsPlacesConnectorResource = new GoogleMapsPlacesConnector("googleMapsPlacesConnectorResource", GoogleMapsPlacesConnectorArgs.builder()
        .projectId("string")
        .publicApiKey("string")
        .addressTypes("string")
        .description("string")
        .disabled(false)
        .language("string")
        .name("string")
        .region("string")
        .build());
    
    google_maps_places_connector_resource = descope.GoogleMapsPlacesConnector("googleMapsPlacesConnectorResource",
        project_id="string",
        public_api_key="string",
        address_types="string",
        description="string",
        disabled=False,
        language="string",
        name="string",
        region="string")
    
    const googleMapsPlacesConnectorResource = new descope.GoogleMapsPlacesConnector("googleMapsPlacesConnectorResource", {
        projectId: "string",
        publicApiKey: "string",
        addressTypes: "string",
        description: "string",
        disabled: false,
        language: "string",
        name: "string",
        region: "string",
    });
    
    type: descope:GoogleMapsPlacesConnector
    properties:
        addressTypes: string
        description: string
        disabled: false
        language: string
        name: string
        projectId: string
        publicApiKey: string
        region: string
    

    GoogleMapsPlacesConnector 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 GoogleMapsPlacesConnector resource accepts the following input properties:

    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    PublicApiKey string
    The Google Maps Places public API key.
    AddressTypes string
    The address types to return.
    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.
    Language string
    The language in which to return results.
    Name string
    A custom name for your connector.
    Region string
    The region code, specified as a CLDR two-character region code.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    PublicApiKey string
    The Google Maps Places public API key.
    AddressTypes string
    The address types to return.
    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.
    Language string
    The language in which to return results.
    Name string
    A custom name for your connector.
    Region string
    The region code, specified as a CLDR two-character region code.
    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.
    public_api_key string
    The Google Maps Places public API key.
    address_types string
    The address types to return.
    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.
    language string
    The language in which to return results.
    name string
    A custom name for your connector.
    region string
    The region code, specified as a CLDR two-character region code.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey String
    The Google Maps Places public API key.
    addressTypes String
    The address types to return.
    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.
    language String
    The language in which to return results.
    name String
    A custom name for your connector.
    region String
    The region code, specified as a CLDR two-character region code.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey string
    The Google Maps Places public API key.
    addressTypes string
    The address types to return.
    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.
    language string
    The language in which to return results.
    name string
    A custom name for your connector.
    region string
    The region code, specified as a CLDR two-character region code.
    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.
    public_api_key str
    The Google Maps Places public API key.
    address_types str
    The address types to return.
    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.
    language str
    The language in which to return results.
    name str
    A custom name for your connector.
    region str
    The region code, specified as a CLDR two-character region code.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey String
    The Google Maps Places public API key.
    addressTypes String
    The address types to return.
    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.
    language String
    The language in which to return results.
    name String
    A custom name for your connector.
    region String
    The region code, specified as a CLDR two-character region code.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GoogleMapsPlacesConnector 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 GoogleMapsPlacesConnector Resource

    Get an existing GoogleMapsPlacesConnector 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?: GoogleMapsPlacesConnectorState, opts?: CustomResourceOptions): GoogleMapsPlacesConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_types: Optional[str] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            language: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            public_api_key: Optional[str] = None,
            region: Optional[str] = None) -> GoogleMapsPlacesConnector
    func GetGoogleMapsPlacesConnector(ctx *Context, name string, id IDInput, state *GoogleMapsPlacesConnectorState, opts ...ResourceOption) (*GoogleMapsPlacesConnector, error)
    public static GoogleMapsPlacesConnector Get(string name, Input<string> id, GoogleMapsPlacesConnectorState? state, CustomResourceOptions? opts = null)
    public static GoogleMapsPlacesConnector get(String name, Output<String> id, GoogleMapsPlacesConnectorState state, CustomResourceOptions options)
    resources:  existingGoogleMapsPlacesConnector:    type: descope:GoogleMapsPlacesConnector    get:      id: ${id}
    import {
      to = descope_google_maps_places_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 GoogleMapsPlacesConnectorState
    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 GoogleMapsPlacesConnectorState
    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 GoogleMapsPlacesConnectorState
    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 GoogleMapsPlacesConnectorState
    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.
    The following state arguments are supported:
    AddressTypes string
    The address types to return.
    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.
    Language string
    The language in which to return results.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    PublicApiKey string
    The Google Maps Places public API key.
    Region string
    The region code, specified as a CLDR two-character region code.
    AddressTypes string
    The address types to return.
    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.
    Language string
    The language in which to return results.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    PublicApiKey string
    The Google Maps Places public API key.
    Region string
    The region code, specified as a CLDR two-character region code.
    address_types string
    The address types to return.
    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.
    language string
    The language in which to return results.
    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.
    public_api_key string
    The Google Maps Places public API key.
    region string
    The region code, specified as a CLDR two-character region code.
    addressTypes String
    The address types to return.
    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.
    language String
    The language in which to return results.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey String
    The Google Maps Places public API key.
    region String
    The region code, specified as a CLDR two-character region code.
    addressTypes string
    The address types to return.
    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.
    language string
    The language in which to return results.
    name string
    A custom name for your connector.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey string
    The Google Maps Places public API key.
    region string
    The region code, specified as a CLDR two-character region code.
    address_types str
    The address types to return.
    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.
    language str
    The language in which to return results.
    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.
    public_api_key str
    The Google Maps Places public API key.
    region str
    The region code, specified as a CLDR two-character region code.
    addressTypes String
    The address types to return.
    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.
    language String
    The language in which to return results.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    publicApiKey String
    The Google Maps Places public API key.
    region String
    The region code, specified as a CLDR two-character region code.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo Descope
    Viewing docs for Descope v1.0.1
    published on Sunday, Oct 11, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial