Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

getBucketAccessControl

Returns the ACL entry for the specified entity on the specified bucket.

Using getBucketAccessControl

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 getBucketAccessControl(args: GetBucketAccessControlArgs, opts?: InvokeOptions): Promise<GetBucketAccessControlResult>
function getBucketAccessControlOutput(args: GetBucketAccessControlOutputArgs, opts?: InvokeOptions): Output<GetBucketAccessControlResult>
def get_bucket_access_control(bucket: Optional[str] = None,
                              entity: Optional[str] = None,
                              user_project: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetBucketAccessControlResult
def get_bucket_access_control_output(bucket: Optional[pulumi.Input[str]] = None,
                              entity: Optional[pulumi.Input[str]] = None,
                              user_project: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetBucketAccessControlResult]
func LookupBucketAccessControl(ctx *Context, args *LookupBucketAccessControlArgs, opts ...InvokeOption) (*LookupBucketAccessControlResult, error)
func LookupBucketAccessControlOutput(ctx *Context, args *LookupBucketAccessControlOutputArgs, opts ...InvokeOption) LookupBucketAccessControlResultOutput

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

public static class GetBucketAccessControl 
{
    public static Task<GetBucketAccessControlResult> InvokeAsync(GetBucketAccessControlArgs args, InvokeOptions? opts = null)
    public static Output<GetBucketAccessControlResult> Invoke(GetBucketAccessControlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBucketAccessControlResult> getBucketAccessControl(GetBucketAccessControlArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:storage/v1:getBucketAccessControl
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Bucket string
Entity string
UserProject string
Bucket string
Entity string
UserProject string
bucket String
entity String
userProject String
bucket string
entity string
userProject string
bucket String
entity String
userProject String

getBucketAccessControl Result

The following output properties are available:

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam Pulumi.GoogleNative.Storage.V1.Outputs.BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

Bucket string

The name of the bucket.

Domain string

The domain associated with the entity, if any.

Email string

The email address associated with the entity, if any.

Entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
EntityId string

The ID for the entity, if any.

Etag string

HTTP 1.1 Entity tag for the access-control entry.

Kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

ProjectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

Role string

The access permission for the entity.

SelfLink string

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

bucket string

The name of the bucket.

domain string

The domain associated with the entity, if any.

email string

The email address associated with the entity, if any.

entity string

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId string

The ID for the entity, if any.

etag string

HTTP 1.1 Entity tag for the access-control entry.

kind string

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role string

The access permission for the entity.

selfLink string

The link to this access-control entry.

bucket str

The name of the bucket.

domain str

The domain associated with the entity, if any.

email str

The email address associated with the entity, if any.

entity str

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entity_id str

The ID for the entity, if any.

etag str

HTTP 1.1 Entity tag for the access-control entry.

kind str

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

project_team BucketAccessControlProjectTeamResponse

The project team associated with the entity, if any.

role str

The access permission for the entity.

self_link str

The link to this access-control entry.

bucket String

The name of the bucket.

domain String

The domain associated with the entity, if any.

email String

The email address associated with the entity, if any.

entity String

The entity holding the permission, in one of the following forms:

  • user-userId
  • user-email
  • group-groupId
  • group-email
  • domain-domain
  • project-team-projectId
  • allUsers
  • allAuthenticatedUsers Examples:
  • The user liz@example.com would be user-liz@example.com.
  • The group example@googlegroups.com would be group-example@googlegroups.com.
  • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
entityId String

The ID for the entity, if any.

etag String

HTTP 1.1 Entity tag for the access-control entry.

kind String

The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.

projectTeam Property Map

The project team associated with the entity, if any.

role String

The access permission for the entity.

selfLink String

The link to this access-control entry.

Supporting Types

BucketAccessControlProjectTeamResponse

ProjectNumber string

The project number.

Team string

The team.

ProjectNumber string

The project number.

Team string

The team.

projectNumber String

The project number.

team String

The team.

projectNumber string

The project number.

team string

The team.

project_number str

The project number.

team str

The team.

projectNumber String

The project number.

team String

The team.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0