| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Storage.Buckets.Get
Description
Returns metadata for the specified bucket.
See: Cloud Storage JSON API Reference for storage.buckets.get.
- type BucketsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "projection" BucketsGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Bucket)))))))
- bucketsGet :: Text -> BucketsGet
- data BucketsGet
- bgIfMetagenerationMatch :: Lens' BucketsGet (Maybe Int64)
- bgBucket :: Lens' BucketsGet Text
- bgIfMetagenerationNotMatch :: Lens' BucketsGet (Maybe Int64)
- bgProjection :: Lens' BucketsGet (Maybe BucketsGetProjection)
REST Resource
type BucketsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "projection" BucketsGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Bucket))))))) Source #
A resource alias for storage.buckets.get method which the
BucketsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> BucketsGet |
Creates a value of BucketsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BucketsGet Source #
Returns metadata for the specified bucket.
See: bucketsGet smart constructor.
Instances
| Eq BucketsGet Source # | |
| Data BucketsGet Source # | |
| Show BucketsGet Source # | |
| Generic BucketsGet Source # | |
| GoogleRequest BucketsGet Source # | |
| type Rep BucketsGet Source # | |
| type Scopes BucketsGet Source # | |
| type Rs BucketsGet Source # | |
Request Lenses
bgIfMetagenerationMatch :: Lens' BucketsGet (Maybe Int64) Source #
Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
bgIfMetagenerationNotMatch :: Lens' BucketsGet (Maybe Int64) Source #
Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
bgProjection :: Lens' BucketsGet (Maybe BucketsGetProjection) Source #
Set of properties to return. Defaults to noAcl.