< Back
Get-GcsObjectAcl
Post
NAME Get-GcsObjectAcl
SYNOPSIS
Gets all the access controls of a Google Cloud Storage object.
SYNTAX
Get-GcsObjectAcl [-Bucket] <string> [-ObjectName] <string> [<CommonParameters>]
DESCRIPTION
Gets all the access controls of a Google Cloud Storage object. User must have access to the object.
PARAMETERS
-Bucket <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
-ObjectName <string>
The name of the object that we retrieves the access controls from.
Required? true
Position? 1
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-GcsObjectAcl -Bucket "my-bucket" -ObjectName "my-object"
Gets all 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)
[Object Access Controls] (https://cloud.google.com/storage/docs/j ... ssControls)
SYNOPSIS
Gets all the access controls of a Google Cloud Storage object.
SYNTAX
Get-GcsObjectAcl [-Bucket] <string> [-ObjectName] <string> [<CommonParameters>]
DESCRIPTION
Gets all the access controls of a Google Cloud Storage object. User must have access to the object.
PARAMETERS
-Bucket <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
-ObjectName <string>
The name of the object that we retrieves the access controls from.
Required? true
Position? 1
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-GcsObjectAcl -Bucket "my-bucket" -ObjectName "my-object"
Gets all 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)
[Object Access Controls] (https://cloud.google.com/storage/docs/j ... ssControls)