1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudidentity
  5. cloudidentity/v1beta1
  6. getGroup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.cloudidentity/v1beta1.getGroup

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Retrieves a Group.

    Using getGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
    function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>
    def get_group(group_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetGroupResult
    def get_group_output(group_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]
    func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
    func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput

    > Note: This function is named LookupGroup in the Go SDK.

    public static class GetGroup 
    {
        public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:cloudidentity/v1beta1:getGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GroupId string
    GroupId string
    groupId String
    groupId string
    groupId String

    getGroup Result

    The following output properties are available:

    AdditionalGroupKeys List<Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.EntityKeyResponse>
    Additional group keys associated with the Group.
    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.
    DynamicGroupMetadata Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.DynamicGroupMetadataResponse
    Optional. Dynamic group metadata like queries and status.
    GroupKey Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.EntityKeyResponse
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    Parent string
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    PosixGroups List<Pulumi.GoogleNative.CloudIdentity.V1Beta1.Outputs.PosixGroupResponse>
    Optional. The POSIX groups associated with the Group.
    UpdateTime string
    The time when the Group was last updated.
    AdditionalGroupKeys []EntityKeyResponse
    Additional group keys associated with the Group.
    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.
    DynamicGroupMetadata DynamicGroupMetadataResponse
    Optional. Dynamic group metadata like queries and status.
    GroupKey EntityKeyResponse
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    Parent string
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    PosixGroups []PosixGroupResponse
    Optional. The POSIX groups associated with the Group.
    UpdateTime string
    The time when the Group was last updated.
    additionalGroupKeys List<EntityKeyResponse>
    Additional group keys associated with the Group.
    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.
    dynamicGroupMetadata DynamicGroupMetadataResponse
    Optional. Dynamic group metadata like queries and status.
    groupKey EntityKeyResponse
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    parent String
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    posixGroups List<PosixGroupResponse>
    Optional. The POSIX groups associated with the Group.
    updateTime String
    The time when the Group was last updated.
    additionalGroupKeys EntityKeyResponse[]
    Additional group keys associated with the Group.
    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.
    dynamicGroupMetadata DynamicGroupMetadataResponse
    Optional. Dynamic group metadata like queries and status.
    groupKey EntityKeyResponse
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    parent string
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    posixGroups PosixGroupResponse[]
    Optional. The POSIX groups associated with the Group.
    updateTime string
    The time when the Group was last updated.
    additional_group_keys Sequence[EntityKeyResponse]
    Additional group keys associated with the Group.
    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.
    dynamic_group_metadata DynamicGroupMetadataResponse
    Optional. Dynamic group metadata like queries and status.
    group_key EntityKeyResponse
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    parent str
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    posix_groups Sequence[PosixGroupResponse]
    Optional. The POSIX groups associated with the Group.
    update_time str
    The time when the Group was last updated.
    additionalGroupKeys List<Property Map>
    Additional group keys associated with the Group.
    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.
    dynamicGroupMetadata Property Map
    Optional. Dynamic group metadata like queries and status.
    groupKey Property Map
    The EntityKey of the Group.
    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
    The resource name of the Group. Shall be of the form groups/{group_id}.
    parent String
    Immutable. 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} for external identity-mapped groups or customers/{customer_id} for Google Groups. The customer_id must begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)
    posixGroups List<Property Map>
    Optional. The POSIX groups associated with the Group.
    updateTime String
    The time when the Group was last updated.

    Supporting Types

    DynamicGroupMetadataResponse

    Queries List<Pulumi.GoogleNative.CloudIdentity.V1Beta1.Inputs.DynamicGroupQueryResponse>
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    Status Pulumi.GoogleNative.CloudIdentity.V1Beta1.Inputs.DynamicGroupStatusResponse
    Status of the dynamic group.
    Queries []DynamicGroupQueryResponse
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    Status DynamicGroupStatusResponse
    Status of the dynamic group.
    queries List<DynamicGroupQueryResponse>
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    status DynamicGroupStatusResponse
    Status of the dynamic group.
    queries DynamicGroupQueryResponse[]
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    status DynamicGroupStatusResponse
    Status of the dynamic group.
    queries Sequence[DynamicGroupQueryResponse]
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    status DynamicGroupStatusResponse
    Status of the dynamic group.
    queries List<Property Map>
    Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups.
    status Property Map
    Status of the dynamic group.

    DynamicGroupQueryResponse

    Query string
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    ResourceType string
    Query string
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    ResourceType string
    query String
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    resourceType String
    query string
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    resourceType string
    query str
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    resource_type str
    query String
    Query that determines the memberships of the dynamic group. Examples: All users with at least one organizations.department of engineering. user.organizations.exists(org, org.department=='engineering') All users with at least one location that has area of foo and building_id of bar. user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar') All users with any variation of the name John Doe (case-insensitive queries add equalsIgnoreCase() to the value being queried). user.name.value.equalsIgnoreCase('jOhn DoE')
    resourceType String

    DynamicGroupStatusResponse

    Status string
    Status of the dynamic group.
    StatusTime string
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.
    Status string
    Status of the dynamic group.
    StatusTime string
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.
    status String
    Status of the dynamic group.
    statusTime String
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.
    status string
    Status of the dynamic group.
    statusTime string
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.
    status str
    Status of the dynamic group.
    status_time str
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.
    status String
    Status of the dynamic group.
    statusTime String
    The latest time at which the dynamic group is guaranteed to be in the given status. If status is UP_TO_DATE, the latest time at which the dynamic group was confirmed to be up-to-date. If status is UPDATING_MEMBERSHIPS, the time at which dynamic group was created.

    EntityKeyResponse

    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}.
    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}.
    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}.
    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}.
    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}.
    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}.

    PosixGroupResponse

    Gid string
    GID of the POSIX group.
    Name string
    Name of the POSIX group.
    SystemId string
    System identifier for which group name and gid apply to. If not specified it will default to empty value.
    Gid string
    GID of the POSIX group.
    Name string
    Name of the POSIX group.
    SystemId string
    System identifier for which group name and gid apply to. If not specified it will default to empty value.
    gid String
    GID of the POSIX group.
    name String
    Name of the POSIX group.
    systemId String
    System identifier for which group name and gid apply to. If not specified it will default to empty value.
    gid string
    GID of the POSIX group.
    name string
    Name of the POSIX group.
    systemId string
    System identifier for which group name and gid apply to. If not specified it will default to empty value.
    gid str
    GID of the POSIX group.
    name str
    Name of the POSIX group.
    system_id str
    System identifier for which group name and gid apply to. If not specified it will default to empty value.
    gid String
    GID of the POSIX group.
    name String
    Name of the POSIX group.
    systemId String
    System identifier for which group name and gid apply to. If not specified it will default to empty value.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi