1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. gemini
  5. ReleaseChannelSetting
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.gemini.ReleaseChannelSetting

Explore with Pulumi AI

The resource for managing ReleaseChannel settings for Admin Control.

Example Usage

Gemini Release Channel Setting Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const example = new gcp.gemini.ReleaseChannelSetting("example", {
    releaseChannelSettingId: "ls1-tf",
    location: "global",
    labels: {
        my_key: "my_value",
    },
    releaseChannel: "EXPERIMENTAL",
});
Copy
import pulumi
import pulumi_gcp as gcp

example = gcp.gemini.ReleaseChannelSetting("example",
    release_channel_setting_id="ls1-tf",
    location="global",
    labels={
        "my_key": "my_value",
    },
    release_channel="EXPERIMENTAL")
Copy
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.NewReleaseChannelSetting(ctx, "example", &gemini.ReleaseChannelSettingArgs{
			ReleaseChannelSettingId: pulumi.String("ls1-tf"),
			Location:                pulumi.String("global"),
			Labels: pulumi.StringMap{
				"my_key": pulumi.String("my_value"),
			},
			ReleaseChannel: pulumi.String("EXPERIMENTAL"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var example = new Gcp.Gemini.ReleaseChannelSetting("example", new()
    {
        ReleaseChannelSettingId = "ls1-tf",
        Location = "global",
        Labels = 
        {
            { "my_key", "my_value" },
        },
        ReleaseChannel = "EXPERIMENTAL",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gemini.ReleaseChannelSetting;
import com.pulumi.gcp.gemini.ReleaseChannelSettingArgs;
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 ReleaseChannelSetting("example", ReleaseChannelSettingArgs.builder()
            .releaseChannelSettingId("ls1-tf")
            .location("global")
            .labels(Map.of("my_key", "my_value"))
            .releaseChannel("EXPERIMENTAL")
            .build());

    }
}
Copy
resources:
  example:
    type: gcp:gemini:ReleaseChannelSetting
    properties:
      releaseChannelSettingId: ls1-tf
      location: global
      labels:
        my_key: my_value
      releaseChannel: EXPERIMENTAL
Copy

Create ReleaseChannelSetting Resource

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

Constructor syntax

new ReleaseChannelSetting(name: string, args: ReleaseChannelSettingArgs, opts?: CustomResourceOptions);
@overload
def ReleaseChannelSetting(resource_name: str,
                          args: ReleaseChannelSettingArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def ReleaseChannelSetting(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          location: Optional[str] = None,
                          release_channel_setting_id: Optional[str] = None,
                          labels: Optional[Mapping[str, str]] = None,
                          project: Optional[str] = None,
                          release_channel: Optional[str] = None)
func NewReleaseChannelSetting(ctx *Context, name string, args ReleaseChannelSettingArgs, opts ...ResourceOption) (*ReleaseChannelSetting, error)
public ReleaseChannelSetting(string name, ReleaseChannelSettingArgs args, CustomResourceOptions? opts = null)
public ReleaseChannelSetting(String name, ReleaseChannelSettingArgs args)
public ReleaseChannelSetting(String name, ReleaseChannelSettingArgs args, CustomResourceOptions options)
type: gcp:gemini:ReleaseChannelSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ReleaseChannelSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ReleaseChannelSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ReleaseChannelSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ReleaseChannelSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ReleaseChannelSettingArgs
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 releaseChannelSettingResource = new Gcp.Gemini.ReleaseChannelSetting("releaseChannelSettingResource", new()
{
    Location = "string",
    ReleaseChannelSettingId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
    ReleaseChannel = "string",
});
Copy
example, err := gemini.NewReleaseChannelSetting(ctx, "releaseChannelSettingResource", &gemini.ReleaseChannelSettingArgs{
	Location:                pulumi.String("string"),
	ReleaseChannelSettingId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project:        pulumi.String("string"),
	ReleaseChannel: pulumi.String("string"),
})
Copy
var releaseChannelSettingResource = new ReleaseChannelSetting("releaseChannelSettingResource", ReleaseChannelSettingArgs.builder()
    .location("string")
    .releaseChannelSettingId("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .releaseChannel("string")
    .build());
Copy
release_channel_setting_resource = gcp.gemini.ReleaseChannelSetting("releaseChannelSettingResource",
    location="string",
    release_channel_setting_id="string",
    labels={
        "string": "string",
    },
    project="string",
    release_channel="string")
Copy
const releaseChannelSettingResource = new gcp.gemini.ReleaseChannelSetting("releaseChannelSettingResource", {
    location: "string",
    releaseChannelSettingId: "string",
    labels: {
        string: "string",
    },
    project: "string",
    releaseChannel: "string",
});
Copy
type: gcp:gemini:ReleaseChannelSetting
properties:
    labels:
        string: string
    location: string
    project: string
    releaseChannel: string
    releaseChannelSettingId: string
Copy

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

Location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
ReleaseChannelSettingId
This property is required.
Changes to this property will trigger replacement.
string
Id of the Release Channel Setting.


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.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
ReleaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
Location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
ReleaseChannelSettingId
This property is required.
Changes to this property will trigger replacement.
string
Id of the Release Channel Setting.


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.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
ReleaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
location
This property is required.
Changes to this property will trigger replacement.
String
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
releaseChannelSettingId
This property is required.
Changes to this property will trigger replacement.
String
Id of the Release Channel Setting.


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.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
releaseChannel String
Release channel to be used. Possible values: STABLE EXPERIMENTAL
location
This property is required.
Changes to this property will trigger replacement.
string
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
releaseChannelSettingId
This property is required.
Changes to this property will trigger replacement.
string
Id of the Release Channel Setting.


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.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
releaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
location
This property is required.
Changes to this property will trigger replacement.
str
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
release_channel_setting_id
This property is required.
Changes to this property will trigger replacement.
str
Id of the Release Channel Setting.


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.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
release_channel str
Release channel to be used. Possible values: STABLE EXPERIMENTAL
location
This property is required.
Changes to this property will trigger replacement.
String
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
releaseChannelSettingId
This property is required.
Changes to this property will trigger replacement.
String
Id of the Release Channel Setting.


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.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
releaseChannel String
Release channel to be used. Possible values: STABLE EXPERIMENTAL

Outputs

All input properties are implicitly available as output properties. Additionally, the ReleaseChannelSetting 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}/releaseChannelSettings/{releaseChannelSetting}
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}/releaseChannelSettings/{releaseChannelSetting}
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}/releaseChannelSettings/{releaseChannelSetting}
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}/releaseChannelSettings/{releaseChannelSetting}
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}/releaseChannelSettings/{releaseChannelSetting}
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}/releaseChannelSettings/{releaseChannelSetting}
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 ReleaseChannelSetting Resource

Get an existing ReleaseChannelSetting 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?: ReleaseChannelSettingState, opts?: CustomResourceOptions): ReleaseChannelSetting
@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,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        release_channel: Optional[str] = None,
        release_channel_setting_id: Optional[str] = None,
        update_time: Optional[str] = None) -> ReleaseChannelSetting
func GetReleaseChannelSetting(ctx *Context, name string, id IDInput, state *ReleaseChannelSettingState, opts ...ResourceOption) (*ReleaseChannelSetting, error)
public static ReleaseChannelSetting Get(string name, Input<string> id, ReleaseChannelSettingState? state, CustomResourceOptions? opts = null)
public static ReleaseChannelSetting get(String name, Output<String> id, ReleaseChannelSettingState state, CustomResourceOptions options)
resources:  _:    type: gcp:gemini:ReleaseChannelSetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
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_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
Project Changes to this property will trigger replacement. 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.
ReleaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
ReleaseChannelSettingId Changes to this property will trigger replacement. string
Id of the Release Channel Setting.


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_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
Project Changes to this property will trigger replacement. 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.
ReleaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
ReleaseChannelSettingId Changes to this property will trigger replacement. string
Id of the Release Channel Setting.


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_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
project Changes to this property will trigger replacement. 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.
releaseChannel String
Release channel to be used. Possible values: STABLE EXPERIMENTAL
releaseChannelSettingId Changes to this property will trigger replacement. String
Id of the Release Channel Setting.


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_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
project Changes to this property will trigger replacement. 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.
releaseChannel string
Release channel to be used. Possible values: STABLE EXPERIMENTAL
releaseChannelSettingId Changes to this property will trigger replacement. string
Id of the Release Channel Setting.


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_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
project Changes to this property will trigger replacement. 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.
release_channel str
Release channel to be used. Possible values: STABLE EXPERIMENTAL
release_channel_setting_id Changes to this property will trigger replacement. str
Id of the Release Channel Setting.


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_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. 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}/releaseChannelSettings/{releaseChannelSetting}
project Changes to this property will trigger replacement. 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.
releaseChannel String
Release channel to be used. Possible values: STABLE EXPERIMENTAL
releaseChannelSettingId Changes to this property will trigger replacement. String
Id of the Release Channel Setting.


updateTime String
Update time stamp.

Import

ReleaseChannelSetting can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/releaseChannelSettings/{{release_channel_setting_id}}

  • {{project}}/{{location}}/{{release_channel_setting_id}}

  • {{location}}/{{release_channel_setting_id}}

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

$ pulumi import gcp:gemini/releaseChannelSetting:ReleaseChannelSetting default projects/{{project}}/locations/{{location}}/releaseChannelSettings/{{release_channel_setting_id}}
Copy
$ pulumi import gcp:gemini/releaseChannelSetting:ReleaseChannelSetting default {{project}}/{{location}}/{{release_channel_setting_id}}
Copy
$ pulumi import gcp:gemini/releaseChannelSetting:ReleaseChannelSetting default {{location}}/{{release_channel_setting_id}}
Copy

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.