< Back

Get-GcsBucketAcl

Mon Jan 13, 2020 11:19 pm

NAME Get-GcsBucketAcl



SYNOPSIS

Gets all the access controls of a Google Cloud Storage bucket.





SYNTAX

Get-GcsBucketAcl [-Name] <string> [<CommonParameters>]





DESCRIPTION

Gets all the access controls of a Google Cloud Storage bucket. User must have access to the bucket.





PARAMETERS

-Name <string>

The name of the bucket that we retrieves the access controls from.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Bucket <string>

The name of the bucket that we retrieves the access controls from.



This is an alias of the Name parameter.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Google.Apis.Storage.v1.Data.BucketAccessControls





---------- EXAMPLE 1 ----------



PS C:\\> Get-GetGcsBucketAcl -Bucket "my-bucket"



Gets all access controls of bucket "my-bucket".



RELATED LINKS

[Access Control Lists (ACLs)] (https://cloud.google.com/storage/docs/a ... trol/lists)

[Bucket Access Controls] (https://cloud.google.com/storage/docs/j ... ssControls)