< Back

Get-GcsDefaultObjectAcl

Mon Jan 13, 2020 11:19 pm

NAME Get-GcsDefaultObjectAcl



SYNOPSIS

Gets all the default access controls of a Google Cloud Storage object.





SYNTAX

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





DESCRIPTION

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





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





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



PS C:\\> Get-GcsDefaultObjectAcl -Bucket "my-bucket" -ObjectName "my-object"



Gets all default access controls of the object "my-object" in bucket "my-bucket".



RELATED LINKS

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

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