gogol-storage-0.0.1: Google Cloud Storage JSON SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Storage.ObjectAccessControls.Get

Contents

Description

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

See: Cloud Storage JSON API Reference for storage.objectAccessControls.get.

Synopsis

REST Resource

type ObjectAccessControlsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ObjectAccessControl))))))))) Source

A resource alias for storage.objectAccessControls.get method which the ObjectAccessControlsGet request conforms to.

Creating a Request

objectAccessControlsGet Source

Creates a value of ObjectAccessControlsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

oacgObject :: Lens' ObjectAccessControlsGet Text Source

Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

oacgEntity :: Lens' ObjectAccessControlsGet Text Source

The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.

oacgGeneration :: Lens' ObjectAccessControlsGet (Maybe Int64) Source

If present, selects a specific revision of this object (as opposed to the latest version, the default).