1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. gemini
  5. RepositoryGroup
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.gemini.RepositoryGroup

Explore with Pulumi AI

The resource for managing Repository Group for Gemini Code Assist.

To get more information about RepositoryGroup, see:

Example Usage

Gemini Repository Group Basic

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

const example = new gcp.gemini.RepositoryGroup("example", {
    location: "us-central1",
    codeRepositoryIndex: "example-cri",
    repositoryGroupId: "example-repository-group",
    repositories: [{
        resource: "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
        branchPattern: "main",
    }],
    labels: {
        label1: "value1",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

example = gcp.gemini.RepositoryGroup("example",
    location="us-central1",
    code_repository_index="example-cri",
    repository_group_id="example-repository-group",
    repositories=[{
        "resource": "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
        "branch_pattern": "main",
    }],
    labels={
        "label1": "value1",
    })
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.NewRepositoryGroup(ctx, "example", &gemini.RepositoryGroupArgs{
			Location:            pulumi.String("us-central1"),
			CodeRepositoryIndex: pulumi.String("example-cri"),
			RepositoryGroupId:   pulumi.String("example-repository-group"),
			Repositories: gemini.RepositoryGroupRepositoryArray{
				&gemini.RepositoryGroupRepositoryArgs{
					Resource:      pulumi.String("projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo"),
					BranchPattern: pulumi.String("main"),
				},
			},
			Labels: pulumi.StringMap{
				"label1": pulumi.String("value1"),
			},
		})
		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.RepositoryGroup("example", new()
    {
        Location = "us-central1",
        CodeRepositoryIndex = "example-cri",
        RepositoryGroupId = "example-repository-group",
        Repositories = new[]
        {
            new Gcp.Gemini.Inputs.RepositoryGroupRepositoryArgs
            {
                Resource = "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
                BranchPattern = "main",
            },
        },
        Labels = 
        {
            { "label1", "value1" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gemini.RepositoryGroup;
import com.pulumi.gcp.gemini.RepositoryGroupArgs;
import com.pulumi.gcp.gemini.inputs.RepositoryGroupRepositoryArgs;
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 RepositoryGroup("example", RepositoryGroupArgs.builder()
            .location("us-central1")
            .codeRepositoryIndex("example-cri")
            .repositoryGroupId("example-repository-group")
            .repositories(RepositoryGroupRepositoryArgs.builder()
                .resource("projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo")
                .branchPattern("main")
                .build())
            .labels(Map.of("label1", "value1"))
            .build());

    }
}
Copy
resources:
  example:
    type: gcp:gemini:RepositoryGroup
    properties:
      location: us-central1
      codeRepositoryIndex: example-cri
      repositoryGroupId: example-repository-group
      repositories:
        - resource: projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo
          branchPattern: main
      labels:
        label1: value1
Copy

Create RepositoryGroup Resource

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

Constructor syntax

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

@overload
def RepositoryGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    code_repository_index: Optional[str] = None,
                    location: Optional[str] = None,
                    repositories: Optional[Sequence[RepositoryGroupRepositoryArgs]] = None,
                    repository_group_id: Optional[str] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    project: Optional[str] = None)
func NewRepositoryGroup(ctx *Context, name string, args RepositoryGroupArgs, opts ...ResourceOption) (*RepositoryGroup, error)
public RepositoryGroup(string name, RepositoryGroupArgs args, CustomResourceOptions? opts = null)
public RepositoryGroup(String name, RepositoryGroupArgs args)
public RepositoryGroup(String name, RepositoryGroupArgs args, CustomResourceOptions options)
type: gcp:gemini:RepositoryGroup
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. RepositoryGroupArgs
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. RepositoryGroupArgs
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. RepositoryGroupArgs
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. RepositoryGroupArgs
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. RepositoryGroupArgs
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 repositoryGroupResource = new Gcp.Gemini.RepositoryGroup("repositoryGroupResource", new()
{
    CodeRepositoryIndex = "string",
    Location = "string",
    Repositories = new[]
    {
        new Gcp.Gemini.Inputs.RepositoryGroupRepositoryArgs
        {
            BranchPattern = "string",
            Resource = "string",
        },
    },
    RepositoryGroupId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
Copy
example, err := gemini.NewRepositoryGroup(ctx, "repositoryGroupResource", &gemini.RepositoryGroupArgs{
	CodeRepositoryIndex: pulumi.String("string"),
	Location:            pulumi.String("string"),
	Repositories: gemini.RepositoryGroupRepositoryArray{
		&gemini.RepositoryGroupRepositoryArgs{
			BranchPattern: pulumi.String("string"),
			Resource:      pulumi.String("string"),
		},
	},
	RepositoryGroupId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
Copy
var repositoryGroupResource = new RepositoryGroup("repositoryGroupResource", RepositoryGroupArgs.builder()
    .codeRepositoryIndex("string")
    .location("string")
    .repositories(RepositoryGroupRepositoryArgs.builder()
        .branchPattern("string")
        .resource("string")
        .build())
    .repositoryGroupId("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
Copy
repository_group_resource = gcp.gemini.RepositoryGroup("repositoryGroupResource",
    code_repository_index="string",
    location="string",
    repositories=[{
        "branch_pattern": "string",
        "resource": "string",
    }],
    repository_group_id="string",
    labels={
        "string": "string",
    },
    project="string")
Copy
const repositoryGroupResource = new gcp.gemini.RepositoryGroup("repositoryGroupResource", {
    codeRepositoryIndex: "string",
    location: "string",
    repositories: [{
        branchPattern: "string",
        resource: "string",
    }],
    repositoryGroupId: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
Copy
type: gcp:gemini:RepositoryGroup
properties:
    codeRepositoryIndex: string
    labels:
        string: string
    location: string
    project: string
    repositories:
        - branchPattern: string
          resource: string
    repositoryGroupId: string
Copy

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

CodeRepositoryIndex
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Code Repository Index.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the Code Repository Index, for example us-central1.
Repositories This property is required. List<RepositoryGroupRepository>
Required. List of repositories to group. Structure is documented below.
RepositoryGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Repository Group.
Labels Dictionary<string, string>
Optional. 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
CodeRepositoryIndex
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Code Repository Index.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the Code Repository Index, for example us-central1.
Repositories This property is required. []RepositoryGroupRepositoryArgs
Required. List of repositories to group. Structure is documented below.
RepositoryGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Repository Group.
Labels map[string]string
Optional. 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
codeRepositoryIndex
This property is required.
Changes to this property will trigger replacement.
String
Required. Id of the Code Repository Index.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the Code Repository Index, for example us-central1.
repositories This property is required. List<RepositoryGroupRepository>
Required. List of repositories to group. Structure is documented below.
repositoryGroupId
This property is required.
Changes to this property will trigger replacement.
String
Required. Id of the Repository Group.
labels Map<String,String>
Optional. 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
codeRepositoryIndex
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Code Repository Index.
location
This property is required.
Changes to this property will trigger replacement.
string
The location of the Code Repository Index, for example us-central1.
repositories This property is required. RepositoryGroupRepository[]
Required. List of repositories to group. Structure is documented below.
repositoryGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Id of the Repository Group.
labels {[key: string]: string}
Optional. 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
code_repository_index
This property is required.
Changes to this property will trigger replacement.
str
Required. Id of the Code Repository Index.
location
This property is required.
Changes to this property will trigger replacement.
str
The location of the Code Repository Index, for example us-central1.
repositories This property is required. Sequence[RepositoryGroupRepositoryArgs]
Required. List of repositories to group. Structure is documented below.
repository_group_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Id of the Repository Group.
labels Mapping[str, str]
Optional. 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
codeRepositoryIndex
This property is required.
Changes to this property will trigger replacement.
String
Required. Id of the Code Repository Index.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the Code Repository Index, for example us-central1.
repositories This property is required. List<Property Map>
Required. List of repositories to group. Structure is documented below.
repositoryGroupId
This property is required.
Changes to this property will trigger replacement.
String
Required. Id of the Repository Group.
labels Map<String>
Optional. 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

Outputs

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

CreateTime string
Output only. 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
Immutable. Identifier. Name of Repository Group.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Output only. Update time stamp.
CreateTime string
Output only. 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
Immutable. Identifier. Name of Repository Group.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
Output only. Update time stamp.
createTime String
Output only. 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
Immutable. Identifier. Name of Repository Group.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Output only. Update time stamp.
createTime string
Output only. 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
Immutable. Identifier. Name of Repository Group.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime string
Output only. Update time stamp.
create_time str
Output only. 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
Immutable. Identifier. Name of Repository Group.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
update_time str
Output only. Update time stamp.
createTime String
Output only. 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
Immutable. Identifier. Name of Repository Group.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
Output only. Update time stamp.

Look up Existing RepositoryGroup Resource

Get an existing RepositoryGroup 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?: RepositoryGroupState, opts?: CustomResourceOptions): RepositoryGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        code_repository_index: Optional[str] = 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,
        repositories: Optional[Sequence[RepositoryGroupRepositoryArgs]] = None,
        repository_group_id: Optional[str] = None,
        update_time: Optional[str] = None) -> RepositoryGroup
func GetRepositoryGroup(ctx *Context, name string, id IDInput, state *RepositoryGroupState, opts ...ResourceOption) (*RepositoryGroup, error)
public static RepositoryGroup Get(string name, Input<string> id, RepositoryGroupState? state, CustomResourceOptions? opts = null)
public static RepositoryGroup get(String name, Output<String> id, RepositoryGroupState state, CustomResourceOptions options)
resources:  _:    type: gcp:gemini:RepositoryGroup    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:
CodeRepositoryIndex Changes to this property will trigger replacement. string
Required. Id of the Code Repository Index.
CreateTime string
Output only. 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>
Optional. 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
The location of the Code Repository Index, for example us-central1.
Name string
Immutable. Identifier. Name of Repository Group.
Project Changes to this property will trigger replacement. string
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
Repositories List<RepositoryGroupRepository>
Required. List of repositories to group. Structure is documented below.
RepositoryGroupId Changes to this property will trigger replacement. string
Required. Id of the Repository Group.
UpdateTime string
Output only. Update time stamp.
CodeRepositoryIndex Changes to this property will trigger replacement. string
Required. Id of the Code Repository Index.
CreateTime string
Output only. 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
Optional. 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
The location of the Code Repository Index, for example us-central1.
Name string
Immutable. Identifier. Name of Repository Group.
Project Changes to this property will trigger replacement. string
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
Repositories []RepositoryGroupRepositoryArgs
Required. List of repositories to group. Structure is documented below.
RepositoryGroupId Changes to this property will trigger replacement. string
Required. Id of the Repository Group.
UpdateTime string
Output only. Update time stamp.
codeRepositoryIndex Changes to this property will trigger replacement. String
Required. Id of the Code Repository Index.
createTime String
Output only. 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>
Optional. 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
The location of the Code Repository Index, for example us-central1.
name String
Immutable. Identifier. Name of Repository Group.
project Changes to this property will trigger replacement. String
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
repositories List<RepositoryGroupRepository>
Required. List of repositories to group. Structure is documented below.
repositoryGroupId Changes to this property will trigger replacement. String
Required. Id of the Repository Group.
updateTime String
Output only. Update time stamp.
codeRepositoryIndex Changes to this property will trigger replacement. string
Required. Id of the Code Repository Index.
createTime string
Output only. 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}
Optional. 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
The location of the Code Repository Index, for example us-central1.
name string
Immutable. Identifier. Name of Repository Group.
project Changes to this property will trigger replacement. string
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
repositories RepositoryGroupRepository[]
Required. List of repositories to group. Structure is documented below.
repositoryGroupId Changes to this property will trigger replacement. string
Required. Id of the Repository Group.
updateTime string
Output only. Update time stamp.
code_repository_index Changes to this property will trigger replacement. str
Required. Id of the Code Repository Index.
create_time str
Output only. 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]
Optional. 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
The location of the Code Repository Index, for example us-central1.
name str
Immutable. Identifier. Name of Repository Group.
project Changes to this property will trigger replacement. str
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
repositories Sequence[RepositoryGroupRepositoryArgs]
Required. List of repositories to group. Structure is documented below.
repository_group_id Changes to this property will trigger replacement. str
Required. Id of the Repository Group.
update_time str
Output only. Update time stamp.
codeRepositoryIndex Changes to this property will trigger replacement. String
Required. Id of the Code Repository Index.
createTime String
Output only. 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>
Optional. 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
The location of the Code Repository Index, for example us-central1.
name String
Immutable. Identifier. Name of Repository Group.
project Changes to this property will trigger replacement. String
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
repositories List<Property Map>
Required. List of repositories to group. Structure is documented below.
repositoryGroupId Changes to this property will trigger replacement. String
Required. Id of the Repository Group.
updateTime String
Output only. Update time stamp.

Supporting Types

RepositoryGroupRepository
, RepositoryGroupRepositoryArgs

BranchPattern This property is required. string
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


Resource This property is required. string
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
BranchPattern This property is required. string
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


Resource This property is required. string
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
branchPattern This property is required. String
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


resource This property is required. String
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
branchPattern This property is required. string
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


resource This property is required. string
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
branch_pattern This property is required. str
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


resource This property is required. str
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
branchPattern This property is required. String
Required. The Git branch pattern used for indexing in RE2 syntax. See https://github.com/google/re2/wiki/syntax for syntax.


resource This property is required. String
Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.

Import

RepositoryGroup can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/codeRepositoryIndexes/{{code_repository_index}}/repositoryGroups/{{repository_group_id}}

  • {{project}}/{{location}}/{{code_repository_index}}/{{repository_group_id}}

  • {{location}}/{{code_repository_index}}/{{repository_group_id}}

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

$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default projects/{{project}}/locations/{{location}}/codeRepositoryIndexes/{{code_repository_index}}/repositoryGroups/{{repository_group_id}}
Copy
$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default {{project}}/{{location}}/{{code_repository_index}}/{{repository_group_id}}
Copy
$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default {{location}}/{{code_repository_index}}/{{repository_group_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.