get Groups
Use this data source to get list of the Cloud Identity Groups under a customer or namespace. https://cloud.google.com/identity/docs/concepts/overview#groups
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudidentity.CloudidentityFunctions;
import com.pulumi.gcp.cloudidentity.inputs.GetGroupsArgs;
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) {
final var groups = CloudidentityFunctions.getGroups(GetGroupsArgs.builder()
.parent("customers/A01b123xz")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getGroups.
Parameters
argument
A collection of arguments for invoking getGroups.
Return
A collection of values returned by getGroups.
Parameters
parent
The parent resource under which to list all Groups. Must be of the form identitysources/{identity_source_id} for external- identity-mapped groups or customers/{customer_id} for Google Groups.
See also
Return
A collection of values returned by getGroups.
Parameters
argument
Builder for com.pulumi.gcp.cloudidentity.kotlin.inputs.GetGroupsPlainArgs.