1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. gemini
  5. CodeToolsSetting
Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi

gcp.gemini.CodeToolsSetting

Explore with Pulumi AI

gcp logo
Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi

    The resource for managing CodeTools settings for Admin Control.

    Example Usage

    Gemini Code Tools Setting Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const example = new gcp.gemini.CodeToolsSetting("example", {
        codeToolsSettingId: "ls1-tf",
        location: "global",
        labels: {
            my_key: "my_value",
        },
        enabledTools: [{
            handle: "my_handle",
            tool: "my_tool",
            accountConnector: "my_con",
            configs: [{
                key: "my_key",
                value: "my_value",
            }],
            uriOverride: "my_uri_override",
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    example = gcp.gemini.CodeToolsSetting("example",
        code_tools_setting_id="ls1-tf",
        location="global",
        labels={
            "my_key": "my_value",
        },
        enabled_tools=[{
            "handle": "my_handle",
            "tool": "my_tool",
            "account_connector": "my_con",
            "configs": [{
                "key": "my_key",
                "value": "my_value",
            }],
            "uri_override": "my_uri_override",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/gemini"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gemini.NewCodeToolsSetting(ctx, "example", &gemini.CodeToolsSettingArgs{
    			CodeToolsSettingId: pulumi.String("ls1-tf"),
    			Location:           pulumi.String("global"),
    			Labels: pulumi.StringMap{
    				"my_key": pulumi.String("my_value"),
    			},
    			EnabledTools: gemini.CodeToolsSettingEnabledToolArray{
    				&gemini.CodeToolsSettingEnabledToolArgs{
    					Handle:           pulumi.String("my_handle"),
    					Tool:             pulumi.String("my_tool"),
    					AccountConnector: pulumi.String("my_con"),
    					Configs: gemini.CodeToolsSettingEnabledToolConfigArray{
    						&gemini.CodeToolsSettingEnabledToolConfigArgs{
    							Key:   pulumi.String("my_key"),
    							Value: pulumi.String("my_value"),
    						},
    					},
    					UriOverride: pulumi.String("my_uri_override"),
    				},
    			},
    		})
    		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 example = new Gcp.Gemini.CodeToolsSetting("example", new()
        {
            CodeToolsSettingId = "ls1-tf",
            Location = "global",
            Labels = 
            {
                { "my_key", "my_value" },
            },
            EnabledTools = new[]
            {
                new Gcp.Gemini.Inputs.CodeToolsSettingEnabledToolArgs
                {
                    Handle = "my_handle",
                    Tool = "my_tool",
                    AccountConnector = "my_con",
                    Configs = new[]
                    {
                        new Gcp.Gemini.Inputs.CodeToolsSettingEnabledToolConfigArgs
                        {
                            Key = "my_key",
                            Value = "my_value",
                        },
                    },
                    UriOverride = "my_uri_override",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gemini.CodeToolsSetting;
    import com.pulumi.gcp.gemini.CodeToolsSettingArgs;
    import com.pulumi.gcp.gemini.inputs.CodeToolsSettingEnabledToolArgs;
    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 example = new CodeToolsSetting("example", CodeToolsSettingArgs.builder()
                .codeToolsSettingId("ls1-tf")
                .location("global")
                .labels(Map.of("my_key", "my_value"))
                .enabledTools(CodeToolsSettingEnabledToolArgs.builder()
                    .handle("my_handle")
                    .tool("my_tool")
                    .accountConnector("my_con")
                    .configs(CodeToolsSettingEnabledToolConfigArgs.builder()
                        .key("my_key")
                        .value("my_value")
                        .build())
                    .uriOverride("my_uri_override")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: gcp:gemini:CodeToolsSetting
        properties:
          codeToolsSettingId: ls1-tf
          location: global
          labels:
            my_key: my_value
          enabledTools:
            - handle: my_handle
              tool: my_tool
              accountConnector: my_con
              configs:
                - key: my_key
                  value: my_value
              uriOverride: my_uri_override
    

    Create CodeToolsSetting Resource

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

    Constructor syntax

    new CodeToolsSetting(name: string, args: CodeToolsSettingArgs, opts?: CustomResourceOptions);
    @overload
    def CodeToolsSetting(resource_name: str,
                         args: CodeToolsSettingArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeToolsSetting(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         code_tools_setting_id: Optional[str] = None,
                         enabled_tools: Optional[Sequence[CodeToolsSettingEnabledToolArgs]] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         location: Optional[str] = None,
                         project: Optional[str] = None)
    func NewCodeToolsSetting(ctx *Context, name string, args CodeToolsSettingArgs, opts ...ResourceOption) (*CodeToolsSetting, error)
    public CodeToolsSetting(string name, CodeToolsSettingArgs args, CustomResourceOptions? opts = null)
    public CodeToolsSetting(String name, CodeToolsSettingArgs args)
    public CodeToolsSetting(String name, CodeToolsSettingArgs args, CustomResourceOptions options)
    
    type: gcp:gemini:CodeToolsSetting
    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 CodeToolsSettingArgs
    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 CodeToolsSettingArgs
    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 CodeToolsSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeToolsSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeToolsSettingArgs
    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 codeToolsSettingResource = new Gcp.Gemini.CodeToolsSetting("codeToolsSettingResource", new()
    {
        CodeToolsSettingId = "string",
        EnabledTools = new[]
        {
            new Gcp.Gemini.Inputs.CodeToolsSettingEnabledToolArgs
            {
                Handle = "string",
                Tool = "string",
                AccountConnector = "string",
                Configs = new[]
                {
                    new Gcp.Gemini.Inputs.CodeToolsSettingEnabledToolConfigArgs
                    {
                        Key = "string",
                        Value = "string",
                    },
                },
                UriOverride = "string",
            },
        },
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Project = "string",
    });
    
    example, err := gemini.NewCodeToolsSetting(ctx, "codeToolsSettingResource", &gemini.CodeToolsSettingArgs{
    	CodeToolsSettingId: pulumi.String("string"),
    	EnabledTools: gemini.CodeToolsSettingEnabledToolArray{
    		&gemini.CodeToolsSettingEnabledToolArgs{
    			Handle:           pulumi.String("string"),
    			Tool:             pulumi.String("string"),
    			AccountConnector: pulumi.String("string"),
    			Configs: gemini.CodeToolsSettingEnabledToolConfigArray{
    				&gemini.CodeToolsSettingEnabledToolConfigArgs{
    					Key:   pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			UriOverride: pulumi.String("string"),
    		},
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var codeToolsSettingResource = new CodeToolsSetting("codeToolsSettingResource", CodeToolsSettingArgs.builder()
        .codeToolsSettingId("string")
        .enabledTools(CodeToolsSettingEnabledToolArgs.builder()
            .handle("string")
            .tool("string")
            .accountConnector("string")
            .configs(CodeToolsSettingEnabledToolConfigArgs.builder()
                .key("string")
                .value("string")
                .build())
            .uriOverride("string")
            .build())
        .labels(Map.of("string", "string"))
        .location("string")
        .project("string")
        .build());
    
    code_tools_setting_resource = gcp.gemini.CodeToolsSetting("codeToolsSettingResource",
        code_tools_setting_id="string",
        enabled_tools=[{
            "handle": "string",
            "tool": "string",
            "account_connector": "string",
            "configs": [{
                "key": "string",
                "value": "string",
            }],
            "uri_override": "string",
        }],
        labels={
            "string": "string",
        },
        location="string",
        project="string")
    
    const codeToolsSettingResource = new gcp.gemini.CodeToolsSetting("codeToolsSettingResource", {
        codeToolsSettingId: "string",
        enabledTools: [{
            handle: "string",
            tool: "string",
            accountConnector: "string",
            configs: [{
                key: "string",
                value: "string",
            }],
            uriOverride: "string",
        }],
        labels: {
            string: "string",
        },
        location: "string",
        project: "string",
    });
    
    type: gcp:gemini:CodeToolsSetting
    properties:
        codeToolsSettingId: string
        enabledTools:
            - accountConnector: string
              configs:
                - key: string
                  value: string
              handle: string
              tool: string
              uriOverride: string
        labels:
            string: string
        location: string
        project: string
    

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

    CodeToolsSettingId string
    Id of the Code Tools Setting.
    EnabledTools List<CodeToolsSettingEnabledTool>
    Represents the full set of enabled tools. Structure is documented below.
    Labels Dictionary<string, string>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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
    CodeToolsSettingId string
    Id of the Code Tools Setting.
    EnabledTools []CodeToolsSettingEnabledToolArgs
    Represents the full set of enabled tools. Structure is documented below.
    Labels map[string]string
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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
    codeToolsSettingId String
    Id of the Code Tools Setting.
    enabledTools List<CodeToolsSettingEnabledTool>
    Represents the full set of enabled tools. Structure is documented below.
    labels Map<String,String>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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
    codeToolsSettingId string
    Id of the Code Tools Setting.
    enabledTools CodeToolsSettingEnabledTool[]
    Represents the full set of enabled tools. Structure is documented below.
    labels {[key: string]: string}
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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
    code_tools_setting_id str
    Id of the Code Tools Setting.
    enabled_tools Sequence[CodeToolsSettingEnabledToolArgs]
    Represents the full set of enabled tools. Structure is documented below.
    labels Mapping[str, str]
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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
    codeToolsSettingId String
    Id of the Code Tools Setting.
    enabledTools List<Property Map>
    Represents the full set of enabled tools. Structure is documented below.
    labels Map<String>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CodeToolsSetting resource produces the following output properties:

    CreateTime string
    Create time stamp.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Update time stamp.
    CreateTime string
    Create time stamp.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Update time stamp.
    createTime String
    Create time stamp.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Update time stamp.
    createTime string
    Create time stamp.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime string
    Update time stamp.
    create_time str
    Create time stamp.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    update_time str
    Update time stamp.
    createTime String
    Create time stamp.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Update time stamp.

    Look up Existing CodeToolsSetting Resource

    Get an existing CodeToolsSetting 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?: CodeToolsSettingState, opts?: CustomResourceOptions): CodeToolsSetting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            code_tools_setting_id: Optional[str] = None,
            create_time: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            enabled_tools: Optional[Sequence[CodeToolsSettingEnabledToolArgs]] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            update_time: Optional[str] = None) -> CodeToolsSetting
    func GetCodeToolsSetting(ctx *Context, name string, id IDInput, state *CodeToolsSettingState, opts ...ResourceOption) (*CodeToolsSetting, error)
    public static CodeToolsSetting Get(string name, Input<string> id, CodeToolsSettingState? state, CustomResourceOptions? opts = null)
    public static CodeToolsSetting get(String name, Output<String> id, CodeToolsSettingState state, CustomResourceOptions options)
    resources:  _:    type: gcp:gemini:CodeToolsSetting    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.
    The following state arguments are supported:
    CodeToolsSettingId string
    Id of the Code Tools Setting.
    CreateTime string
    Create time stamp.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EnabledTools List<CodeToolsSettingEnabledTool>
    Represents the full set of enabled tools. Structure is documented below.
    Labels Dictionary<string, string>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    Project string
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Update time stamp.
    CodeToolsSettingId string
    Id of the Code Tools Setting.
    CreateTime string
    Create time stamp.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EnabledTools []CodeToolsSettingEnabledToolArgs
    Represents the full set of enabled tools. Structure is documented below.
    Labels map[string]string
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    Project string
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Update time stamp.
    codeToolsSettingId String
    Id of the Code Tools Setting.
    createTime String
    Create time stamp.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    enabledTools List<CodeToolsSettingEnabledTool>
    Represents the full set of enabled tools. Structure is documented below.
    labels Map<String,String>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    project String
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Update time stamp.
    codeToolsSettingId string
    Id of the Code Tools Setting.
    createTime string
    Create time stamp.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    enabledTools CodeToolsSettingEnabledTool[]
    Represents the full set of enabled tools. Structure is documented below.
    labels {[key: string]: string}
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    project string
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime string
    Update time stamp.
    code_tools_setting_id str
    Id of the Code Tools Setting.
    create_time str
    Create time stamp.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    enabled_tools Sequence[CodeToolsSettingEnabledToolArgs]
    Represents the full set of enabled tools. Structure is documented below.
    labels Mapping[str, str]
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    project str
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    update_time str
    Update time stamp.
    codeToolsSettingId String
    Id of the Code Tools Setting.
    createTime String
    Create time stamp.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    enabledTools List<Property Map>
    Represents the full set of enabled tools. Structure is documented below.
    labels Map<String>
    Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
    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. Name of the resource. Format:projects/{project}/locations/{location}/codeToolsSettings/{codeToolsSetting}
    project String
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Update time stamp.

    Supporting Types

    CodeToolsSettingEnabledTool, CodeToolsSettingEnabledToolArgs

    Handle string
    Handle used to invoke the tool.
    Tool string
    Link to the Tool
    AccountConnector string
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    Configs List<CodeToolsSettingEnabledToolConfig>
    Configuration parameters for the tool. Structure is documented below.
    UriOverride string
    Overridden URI, if allowed by Tool.
    Handle string
    Handle used to invoke the tool.
    Tool string
    Link to the Tool
    AccountConnector string
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    Configs []CodeToolsSettingEnabledToolConfig
    Configuration parameters for the tool. Structure is documented below.
    UriOverride string
    Overridden URI, if allowed by Tool.
    handle String
    Handle used to invoke the tool.
    tool String
    Link to the Tool
    accountConnector String
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    configs List<CodeToolsSettingEnabledToolConfig>
    Configuration parameters for the tool. Structure is documented below.
    uriOverride String
    Overridden URI, if allowed by Tool.
    handle string
    Handle used to invoke the tool.
    tool string
    Link to the Tool
    accountConnector string
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    configs CodeToolsSettingEnabledToolConfig[]
    Configuration parameters for the tool. Structure is documented below.
    uriOverride string
    Overridden URI, if allowed by Tool.
    handle str
    Handle used to invoke the tool.
    tool str
    Link to the Tool
    account_connector str
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    configs Sequence[CodeToolsSettingEnabledToolConfig]
    Configuration parameters for the tool. Structure is documented below.
    uri_override str
    Overridden URI, if allowed by Tool.
    handle String
    Handle used to invoke the tool.
    tool String
    Link to the Tool
    accountConnector String
    Link to the Dev Connect Account Connector that holds the user credentials. projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
    configs List<Property Map>
    Configuration parameters for the tool. Structure is documented below.
    uriOverride String
    Overridden URI, if allowed by Tool.

    CodeToolsSettingEnabledToolConfig, CodeToolsSettingEnabledToolConfigArgs

    Key string
    Key of the configuration item.
    Value string
    Value of the configuration item.


    Key string
    Key of the configuration item.
    Value string
    Value of the configuration item.


    key String
    Key of the configuration item.
    value String
    Value of the configuration item.


    key string
    Key of the configuration item.
    value string
    Value of the configuration item.


    key str
    Key of the configuration item.
    value str
    Value of the configuration item.


    key String
    Key of the configuration item.
    value String
    Value of the configuration item.


    Import

    CodeToolsSetting can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}

    • {{project}}/{{location}}/{{code_tools_setting_id}}

    • {{location}}/{{code_tools_setting_id}}

    When using the pulumi import command, CodeToolsSetting can be imported using one of the formats above. For example:

    $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default projects/{{project}}/locations/{{location}}/codeToolsSettings/{{code_tools_setting_id}}
    
    $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{project}}/{{location}}/{{code_tools_setting_id}}
    
    $ pulumi import gcp:gemini/codeToolsSetting:CodeToolsSetting default {{location}}/{{code_tools_setting_id}}
    

    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-beta Terraform Provider.
    gcp logo
    Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi