Google Cloud (GCP) Classic

v6.44.0 published on Tuesday, Nov 29, 2022 by Pulumi

Group

A Cloud Identity resource representing a Group.

To get more information about Group, see:

Warning: If you are using User ADCs (Application Default Credentials) with this resource, you must specify a billing_project and set user_project_override to true in the provider configuration. Otherwise the Cloud Identity API will return a 403 error. Your account must have the serviceusage.services.use permission on the billing_project you defined.

Example Usage

Cloud Identity Groups Basic

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var cloudIdentityGroupBasic = new Gcp.CloudIdentity.Group("cloudIdentityGroupBasic", new()
    {
        DisplayName = "my-identity-group",
        GroupKey = new Gcp.CloudIdentity.Inputs.GroupGroupKeyArgs
        {
            Id = "my-identity-group@example.com",
        },
        InitialGroupConfig = "WITH_INITIAL_OWNER",
        Labels = 
        {
            { "cloudidentity.googleapis.com/groups.discussion_forum", "" },
        },
        Parent = "customers/A01b123xz",
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudidentity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudidentity.NewGroup(ctx, "cloudIdentityGroupBasic", &cloudidentity.GroupArgs{
			DisplayName: pulumi.String("my-identity-group"),
			GroupKey: &cloudidentity.GroupGroupKeyArgs{
				Id: pulumi.String("my-identity-group@example.com"),
			},
			InitialGroupConfig: pulumi.String("WITH_INITIAL_OWNER"),
			Labels: pulumi.StringMap{
				"cloudidentity.googleapis.com/groups.discussion_forum": pulumi.String(""),
			},
			Parent: pulumi.String("customers/A01b123xz"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudidentity.Group;
import com.pulumi.gcp.cloudidentity.GroupArgs;
import com.pulumi.gcp.cloudidentity.inputs.GroupGroupKeyArgs;
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 cloudIdentityGroupBasic = new Group("cloudIdentityGroupBasic", GroupArgs.builder()        
            .displayName("my-identity-group")
            .groupKey(GroupGroupKeyArgs.builder()
                .id("my-identity-group@example.com")
                .build())
            .initialGroupConfig("WITH_INITIAL_OWNER")
            .labels(Map.of("cloudidentity.googleapis.com/groups.discussion_forum", ""))
            .parent("customers/A01b123xz")
            .build());

    }
}
import pulumi
import pulumi_gcp as gcp

cloud_identity_group_basic = gcp.cloudidentity.Group("cloudIdentityGroupBasic",
    display_name="my-identity-group",
    group_key=gcp.cloudidentity.GroupGroupKeyArgs(
        id="my-identity-group@example.com",
    ),
    initial_group_config="WITH_INITIAL_OWNER",
    labels={
        "cloudidentity.googleapis.com/groups.discussion_forum": "",
    },
    parent="customers/A01b123xz")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const cloudIdentityGroupBasic = new gcp.cloudidentity.Group("cloud_identity_group_basic", {
    displayName: "my-identity-group",
    groupKey: {
        id: "my-identity-group@example.com",
    },
    initialGroupConfig: "WITH_INITIAL_OWNER",
    labels: {
        "cloudidentity.googleapis.com/groups.discussion_forum": "",
    },
    parent: "customers/A01b123xz",
});
resources:
  cloudIdentityGroupBasic:
    type: gcp:cloudidentity:Group
    properties:
      displayName: my-identity-group
      groupKey:
        id: my-identity-group@example.com
      initialGroupConfig: WITH_INITIAL_OWNER
      labels:
        cloudidentity.googleapis.com/groups.discussion_forum:
      parent: customers/A01b123xz

Create Group Resource

new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          description: Optional[str] = None,
          display_name: Optional[str] = None,
          group_key: Optional[GroupGroupKeyArgs] = None,
          initial_group_config: Optional[str] = None,
          labels: Optional[Mapping[str, str]] = None,
          parent: Optional[str] = None)
@overload
def Group(resource_name: str,
          args: GroupArgs,
          opts: Optional[ResourceOptions] = None)
func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
public Group(String name, GroupArgs args)
public Group(String name, GroupArgs args, CustomResourceOptions options)
type: gcp:cloudidentity:Group
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GroupArgs
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 GroupArgs
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 GroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Group Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Group resource accepts the following input properties:

GroupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

Labels Dictionary<string, string>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

Parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

Description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

DisplayName string

The display name of the Group.

InitialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

GroupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

Labels map[string]string

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

Parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

Description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

DisplayName string

The display name of the Group.

InitialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

groupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

labels Map<String,String>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

parent String

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

description String

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName String

The display name of the Group.

initialGroupConfig String

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

groupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

labels {[key: string]: string}

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName string

The display name of the Group.

initialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

group_key GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

labels Mapping[str, str]

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

parent str

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

description str

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

display_name str

The display name of the Group.

initial_group_config str

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

groupKey Property Map

EntityKey of the Group. Structure is documented below.

labels Map<String>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

parent String

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

description String

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName String

The display name of the Group.

initialGroupConfig String

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

Outputs

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

CreateTime string

The time when the Group was created.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

UpdateTime string

The time when the Group was last updated.

CreateTime string

The time when the Group was created.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

UpdateTime string

The time when the Group was last updated.

createTime String

The time when the Group was created.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

updateTime String

The time when the Group was last updated.

createTime string

The time when the Group was created.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

updateTime string

The time when the Group was last updated.

create_time str

The time when the Group was created.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

update_time str

The time when the Group was last updated.

createTime String

The time when the Group was created.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

updateTime String

The time when the Group was last updated.

Look up Existing Group Resource

Get an existing Group 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?: GroupState, opts?: CustomResourceOptions): Group
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        group_key: Optional[GroupGroupKeyArgs] = None,
        initial_group_config: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        parent: Optional[str] = None,
        update_time: Optional[str] = None) -> Group
func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
public static Group get(String name, Output<String> id, GroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreateTime string

The time when the Group was created.

Description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

DisplayName string

The display name of the Group.

GroupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

InitialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

Labels Dictionary<string, string>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

Name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

Parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

UpdateTime string

The time when the Group was last updated.

CreateTime string

The time when the Group was created.

Description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

DisplayName string

The display name of the Group.

GroupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

InitialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

Labels map[string]string

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

Name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

Parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

UpdateTime string

The time when the Group was last updated.

createTime String

The time when the Group was created.

description String

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName String

The display name of the Group.

groupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

initialGroupConfig String

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

labels Map<String,String>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

name String

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

parent String

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

updateTime String

The time when the Group was last updated.

createTime string

The time when the Group was created.

description string

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName string

The display name of the Group.

groupKey GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

initialGroupConfig string

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

labels {[key: string]: string}

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

name string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

parent string

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

updateTime string

The time when the Group was last updated.

create_time str

The time when the Group was created.

description str

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

display_name str

The display name of the Group.

group_key GroupGroupKeyArgs

EntityKey of the Group. Structure is documented below.

initial_group_config str

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

labels Mapping[str, str]

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

name str

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

parent str

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

update_time str

The time when the Group was last updated.

createTime String

The time when the Group was created.

description String

An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters.

displayName String

The display name of the Group.

groupKey Property Map

EntityKey of the Group. Structure is documented below.

initialGroupConfig String

The initial configuration options for creating a Group. See the API reference for possible values. Default value is EMPTY. Possible values are INITIAL_GROUP_CONFIG_UNSPECIFIED, WITH_INITIAL_OWNER, and EMPTY.

labels Map<String>

One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value.

name String

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

parent String

The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups.

updateTime String

The time when the Group was last updated.

Supporting Types

GroupGroupKey

Id string

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

Namespace string

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

Id string

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

Namespace string

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

id String

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

namespace String

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

id string

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

namespace string

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

id str

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

namespace str

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

id String

The ID of the entity. For Google-managed entities, the id must be the email address of an existing group or user. For external-identity-mapped entities, the id must be a string conforming to the Identity Source's requirements. Must be unique within a namespace.

namespace String

The namespace in which the entity exists. If not specified, the EntityKey represents a Google-managed entity such as a Google user or a Google Group. If specified, the EntityKey represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of identitysources/{identity_source_id}.

Import

Group can be imported using any of these accepted formats

 $ pulumi import gcp:cloudidentity/group:Group default {{name}}

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.