gcp.cloudidentity.Group
Explore with Pulumi AI
A Cloud Identity resource representing a Group.
To get more information about Group, see:
- API documentation
- How-to Guides
Warning: If you are using User ADCs (Application Default Credentials) with this resource, you must specify a
billing_project
and setuser_project_override
to true in the provider configuration. Otherwise the Cloud Identity API will return a 403 error. Your account must have theserviceusage.services.use
permission on thebilling_project
you defined.
Example Usage
Cloud Identity Groups Basic
using System.Collections.Generic;
using System.Linq;
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/v7/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("cloudIdentityGroupBasic", {
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)
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:
- Group
Key GroupGroup Key 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.
- Display
Name string The display name of the Group.
- Initial
Group stringConfig 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
,EMPTY
.
- Group
Key GroupGroup Key Args 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.
- Display
Name string The display name of the Group.
- Initial
Group stringConfig 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
,EMPTY
.
- group
Key GroupGroup Key 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.
- display
Name String The display name of the Group.
- initial
Group StringConfig 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
,EMPTY
.
- group
Key GroupGroup Key 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.
- display
Name string The display name of the Group.
- initial
Group stringConfig 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
,EMPTY
.
- group_
key GroupGroup Key Args 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_ strconfig 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
,EMPTY
.
- group
Key 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.
- display
Name String The display name of the Group.
- initial
Group StringConfig 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
,EMPTY
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
- Additional
Group List<GroupKeys Additional Group Key> Additional group keys associated with the Group Structure is documented below.
- Create
Time 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.
- Update
Time string The time when the Group was last updated.
- Additional
Group []GroupKeys Additional Group Key Additional group keys associated with the Group Structure is documented below.
- Create
Time 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.
- Update
Time string The time when the Group was last updated.
- additional
Group List<GroupKeys Additional Group Key> Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- update
Time String The time when the Group was last updated.
- additional
Group GroupKeys Additional Group Key[] Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- update
Time string The time when the Group was last updated.
- additional_
group_ Sequence[Groupkeys Additional Group Key] Additional group keys associated with the Group Structure is documented below.
- 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.
- additional
Group List<Property Map>Keys Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- update
Time 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,
additional_group_keys: Optional[Sequence[GroupAdditionalGroupKeyArgs]] = 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.
- Additional
Group List<GroupKeys Additional Group Key> Additional group keys associated with the Group Structure is documented below.
- Create
Time 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.
- Display
Name string The display name of the Group.
- Group
Key GroupGroup Key EntityKey of the Group. Structure is documented below.
- Initial
Group stringConfig 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
,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.
- Update
Time string The time when the Group was last updated.
- Additional
Group []GroupKeys Additional Group Key Args Additional group keys associated with the Group Structure is documented below.
- Create
Time 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.
- Display
Name string The display name of the Group.
- Group
Key GroupGroup Key Args EntityKey of the Group. Structure is documented below.
- Initial
Group stringConfig 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
,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.
- Update
Time string The time when the Group was last updated.
- additional
Group List<GroupKeys Additional Group Key> Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- display
Name String The display name of the Group.
- group
Key GroupGroup Key EntityKey of the Group. Structure is documented below.
- initial
Group StringConfig 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
,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.
- update
Time String The time when the Group was last updated.
- additional
Group GroupKeys Additional Group Key[] Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- display
Name string The display name of the Group.
- group
Key GroupGroup Key EntityKey of the Group. Structure is documented below.
- initial
Group stringConfig 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
,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.
- update
Time string The time when the Group was last updated.
- additional_
group_ Sequence[Groupkeys Additional Group Key Args] Additional group keys associated with the Group Structure is documented below.
- 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 GroupGroup Key Args EntityKey of the Group. Structure is documented below.
- initial_
group_ strconfig 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
,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.
- additional
Group List<Property Map>Keys Additional group keys associated with the Group Structure is documented below.
- create
Time 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.
- display
Name String The display name of the Group.
- group
Key Property Map EntityKey of the Group. Structure is documented below.
- initial
Group StringConfig 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
,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.
- update
Time String The time when the Group was last updated.
Supporting Types
GroupAdditionalGroupKey, GroupAdditionalGroupKeyArgs
- 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}
.
GroupGroupKey, GroupGroupKeyArgs
- 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* {{name}}
In Terraform v1.5.0 and later, use an import
block to import Group using one of the formats above. For exampletf import {
id = “{{name}}”
to = google_cloud_identity_group.default }
$ pulumi import gcp:cloudidentity/group:Group When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Group can be imported using one of the formats above. For example
$ pulumi import gcp:cloudidentity/group:Group default {{name}}
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.