1. Packages
  2. Googleworkspace Provider
  3. API Docs
  4. getPrivileges
googleworkspace 0.7.0 published on Wednesday, Jan 15, 2025 by hashicorp

googleworkspace.getPrivileges

Explore with Pulumi AI

googleworkspace 0.7.0 published on Wednesday, Jan 15, 2025 by hashicorp

Example Usage

Using getPrivileges

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 getPrivileges(args: GetPrivilegesArgs, opts?: InvokeOptions): Promise<GetPrivilegesResult>
function getPrivilegesOutput(args: GetPrivilegesOutputArgs, opts?: InvokeOptions): Output<GetPrivilegesResult>
Copy
def get_privileges(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPrivilegesResult
def get_privileges_output(id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPrivilegesResult]
Copy
func GetPrivileges(ctx *Context, args *GetPrivilegesArgs, opts ...InvokeOption) (*GetPrivilegesResult, error)
func GetPrivilegesOutput(ctx *Context, args *GetPrivilegesOutputArgs, opts ...InvokeOption) GetPrivilegesResultOutput
Copy

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

public static class GetPrivileges 
{
    public static Task<GetPrivilegesResult> InvokeAsync(GetPrivilegesArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivilegesResult> Invoke(GetPrivilegesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPrivilegesResult> getPrivileges(GetPrivilegesArgs args, InvokeOptions options)
public static Output<GetPrivilegesResult> getPrivileges(GetPrivilegesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: googleworkspace:index/getPrivileges:getPrivileges
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The ID of this resource.
Id string
The ID of this resource.
id String
The ID of this resource.
id string
The ID of this resource.
id str
The ID of this resource.
id String
The ID of this resource.

getPrivileges Result

The following output properties are available:

Etag string
ETag of the resource.
Id string
The ID of this resource.
Items List<GetPrivilegesItem>
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.
Etag string
ETag of the resource.
Id string
The ID of this resource.
Items []GetPrivilegesItem
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.
etag String
ETag of the resource.
id String
The ID of this resource.
items List<GetPrivilegesItem>
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.
etag string
ETag of the resource.
id string
The ID of this resource.
items GetPrivilegesItem[]
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.
etag str
ETag of the resource.
id str
The ID of this resource.
items Sequence[GetPrivilegesItem]
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.
etag String
ETag of the resource.
id String
The ID of this resource.
items List<Property Map>
A list of Privilege resources. The API returns a tree-like structure with parent-child privileges, the provider flattens this list.

Supporting Types

GetPrivilegesItem

Etag This property is required. string
IsOrgUnitScopable This property is required. bool
PrivilegeName This property is required. string
ServiceId This property is required. string
ServiceName This property is required. string
Etag This property is required. string
IsOrgUnitScopable This property is required. bool
PrivilegeName This property is required. string
ServiceId This property is required. string
ServiceName This property is required. string
etag This property is required. String
isOrgUnitScopable This property is required. Boolean
privilegeName This property is required. String
serviceId This property is required. String
serviceName This property is required. String
etag This property is required. string
isOrgUnitScopable This property is required. boolean
privilegeName This property is required. string
serviceId This property is required. string
serviceName This property is required. string
etag This property is required. str
is_org_unit_scopable This property is required. bool
privilege_name This property is required. str
service_id This property is required. str
service_name This property is required. str
etag This property is required. String
isOrgUnitScopable This property is required. Boolean
privilegeName This property is required. String
serviceId This property is required. String
serviceName This property is required. String

Package Details

Repository
googleworkspace hashicorp/terraform-provider-googleworkspace
License
Notes
This Pulumi package is based on the googleworkspace Terraform Provider.
googleworkspace 0.7.0 published on Wednesday, Jan 15, 2025 by hashicorp