gcp.gemini.LoggingSettingBinding
Explore with Pulumi AI
The resource for managing Logging setting bindings for Admin Control.
To get more information about LoggingSettingBinding, see:
- How-to Guides
Example Usage
Gemini Logging Setting Binding Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const basic = new gcp.gemini.LoggingSetting("basic", {
    loggingSettingId: "ls-tf1",
    location: "global",
    labels: {
        my_key: "my_value",
    },
    logPromptsAndResponses: true,
});
const example = new gcp.gemini.LoggingSettingBinding("example", {
    loggingSettingId: basic.loggingSettingId,
    settingBindingId: "ls-tf1b1",
    location: "global",
    target: "projects/980109375338",
});
import pulumi
import pulumi_gcp as gcp
basic = gcp.gemini.LoggingSetting("basic",
    logging_setting_id="ls-tf1",
    location="global",
    labels={
        "my_key": "my_value",
    },
    log_prompts_and_responses=True)
example = gcp.gemini.LoggingSettingBinding("example",
    logging_setting_id=basic.logging_setting_id,
    setting_binding_id="ls-tf1b1",
    location="global",
    target="projects/980109375338")
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 {
		basic, err := gemini.NewLoggingSetting(ctx, "basic", &gemini.LoggingSettingArgs{
			LoggingSettingId: pulumi.String("ls-tf1"),
			Location:         pulumi.String("global"),
			Labels: pulumi.StringMap{
				"my_key": pulumi.String("my_value"),
			},
			LogPromptsAndResponses: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = gemini.NewLoggingSettingBinding(ctx, "example", &gemini.LoggingSettingBindingArgs{
			LoggingSettingId: basic.LoggingSettingId,
			SettingBindingId: pulumi.String("ls-tf1b1"),
			Location:         pulumi.String("global"),
			Target:           pulumi.String("projects/980109375338"),
		})
		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 basic = new Gcp.Gemini.LoggingSetting("basic", new()
    {
        LoggingSettingId = "ls-tf1",
        Location = "global",
        Labels = 
        {
            { "my_key", "my_value" },
        },
        LogPromptsAndResponses = true,
    });
    var example = new Gcp.Gemini.LoggingSettingBinding("example", new()
    {
        LoggingSettingId = basic.LoggingSettingId,
        SettingBindingId = "ls-tf1b1",
        Location = "global",
        Target = "projects/980109375338",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gemini.LoggingSetting;
import com.pulumi.gcp.gemini.LoggingSettingArgs;
import com.pulumi.gcp.gemini.LoggingSettingBinding;
import com.pulumi.gcp.gemini.LoggingSettingBindingArgs;
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 basic = new LoggingSetting("basic", LoggingSettingArgs.builder()
            .loggingSettingId("ls-tf1")
            .location("global")
            .labels(Map.of("my_key", "my_value"))
            .logPromptsAndResponses(true)
            .build());
        var example = new LoggingSettingBinding("example", LoggingSettingBindingArgs.builder()
            .loggingSettingId(basic.loggingSettingId())
            .settingBindingId("ls-tf1b1")
            .location("global")
            .target("projects/980109375338")
            .build());
    }
}
resources:
  basic:
    type: gcp:gemini:LoggingSetting
    properties:
      loggingSettingId: ls-tf1
      location: global
      labels:
        my_key: my_value
      logPromptsAndResponses: true
  example:
    type: gcp:gemini:LoggingSettingBinding
    properties:
      loggingSettingId: ${basic.loggingSettingId}
      settingBindingId: ls-tf1b1
      location: global
      target: projects/980109375338
Create LoggingSettingBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoggingSettingBinding(name: string, args: LoggingSettingBindingArgs, opts?: CustomResourceOptions);@overload
def LoggingSettingBinding(resource_name: str,
                          args: LoggingSettingBindingArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def LoggingSettingBinding(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          logging_setting_id: Optional[str] = None,
                          setting_binding_id: Optional[str] = None,
                          target: Optional[str] = None,
                          labels: Optional[Mapping[str, str]] = None,
                          location: Optional[str] = None,
                          product: Optional[str] = None,
                          project: Optional[str] = None)func NewLoggingSettingBinding(ctx *Context, name string, args LoggingSettingBindingArgs, opts ...ResourceOption) (*LoggingSettingBinding, error)public LoggingSettingBinding(string name, LoggingSettingBindingArgs args, CustomResourceOptions? opts = null)
public LoggingSettingBinding(String name, LoggingSettingBindingArgs args)
public LoggingSettingBinding(String name, LoggingSettingBindingArgs args, CustomResourceOptions options)
type: gcp:gemini:LoggingSettingBinding
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 LoggingSettingBindingArgs
- 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 LoggingSettingBindingArgs
- 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 LoggingSettingBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoggingSettingBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoggingSettingBindingArgs
- 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 loggingSettingBindingResource = new Gcp.Gemini.LoggingSettingBinding("loggingSettingBindingResource", new()
{
    LoggingSettingId = "string",
    SettingBindingId = "string",
    Target = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Product = "string",
    Project = "string",
});
example, err := gemini.NewLoggingSettingBinding(ctx, "loggingSettingBindingResource", &gemini.LoggingSettingBindingArgs{
	LoggingSettingId: pulumi.String("string"),
	SettingBindingId: pulumi.String("string"),
	Target:           pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Product:  pulumi.String("string"),
	Project:  pulumi.String("string"),
})
var loggingSettingBindingResource = new LoggingSettingBinding("loggingSettingBindingResource", LoggingSettingBindingArgs.builder()
    .loggingSettingId("string")
    .settingBindingId("string")
    .target("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .product("string")
    .project("string")
    .build());
logging_setting_binding_resource = gcp.gemini.LoggingSettingBinding("loggingSettingBindingResource",
    logging_setting_id="string",
    setting_binding_id="string",
    target="string",
    labels={
        "string": "string",
    },
    location="string",
    product="string",
    project="string")
const loggingSettingBindingResource = new gcp.gemini.LoggingSettingBinding("loggingSettingBindingResource", {
    loggingSettingId: "string",
    settingBindingId: "string",
    target: "string",
    labels: {
        string: "string",
    },
    location: "string",
    product: "string",
    project: "string",
});
type: gcp:gemini:LoggingSettingBinding
properties:
    labels:
        string: string
    location: string
    loggingSettingId: string
    product: string
    project: string
    settingBindingId: string
    target: string
LoggingSettingBinding 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 LoggingSettingBinding resource accepts the following input properties:
- LoggingSetting stringId 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- SettingBinding stringId 
- Id of the setting binding.
- Target string
- Target of the binding.
- 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_labelsfor 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.
- Product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- LoggingSetting stringId 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- SettingBinding stringId 
- Id of the setting binding.
- Target string
- Target of the binding.
- 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_labelsfor 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.
- Product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- loggingSetting StringId 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- settingBinding StringId 
- Id of the setting binding.
- target String
- Target of the binding.
- 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_labelsfor 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.
- product String
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- loggingSetting stringId 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- settingBinding stringId 
- Id of the setting binding.
- target string
- Target of the binding.
- 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_labelsfor 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.
- product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- logging_setting_ strid 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- setting_binding_ strid 
- Id of the setting binding.
- target str
- Target of the binding.
- 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_labelsfor 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.
- product str
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- loggingSetting StringId 
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- settingBinding StringId 
- Id of the setting binding.
- target String
- Target of the binding.
- 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_labelsfor 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.
- product String
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- 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 LoggingSettingBinding 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- 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 LoggingSettingBinding Resource
Get an existing LoggingSettingBinding 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?: LoggingSettingBindingState, opts?: CustomResourceOptions): LoggingSettingBinding@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        logging_setting_id: Optional[str] = None,
        name: Optional[str] = None,
        product: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        setting_binding_id: Optional[str] = None,
        target: Optional[str] = None,
        update_time: Optional[str] = None) -> LoggingSettingBindingfunc GetLoggingSettingBinding(ctx *Context, name string, id IDInput, state *LoggingSettingBindingState, opts ...ResourceOption) (*LoggingSettingBinding, error)public static LoggingSettingBinding Get(string name, Input<string> id, LoggingSettingBindingState? state, CustomResourceOptions? opts = null)public static LoggingSettingBinding get(String name, Output<String> id, LoggingSettingBindingState state, CustomResourceOptions options)resources:  _:    type: gcp:gemini:LoggingSettingBinding    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.
- 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.
- 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_labelsfor 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.
- LoggingSetting stringId 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- Product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- SettingBinding stringId 
- Id of the setting binding.
- Target string
- Target of the binding.
- 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.
- 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_labelsfor 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.
- LoggingSetting stringId 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- Product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- SettingBinding stringId 
- Id of the setting binding.
- Target string
- Target of the binding.
- 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.
- 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_labelsfor 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.
- loggingSetting StringId 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- product String
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- settingBinding StringId 
- Id of the setting binding.
- target String
- Target of the binding.
- 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.
- 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_labelsfor 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.
- loggingSetting stringId 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- product string
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- settingBinding stringId 
- Id of the setting binding.
- target string
- Target of the binding.
- 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.
- 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_labelsfor 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.
- logging_setting_ strid 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- product str
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- setting_binding_ strid 
- Id of the setting binding.
- target str
- Target of the binding.
- 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.
- 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_labelsfor 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.
- loggingSetting StringId 
- 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}/loggingSettings/{setting}/settingBindings/{setting_binding}
- product String
- Product type of the setting binding.
Possible values are: GEMINI_CODE_ASSIST.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- settingBinding StringId 
- Id of the setting binding.
- target String
- Target of the binding.
- updateTime String
- Update time stamp.
Import
LoggingSettingBinding can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/loggingSettings/{{logging_setting_id}}/settingBindings/{{setting_binding_id}}
- {{project}}/{{location}}/{{logging_setting_id}}/{{setting_binding_id}}
- {{location}}/{{logging_setting_id}}/{{setting_binding_id}}
When using the pulumi import command, LoggingSettingBinding can be imported using one of the formats above. For example:
$ pulumi import gcp:gemini/loggingSettingBinding:LoggingSettingBinding default projects/{{project}}/locations/{{location}}/loggingSettings/{{logging_setting_id}}/settingBindings/{{setting_binding_id}}
$ pulumi import gcp:gemini/loggingSettingBinding:LoggingSettingBinding default {{project}}/{{location}}/{{logging_setting_id}}/{{setting_binding_id}}
$ pulumi import gcp:gemini/loggingSettingBinding:LoggingSettingBinding default {{location}}/{{logging_setting_id}}/{{setting_binding_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-betaTerraform Provider.