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 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- storage.bucketAccessControls.delete
- storage.bucketAccessControls.get
- storage.bucketAccessControls.insert
- storage.bucketAccessControls.list
- storage.bucketAccessControls.patch
- storage.bucketAccessControls.update
- storage.buckets.delete
- storage.buckets.get
- storage.buckets.insert
- storage.buckets.list
- storage.buckets.patch
- storage.buckets.update
- storage.channels.stop
- storage.defaultObjectAccessControls.delete
- storage.defaultObjectAccessControls.get
- storage.defaultObjectAccessControls.insert
- storage.defaultObjectAccessControls.list
- storage.defaultObjectAccessControls.patch
- storage.defaultObjectAccessControls.update
- storage.objectAccessControls.delete
- storage.objectAccessControls.get
- storage.objectAccessControls.insert
- storage.objectAccessControls.list
- storage.objectAccessControls.patch
- storage.objectAccessControls.update
- storage.objects.compose
- storage.objects.copy
- storage.objects.delete
- storage.objects.get
- storage.objects.insert
- storage.objects.list
- storage.objects.patch
- storage.objects.rewrite
- storage.objects.update
- storage.objects.watchAll
- Types
- ObjectOwner
- ObjectsInsertProjection
- BucketVersioning
- BucketsUpdatePredefinedDefaultObjectACL
- ObjectsComposeDestinationPredefinedACL
- BucketsInsertPredefinedACL
- Buckets
- BucketLogging
- ObjectMetadata
- ObjectsPatchPredefinedACL
- BucketLifecycleRuleItemCondition
- ObjectsRewriteDestinationPredefinedACL
- BucketLifecycle
- Channel
- BucketLifecycleRuleItem
- ObjectsWatchAllProjection
- BucketCORSItem
- ObjectAccessControlProjectTeam
- ObjectCustomerEncryption
- Bucket
- BucketsGetProjection
- Objects
- BucketsPatchProjection
- BucketAccessControls
- BucketsUpdateProjection
- ComposeRequest
- ObjectsInsertPredefinedACL
- ObjectsListProjection
- BucketsInsertPredefinedDefaultObjectACL
- BucketsUpdatePredefinedACL
- ObjectsCopyDestinationPredefinedACL
- ObjectsUpdatePredefinedACL
- BucketOwner
- ComposeRequestSourceObjectsItem
- BucketsInsertProjection
- ChannelParams
- BucketsListProjection
- ObjectsUpdateProjection
- Object
- ObjectsPatchProjection
- ComposeRequestSourceObjectsItemObjectPreconditions
- BucketAccessControlProjectTeam
- ObjectAccessControls
- BucketWebsite
- BucketAccessControl
- BucketLifecycleRuleItemAction
- ObjectsGetProjection
- BucketsPatchPredefinedDefaultObjectACL
- BucketsPatchPredefinedACL
- ObjectAccessControl
- ObjectsCopyProjection
- RewriteResponse
- ObjectsRewriteProjection
Stores and retrieves potentially large, immutable data objects.
- storageService :: ServiceConfig
- cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"]
- storageReadWriteScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_write"]
- storageFullControlScope :: Proxy '["https://www.googleapis.com/auth/devstorage.full_control"]
- type StorageAPI = BucketsInsertResource :<|> (BucketsListResource :<|> (BucketsPatchResource :<|> (BucketsGetResource :<|> (BucketsDeleteResource :<|> (BucketsUpdateResource :<|> (ChannelsStopResource :<|> (DefaultObjectAccessControlsInsertResource :<|> (DefaultObjectAccessControlsListResource :<|> (DefaultObjectAccessControlsPatchResource :<|> (DefaultObjectAccessControlsGetResource :<|> (DefaultObjectAccessControlsDeleteResource :<|> (DefaultObjectAccessControlsUpdateResource :<|> (ObjectsInsertResource :<|> (ObjectsListResource :<|> (ObjectsCopyResource :<|> (ObjectsWatchAllResource :<|> (ObjectsPatchResource :<|> (ObjectsGetResource :<|> (ObjectsRewriteResource :<|> (ObjectsComposeResource :<|> (ObjectsDeleteResource :<|> (ObjectsUpdateResource :<|> (BucketAccessControlsInsertResource :<|> (BucketAccessControlsListResource :<|> (BucketAccessControlsPatchResource :<|> (BucketAccessControlsGetResource :<|> (BucketAccessControlsDeleteResource :<|> (BucketAccessControlsUpdateResource :<|> (ObjectAccessControlsInsertResource :<|> (ObjectAccessControlsListResource :<|> (ObjectAccessControlsPatchResource :<|> (ObjectAccessControlsGetResource :<|> (ObjectAccessControlsDeleteResource :<|> ObjectAccessControlsUpdateResource)))))))))))))))))))))))))))))))))
- module Network.Google.Resource.Storage.BucketAccessControls.Delete
- module Network.Google.Resource.Storage.BucketAccessControls.Get
- module Network.Google.Resource.Storage.BucketAccessControls.Insert
- module Network.Google.Resource.Storage.BucketAccessControls.List
- module Network.Google.Resource.Storage.BucketAccessControls.Patch
- module Network.Google.Resource.Storage.BucketAccessControls.Update
- module Network.Google.Resource.Storage.Buckets.Delete
- module Network.Google.Resource.Storage.Buckets.Get
- module Network.Google.Resource.Storage.Buckets.Insert
- module Network.Google.Resource.Storage.Buckets.List
- module Network.Google.Resource.Storage.Buckets.Patch
- module Network.Google.Resource.Storage.Buckets.Update
- module Network.Google.Resource.Storage.Channels.Stop
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.Delete
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.Get
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.Insert
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.List
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.Patch
- module Network.Google.Resource.Storage.DefaultObjectAccessControls.Update
- module Network.Google.Resource.Storage.ObjectAccessControls.Delete
- module Network.Google.Resource.Storage.ObjectAccessControls.Get
- module Network.Google.Resource.Storage.ObjectAccessControls.Insert
- module Network.Google.Resource.Storage.ObjectAccessControls.List
- module Network.Google.Resource.Storage.ObjectAccessControls.Patch
- module Network.Google.Resource.Storage.ObjectAccessControls.Update
- module Network.Google.Resource.Storage.Objects.Compose
- module Network.Google.Resource.Storage.Objects.Copy
- module Network.Google.Resource.Storage.Objects.Delete
- module Network.Google.Resource.Storage.Objects.Get
- module Network.Google.Resource.Storage.Objects.Insert
- module Network.Google.Resource.Storage.Objects.List
- module Network.Google.Resource.Storage.Objects.Patch
- module Network.Google.Resource.Storage.Objects.Rewrite
- module Network.Google.Resource.Storage.Objects.Update
- module Network.Google.Resource.Storage.Objects.WatchAll
- data ObjectOwner
- objectOwner :: ObjectOwner
- ooEntity :: Lens' ObjectOwner (Maybe Text)
- ooEntityId :: Lens' ObjectOwner (Maybe Text)
- data ObjectsInsertProjection
- data BucketVersioning
- bucketVersioning :: BucketVersioning
- bvEnabled :: Lens' BucketVersioning (Maybe Bool)
- data BucketsUpdatePredefinedDefaultObjectACL
- data ObjectsComposeDestinationPredefinedACL
- data BucketsInsertPredefinedACL
- data Buckets
- buckets :: Buckets
- bNextPageToken :: Lens' Buckets (Maybe Text)
- bKind :: Lens' Buckets Text
- bItems :: Lens' Buckets [Bucket]
- data BucketLogging
- bucketLogging :: BucketLogging
- blLogBucket :: Lens' BucketLogging (Maybe Text)
- blLogObjectPrefix :: Lens' BucketLogging (Maybe Text)
- data ObjectMetadata
- objectMetadata :: HashMap Text Text -> ObjectMetadata
- omAddtional :: Lens' ObjectMetadata (HashMap Text Text)
- data ObjectsPatchPredefinedACL
- data BucketLifecycleRuleItemCondition
- bucketLifecycleRuleItemCondition :: BucketLifecycleRuleItemCondition
- blricAge :: Lens' BucketLifecycleRuleItemCondition (Maybe Int32)
- blricIsLive :: Lens' BucketLifecycleRuleItemCondition (Maybe Bool)
- blricNumNewerVersions :: Lens' BucketLifecycleRuleItemCondition (Maybe Int32)
- blricMatchesStorageClass :: Lens' BucketLifecycleRuleItemCondition [Text]
- blricCreatedBefore :: Lens' BucketLifecycleRuleItemCondition (Maybe Day)
- data ObjectsRewriteDestinationPredefinedACL
- data BucketLifecycle
- bucketLifecycle :: BucketLifecycle
- blRule :: Lens' BucketLifecycle [BucketLifecycleRuleItem]
- data Channel
- channel :: Channel
- cResourceURI :: Lens' Channel (Maybe Text)
- cResourceId :: Lens' Channel (Maybe Text)
- cKind :: Lens' Channel Text
- cExpiration :: Lens' Channel (Maybe Int64)
- cToken :: Lens' Channel (Maybe Text)
- cAddress :: Lens' Channel (Maybe Text)
- cPayload :: Lens' Channel (Maybe Bool)
- cParams :: Lens' Channel (Maybe ChannelParams)
- cId :: Lens' Channel (Maybe Text)
- cType :: Lens' Channel (Maybe Text)
- data BucketLifecycleRuleItem
- bucketLifecycleRuleItem :: BucketLifecycleRuleItem
- blriAction :: Lens' BucketLifecycleRuleItem (Maybe BucketLifecycleRuleItemAction)
- blriCondition :: Lens' BucketLifecycleRuleItem (Maybe BucketLifecycleRuleItemCondition)
- data ObjectsWatchAllProjection
- data BucketCORSItem
- bucketCORSItem :: BucketCORSItem
- bciMaxAgeSeconds :: Lens' BucketCORSItem (Maybe Int32)
- bciOrigin :: Lens' BucketCORSItem [Text]
- bciResponseHeader :: Lens' BucketCORSItem [Text]
- bciMethod :: Lens' BucketCORSItem [Text]
- data ObjectAccessControlProjectTeam
- objectAccessControlProjectTeam :: ObjectAccessControlProjectTeam
- oacptProjectNumber :: Lens' ObjectAccessControlProjectTeam (Maybe Text)
- oacptTeam :: Lens' ObjectAccessControlProjectTeam (Maybe Text)
- data ObjectCustomerEncryption
- objectCustomerEncryption :: ObjectCustomerEncryption
- oceKeySha256 :: Lens' ObjectCustomerEncryption (Maybe Text)
- oceEncryptionAlgorithm :: Lens' ObjectCustomerEncryption (Maybe Text)
- data Bucket
- bucket :: Bucket
- bucEtag :: Lens' Bucket (Maybe Text)
- bucLocation :: Lens' Bucket (Maybe Text)
- bucKind :: Lens' Bucket Text
- bucWebsite :: Lens' Bucket (Maybe BucketWebsite)
- bucProjectNumber :: Lens' Bucket (Maybe Word64)
- bucLifecycle :: Lens' Bucket (Maybe BucketLifecycle)
- bucOwner :: Lens' Bucket (Maybe BucketOwner)
- bucSelfLink :: Lens' Bucket (Maybe Text)
- bucName :: Lens' Bucket (Maybe Text)
- bucStorageClass :: Lens' Bucket (Maybe Text)
- bucVersioning :: Lens' Bucket (Maybe BucketVersioning)
- bucCORS :: Lens' Bucket [BucketCORSItem]
- bucTimeCreated :: Lens' Bucket (Maybe UTCTime)
- bucId :: Lens' Bucket (Maybe Text)
- bucUpdated :: Lens' Bucket (Maybe UTCTime)
- bucDefaultObjectACL :: Lens' Bucket [ObjectAccessControl]
- bucMetageneration :: Lens' Bucket (Maybe Int64)
- bucLogging :: Lens' Bucket (Maybe BucketLogging)
- bucACL :: Lens' Bucket [BucketAccessControl]
- data BucketsGetProjection
- data Objects
- objects :: Objects
- oNextPageToken :: Lens' Objects (Maybe Text)
- oKind :: Lens' Objects Text
- oItems :: Lens' Objects [Object]
- oPrefixes :: Lens' Objects [Text]
- data BucketsPatchProjection
- data BucketAccessControls
- bucketAccessControls :: BucketAccessControls
- bacKind :: Lens' BucketAccessControls Text
- bacItems :: Lens' BucketAccessControls [BucketAccessControl]
- data BucketsUpdateProjection
- data ComposeRequest
- composeRequest :: ComposeRequest
- crDestination :: Lens' ComposeRequest (Maybe Object)
- crKind :: Lens' ComposeRequest Text
- crSourceObjects :: Lens' ComposeRequest [ComposeRequestSourceObjectsItem]
- data ObjectsInsertPredefinedACL
- data ObjectsListProjection
- data BucketsInsertPredefinedDefaultObjectACL
- data BucketsUpdatePredefinedACL
- data ObjectsCopyDestinationPredefinedACL
- data ObjectsUpdatePredefinedACL
- data BucketOwner
- bucketOwner :: BucketOwner
- boEntity :: Lens' BucketOwner (Maybe Text)
- boEntityId :: Lens' BucketOwner (Maybe Text)
- data ComposeRequestSourceObjectsItem
- composeRequestSourceObjectsItem :: ComposeRequestSourceObjectsItem
- crsoiName :: Lens' ComposeRequestSourceObjectsItem (Maybe Text)
- crsoiObjectPreconditions :: Lens' ComposeRequestSourceObjectsItem (Maybe ComposeRequestSourceObjectsItemObjectPreconditions)
- crsoiGeneration :: Lens' ComposeRequestSourceObjectsItem (Maybe Int64)
- data BucketsInsertProjection
- data ChannelParams
- channelParams :: HashMap Text Text -> ChannelParams
- cpAddtional :: Lens' ChannelParams (HashMap Text Text)
- data BucketsListProjection
- data ObjectsUpdateProjection
- data Object
- object' :: Object
- objEtag :: Lens' Object (Maybe Text)
- objTimeStorageClassUpdated :: Lens' Object (Maybe UTCTime)
- objSize :: Lens' Object (Maybe Word64)
- objKind :: Lens' Object Text
- objTimeDeleted :: Lens' Object (Maybe UTCTime)
- objCrc32c :: Lens' Object (Maybe Text)
- objCustomerEncryption :: Lens' Object (Maybe ObjectCustomerEncryption)
- objBucket :: Lens' Object (Maybe Text)
- objOwner :: Lens' Object (Maybe ObjectOwner)
- objSelfLink :: Lens' Object (Maybe Text)
- objMediaLink :: Lens' Object (Maybe Text)
- objComponentCount :: Lens' Object (Maybe Int32)
- objName :: Lens' Object (Maybe Text)
- objStorageClass :: Lens' Object (Maybe Text)
- objContentEncoding :: Lens' Object (Maybe Text)
- objMetadata :: Lens' Object (Maybe ObjectMetadata)
- objTimeCreated :: Lens' Object (Maybe UTCTime)
- objId :: Lens' Object (Maybe Text)
- objUpdated :: Lens' Object (Maybe UTCTime)
- objContentLanguage :: Lens' Object (Maybe Text)
- objCacheControl :: Lens' Object (Maybe Text)
- objMetageneration :: Lens' Object (Maybe Int64)
- objGeneration :: Lens' Object (Maybe Int64)
- objACL :: Lens' Object [ObjectAccessControl]
- objContentDisPosition :: Lens' Object (Maybe Text)
- objMD5Hash :: Lens' Object (Maybe Text)
- objContentType :: Lens' Object (Maybe Text)
- data ObjectsPatchProjection
- data ComposeRequestSourceObjectsItemObjectPreconditions
- composeRequestSourceObjectsItemObjectPreconditions :: ComposeRequestSourceObjectsItemObjectPreconditions
- crsoiopIfGenerationMatch :: Lens' ComposeRequestSourceObjectsItemObjectPreconditions (Maybe Int64)
- data BucketAccessControlProjectTeam
- bucketAccessControlProjectTeam :: BucketAccessControlProjectTeam
- bacptProjectNumber :: Lens' BucketAccessControlProjectTeam (Maybe Text)
- bacptTeam :: Lens' BucketAccessControlProjectTeam (Maybe Text)
- data ObjectAccessControls
- objectAccessControls :: ObjectAccessControls
- oacKind :: Lens' ObjectAccessControls Text
- oacItems :: Lens' ObjectAccessControls [ObjectAccessControl]
- data BucketWebsite
- bucketWebsite :: BucketWebsite
- bwMainPageSuffix :: Lens' BucketWebsite (Maybe Text)
- bwNotFoundPage :: Lens' BucketWebsite (Maybe Text)
- data BucketAccessControl
- bucketAccessControl :: BucketAccessControl
- bacaEmail :: Lens' BucketAccessControl (Maybe Text)
- bacaEtag :: Lens' BucketAccessControl (Maybe Text)
- bacaKind :: Lens' BucketAccessControl Text
- bacaDomain :: Lens' BucketAccessControl (Maybe Text)
- bacaBucket :: Lens' BucketAccessControl (Maybe Text)
- bacaRole :: Lens' BucketAccessControl (Maybe Text)
- bacaSelfLink :: Lens' BucketAccessControl (Maybe Text)
- bacaId :: Lens' BucketAccessControl (Maybe Text)
- bacaProjectTeam :: Lens' BucketAccessControl (Maybe BucketAccessControlProjectTeam)
- bacaEntity :: Lens' BucketAccessControl (Maybe Text)
- bacaEntityId :: Lens' BucketAccessControl (Maybe Text)
- data BucketLifecycleRuleItemAction
- bucketLifecycleRuleItemAction :: BucketLifecycleRuleItemAction
- blriaStorageClass :: Lens' BucketLifecycleRuleItemAction (Maybe Text)
- blriaType :: Lens' BucketLifecycleRuleItemAction (Maybe Text)
- data ObjectsGetProjection
- data BucketsPatchPredefinedDefaultObjectACL
- data BucketsPatchPredefinedACL
- data ObjectAccessControl
- objectAccessControl :: ObjectAccessControl
- oacaEmail :: Lens' ObjectAccessControl (Maybe Text)
- oacaEtag :: Lens' ObjectAccessControl (Maybe Text)
- oacaKind :: Lens' ObjectAccessControl Text
- oacaDomain :: Lens' ObjectAccessControl (Maybe Text)
- oacaBucket :: Lens' ObjectAccessControl (Maybe Text)
- oacaRole :: Lens' ObjectAccessControl (Maybe Text)
- oacaSelfLink :: Lens' ObjectAccessControl (Maybe Text)
- oacaObject :: Lens' ObjectAccessControl (Maybe Text)
- oacaId :: Lens' ObjectAccessControl (Maybe Text)
- oacaProjectTeam :: Lens' ObjectAccessControl (Maybe ObjectAccessControlProjectTeam)
- oacaEntity :: Lens' ObjectAccessControl (Maybe Text)
- oacaGeneration :: Lens' ObjectAccessControl (Maybe Int64)
- oacaEntityId :: Lens' ObjectAccessControl (Maybe Text)
- data ObjectsCopyProjection
- data RewriteResponse
- rewriteResponse :: RewriteResponse
- rrKind :: Lens' RewriteResponse Text
- rrDone :: Lens' RewriteResponse (Maybe Bool)
- rrResource :: Lens' RewriteResponse (Maybe Object)
- rrObjectSize :: Lens' RewriteResponse (Maybe Word64)
- rrTotalBytesRewritten :: Lens' RewriteResponse (Maybe Word64)
- rrRewriteToken :: Lens' RewriteResponse (Maybe Text)
- data ObjectsRewriteProjection
Service Configuration
storageService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Storage JSON API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"] Source #
View your data across Google Cloud Platform services
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"] Source #
View your data in Google Cloud Storage
storageReadWriteScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_write"] Source #
Manage your data in Google Cloud Storage
storageFullControlScope :: Proxy '["https://www.googleapis.com/auth/devstorage.full_control"] Source #
Manage your data and permissions in Google Cloud Storage
API Declaration
type StorageAPI = BucketsInsertResource :<|> (BucketsListResource :<|> (BucketsPatchResource :<|> (BucketsGetResource :<|> (BucketsDeleteResource :<|> (BucketsUpdateResource :<|> (ChannelsStopResource :<|> (DefaultObjectAccessControlsInsertResource :<|> (DefaultObjectAccessControlsListResource :<|> (DefaultObjectAccessControlsPatchResource :<|> (DefaultObjectAccessControlsGetResource :<|> (DefaultObjectAccessControlsDeleteResource :<|> (DefaultObjectAccessControlsUpdateResource :<|> (ObjectsInsertResource :<|> (ObjectsListResource :<|> (ObjectsCopyResource :<|> (ObjectsWatchAllResource :<|> (ObjectsPatchResource :<|> (ObjectsGetResource :<|> (ObjectsRewriteResource :<|> (ObjectsComposeResource :<|> (ObjectsDeleteResource :<|> (ObjectsUpdateResource :<|> (BucketAccessControlsInsertResource :<|> (BucketAccessControlsListResource :<|> (BucketAccessControlsPatchResource :<|> (BucketAccessControlsGetResource :<|> (BucketAccessControlsDeleteResource :<|> (BucketAccessControlsUpdateResource :<|> (ObjectAccessControlsInsertResource :<|> (ObjectAccessControlsListResource :<|> (ObjectAccessControlsPatchResource :<|> (ObjectAccessControlsGetResource :<|> (ObjectAccessControlsDeleteResource :<|> ObjectAccessControlsUpdateResource))))))))))))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Cloud Storage JSON API service.
Resources
storage.bucketAccessControls.delete
storage.bucketAccessControls.get
storage.bucketAccessControls.insert
storage.bucketAccessControls.list
storage.bucketAccessControls.patch
storage.bucketAccessControls.update
storage.buckets.delete
storage.buckets.get
storage.buckets.insert
storage.buckets.list
storage.buckets.patch
storage.buckets.update
storage.channels.stop
storage.defaultObjectAccessControls.delete
storage.defaultObjectAccessControls.get
storage.defaultObjectAccessControls.insert
storage.defaultObjectAccessControls.list
storage.defaultObjectAccessControls.patch
storage.defaultObjectAccessControls.update
storage.objectAccessControls.delete
storage.objectAccessControls.get
storage.objectAccessControls.insert
storage.objectAccessControls.list
storage.objectAccessControls.patch
storage.objectAccessControls.update
storage.objects.compose
storage.objects.copy
storage.objects.delete
storage.objects.get
storage.objects.insert
storage.objects.list
storage.objects.patch
storage.objects.rewrite
storage.objects.update
storage.objects.watchAll
Types
ObjectOwner
data ObjectOwner Source #
The owner of the object. This will always be the uploader of the object.
See: objectOwner
smart constructor.
objectOwner :: ObjectOwner Source #
Creates a value of ObjectOwner
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ooEntityId :: Lens' ObjectOwner (Maybe Text) Source #
The ID for the entity.
ObjectsInsertProjection
data ObjectsInsertProjection Source #
Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
BucketVersioning
data BucketVersioning Source #
The bucket's versioning configuration.
See: bucketVersioning
smart constructor.
bucketVersioning :: BucketVersioning Source #
Creates a value of BucketVersioning
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bvEnabled :: Lens' BucketVersioning (Maybe Bool) Source #
While set to true, versioning is fully enabled for this bucket.
BucketsUpdatePredefinedDefaultObjectACL
data BucketsUpdatePredefinedDefaultObjectACL Source #
Apply a predefined set of default object access controls to this bucket.
AuthenticatedRead |
|
BucketOwnerFullControl |
|
BucketOwnerRead |
|
Private |
|
ProjectPrivate |
|
PublicRead |
|
ObjectsComposeDestinationPredefinedACL
data ObjectsComposeDestinationPredefinedACL Source #
Apply a predefined set of access controls to the destination object.
OCDPAAuthenticatedRead |
|
OCDPABucketOwnerFullControl |
|
OCDPABucketOwnerRead |
|
OCDPAPrivate |
|
OCDPAProjectPrivate |
|
OCDPAPublicRead |
|
BucketsInsertPredefinedACL
data BucketsInsertPredefinedACL Source #
Apply a predefined set of access controls to this bucket.
BIPAAuthenticatedRead |
|
BIPAPrivate |
|
BIPAProjectPrivate |
|
BIPAPublicRead |
|
BIPAPublicReadWrite |
|
Buckets
A list of buckets.
See: buckets
smart constructor.
Creates a value of Buckets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bNextPageToken :: Lens' Buckets (Maybe Text) Source #
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
bKind :: Lens' Buckets Text Source #
The kind of item this is. For lists of buckets, this is always storage#buckets.
BucketLogging
data BucketLogging Source #
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
See: bucketLogging
smart constructor.
bucketLogging :: BucketLogging Source #
Creates a value of BucketLogging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blLogBucket :: Lens' BucketLogging (Maybe Text) Source #
The destination bucket where the current bucket's logs should be placed.
blLogObjectPrefix :: Lens' BucketLogging (Maybe Text) Source #
A prefix for log object names.
ObjectMetadata
data ObjectMetadata Source #
User-provided metadata, in key/value pairs.
See: objectMetadata
smart constructor.
Creates a value of ObjectMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' ObjectMetadata (HashMap Text Text) Source #
An individual metadata entry.
ObjectsPatchPredefinedACL
data ObjectsPatchPredefinedACL Source #
Apply a predefined set of access controls to this object.
OPPAAuthenticatedRead |
|
OPPABucketOwnerFullControl |
|
OPPABucketOwnerRead |
|
OPPAPrivate |
|
OPPAProjectPrivate |
|
OPPAPublicRead |
|
BucketLifecycleRuleItemCondition
data BucketLifecycleRuleItemCondition Source #
The condition(s) under which the action will be taken.
See: bucketLifecycleRuleItemCondition
smart constructor.
bucketLifecycleRuleItemCondition :: BucketLifecycleRuleItemCondition Source #
Creates a value of BucketLifecycleRuleItemCondition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blricAge :: Lens' BucketLifecycleRuleItemCondition (Maybe Int32) Source #
Age of an object (in days). This condition is satisfied when an object reaches the specified age.
blricIsLive :: Lens' BucketLifecycleRuleItemCondition (Maybe Bool) Source #
Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.
blricNumNewerVersions :: Lens' BucketLifecycleRuleItemCondition (Maybe Int32) Source #
Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.
blricMatchesStorageClass :: Lens' BucketLifecycleRuleItemCondition [Text] Source #
Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.
blricCreatedBefore :: Lens' BucketLifecycleRuleItemCondition (Maybe Day) Source #
A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight of the specified date in UTC.
ObjectsRewriteDestinationPredefinedACL
data ObjectsRewriteDestinationPredefinedACL Source #
Apply a predefined set of access controls to the destination object.
ORDPAAuthenticatedRead |
|
ORDPABucketOwnerFullControl |
|
ORDPABucketOwnerRead |
|
ORDPAPrivate |
|
ORDPAProjectPrivate |
|
ORDPAPublicRead |
|
BucketLifecycle
data BucketLifecycle Source #
The bucket's lifecycle configuration. See lifecycle management for more information.
See: bucketLifecycle
smart constructor.
bucketLifecycle :: BucketLifecycle Source #
Creates a value of BucketLifecycle
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blRule :: Lens' BucketLifecycle [BucketLifecycleRuleItem] Source #
A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.
Channel
An notification channel used to watch for resource changes.
See: channel
smart constructor.
Creates a value of Channel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cResourceURI :: Lens' Channel (Maybe Text) Source #
A version-specific identifier for the watched resource.
cResourceId :: Lens' Channel (Maybe Text) Source #
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
cKind :: Lens' Channel Text Source #
Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
cExpiration :: Lens' Channel (Maybe Int64) Source #
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
cToken :: Lens' Channel (Maybe Text) Source #
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
cAddress :: Lens' Channel (Maybe Text) Source #
The address where notifications are delivered for this channel.
cPayload :: Lens' Channel (Maybe Bool) Source #
A Boolean value to indicate whether payload is wanted. Optional.
cParams :: Lens' Channel (Maybe ChannelParams) Source #
Additional parameters controlling delivery channel behavior. Optional.
cId :: Lens' Channel (Maybe Text) Source #
A UUID or similar unique string that identifies this channel.
BucketLifecycleRuleItem
bucketLifecycleRuleItem :: BucketLifecycleRuleItem Source #
Creates a value of BucketLifecycleRuleItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blriAction :: Lens' BucketLifecycleRuleItem (Maybe BucketLifecycleRuleItemAction) Source #
The action to take.
blriCondition :: Lens' BucketLifecycleRuleItem (Maybe BucketLifecycleRuleItemCondition) Source #
The condition(s) under which the action will be taken.
ObjectsWatchAllProjection
data ObjectsWatchAllProjection Source #
Set of properties to return. Defaults to noAcl.
BucketCORSItem
data BucketCORSItem Source #
bucketCORSItem :: BucketCORSItem Source #
Creates a value of BucketCORSItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bciMaxAgeSeconds :: Lens' BucketCORSItem (Maybe Int32) Source #
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
bciOrigin :: Lens' BucketCORSItem [Text] Source #
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
bciResponseHeader :: Lens' BucketCORSItem [Text] Source #
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
bciMethod :: Lens' BucketCORSItem [Text] Source #
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
ObjectAccessControlProjectTeam
data ObjectAccessControlProjectTeam Source #
The project team associated with the entity, if any.
See: objectAccessControlProjectTeam
smart constructor.
objectAccessControlProjectTeam :: ObjectAccessControlProjectTeam Source #
Creates a value of ObjectAccessControlProjectTeam
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oacptProjectNumber :: Lens' ObjectAccessControlProjectTeam (Maybe Text) Source #
The project number.
ObjectCustomerEncryption
data ObjectCustomerEncryption Source #
Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
See: objectCustomerEncryption
smart constructor.
objectCustomerEncryption :: ObjectCustomerEncryption Source #
Creates a value of ObjectCustomerEncryption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oceKeySha256 :: Lens' ObjectCustomerEncryption (Maybe Text) Source #
SHA256 hash value of the encryption key.
oceEncryptionAlgorithm :: Lens' ObjectCustomerEncryption (Maybe Text) Source #
The encryption algorithm.
Bucket
A bucket.
See: bucket
smart constructor.
Creates a value of Bucket
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bucLocation :: Lens' Bucket (Maybe Text) Source #
The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.
bucKind :: Lens' Bucket Text Source #
The kind of item this is. For buckets, this is always storage#bucket.
bucWebsite :: Lens' Bucket (Maybe BucketWebsite) Source #
The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.
bucProjectNumber :: Lens' Bucket (Maybe Word64) Source #
The project number of the project the bucket belongs to.
bucLifecycle :: Lens' Bucket (Maybe BucketLifecycle) Source #
The bucket's lifecycle configuration. See lifecycle management for more information.
bucOwner :: Lens' Bucket (Maybe BucketOwner) Source #
The owner of the bucket. This is always the project team's owner group.
bucStorageClass :: Lens' Bucket (Maybe Text) Source #
The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage classes.
bucVersioning :: Lens' Bucket (Maybe BucketVersioning) Source #
The bucket's versioning configuration.
bucCORS :: Lens' Bucket [BucketCORSItem] Source #
The bucket's Cross-Origin Resource Sharing (CORS) configuration.
bucTimeCreated :: Lens' Bucket (Maybe UTCTime) Source #
The creation time of the bucket in RFC 3339 format.
bucUpdated :: Lens' Bucket (Maybe UTCTime) Source #
The modification time of the bucket in RFC 3339 format.
bucDefaultObjectACL :: Lens' Bucket [ObjectAccessControl] Source #
Default access controls to apply to new objects when no ACL is provided.
bucLogging :: Lens' Bucket (Maybe BucketLogging) Source #
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
BucketsGetProjection
data BucketsGetProjection Source #
Set of properties to return. Defaults to noAcl.
Objects
A list of objects.
See: objects
smart constructor.
Creates a value of Objects
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oNextPageToken :: Lens' Objects (Maybe Text) Source #
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
oKind :: Lens' Objects Text Source #
The kind of item this is. For lists of objects, this is always storage#objects.
oPrefixes :: Lens' Objects [Text] Source #
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.
BucketsPatchProjection
data BucketsPatchProjection Source #
Set of properties to return. Defaults to full.
BucketAccessControls
data BucketAccessControls Source #
An access-control list.
See: bucketAccessControls
smart constructor.
bucketAccessControls :: BucketAccessControls Source #
Creates a value of BucketAccessControls
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bacKind :: Lens' BucketAccessControls Text Source #
The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.
bacItems :: Lens' BucketAccessControls [BucketAccessControl] Source #
The list of items.
BucketsUpdateProjection
data BucketsUpdateProjection Source #
Set of properties to return. Defaults to full.
ComposeRequest
data ComposeRequest Source #
A Compose request.
See: composeRequest
smart constructor.
composeRequest :: ComposeRequest Source #
Creates a value of ComposeRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crDestination :: Lens' ComposeRequest (Maybe Object) Source #
Properties of the resulting object.
crSourceObjects :: Lens' ComposeRequest [ComposeRequestSourceObjectsItem] Source #
The list of source objects that will be concatenated into a single object.
ObjectsInsertPredefinedACL
data ObjectsInsertPredefinedACL Source #
Apply a predefined set of access controls to this object.
OIPAAuthenticatedRead |
|
OIPABucketOwnerFullControl |
|
OIPABucketOwnerRead |
|
OIPAPrivate |
|
OIPAProjectPrivate |
|
OIPAPublicRead |
|
ObjectsListProjection
data ObjectsListProjection Source #
Set of properties to return. Defaults to noAcl.
BucketsInsertPredefinedDefaultObjectACL
data BucketsInsertPredefinedDefaultObjectACL Source #
Apply a predefined set of default object access controls to this bucket.
BIPDOAAuthenticatedRead |
|
BIPDOABucketOwnerFullControl |
|
BIPDOABucketOwnerRead |
|
BIPDOAPrivate |
|
BIPDOAProjectPrivate |
|
BIPDOAPublicRead |
|
BucketsUpdatePredefinedACL
data BucketsUpdatePredefinedACL Source #
Apply a predefined set of access controls to this bucket.
BUPAAuthenticatedRead |
|
BUPAPrivate |
|
BUPAProjectPrivate |
|
BUPAPublicRead |
|
BUPAPublicReadWrite |
|
ObjectsCopyDestinationPredefinedACL
data ObjectsCopyDestinationPredefinedACL Source #
Apply a predefined set of access controls to the destination object.
OCDPACLAuthenticatedRead |
|
OCDPACLBucketOwnerFullControl |
|
OCDPACLBucketOwnerRead |
|
OCDPACLPrivate |
|
OCDPACLProjectPrivate |
|
OCDPACLPublicRead |
|
ObjectsUpdatePredefinedACL
data ObjectsUpdatePredefinedACL Source #
Apply a predefined set of access controls to this object.
OUPAAuthenticatedRead |
|
OUPABucketOwnerFullControl |
|
OUPABucketOwnerRead |
|
OUPAPrivate |
|
OUPAProjectPrivate |
|
OUPAPublicRead |
|
BucketOwner
data BucketOwner Source #
The owner of the bucket. This is always the project team's owner group.
See: bucketOwner
smart constructor.
bucketOwner :: BucketOwner Source #
Creates a value of BucketOwner
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
boEntityId :: Lens' BucketOwner (Maybe Text) Source #
The ID for the entity.
ComposeRequestSourceObjectsItem
data ComposeRequestSourceObjectsItem Source #
composeRequestSourceObjectsItem :: ComposeRequestSourceObjectsItem Source #
Creates a value of ComposeRequestSourceObjectsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsoiName :: Lens' ComposeRequestSourceObjectsItem (Maybe Text) Source #
The source object's name. The source object's bucket is implicitly the destination bucket.
crsoiObjectPreconditions :: Lens' ComposeRequestSourceObjectsItem (Maybe ComposeRequestSourceObjectsItemObjectPreconditions) Source #
Conditions that must be met for this operation to execute.
crsoiGeneration :: Lens' ComposeRequestSourceObjectsItem (Maybe Int64) Source #
The generation of this object to use as the source.
BucketsInsertProjection
data BucketsInsertProjection Source #
Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.
ChannelParams
data ChannelParams Source #
Additional parameters controlling delivery channel behavior. Optional.
See: channelParams
smart constructor.
Creates a value of ChannelParams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpAddtional :: Lens' ChannelParams (HashMap Text Text) Source #
Declares a new parameter by name.
BucketsListProjection
data BucketsListProjection Source #
Set of properties to return. Defaults to noAcl.
ObjectsUpdateProjection
data ObjectsUpdateProjection Source #
Set of properties to return. Defaults to full.
Object
An object.
See: object'
smart constructor.
Creates a value of Object
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
objEtag
objTimeStorageClassUpdated
objSize
objKind
objTimeDeleted
objCrc32c
objCustomerEncryption
objBucket
objOwner
objSelfLink
objMediaLink
objComponentCount
objName
objStorageClass
objContentEncoding
objMetadata
objTimeCreated
objId
objUpdated
objContentLanguage
objCacheControl
objMetageneration
objGeneration
objACL
objContentDisPosition
objMD5Hash
objContentType
objTimeStorageClassUpdated :: Lens' Object (Maybe UTCTime) Source #
The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.
objKind :: Lens' Object Text Source #
The kind of item this is. For objects, this is always storage#object.
objTimeDeleted :: Lens' Object (Maybe UTCTime) Source #
The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
objCrc32c :: Lens' Object (Maybe Text) Source #
CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
objCustomerEncryption :: Lens' Object (Maybe ObjectCustomerEncryption) Source #
Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
objOwner :: Lens' Object (Maybe ObjectOwner) Source #
The owner of the object. This will always be the uploader of the object.
objComponentCount :: Lens' Object (Maybe Int32) Source #
Number of underlying components that make up this object. Components are accumulated by compose operations.
objName :: Lens' Object (Maybe Text) Source #
The name of this object. Required if not specified by URL parameter.
objMetadata :: Lens' Object (Maybe ObjectMetadata) Source #
User-provided metadata, in key/value pairs.
objTimeCreated :: Lens' Object (Maybe UTCTime) Source #
The creation time of the object in RFC 3339 format.
objUpdated :: Lens' Object (Maybe UTCTime) Source #
The modification time of the object metadata in RFC 3339 format.
objCacheControl :: Lens' Object (Maybe Text) Source #
Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.
objMetageneration :: Lens' Object (Maybe Int64) Source #
The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
objGeneration :: Lens' Object (Maybe Int64) Source #
The content generation of this object. Used for object versioning.
objMD5Hash :: Lens' Object (Maybe Text) Source #
MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
objContentType :: Lens' Object (Maybe Text) Source #
Content-Type of the object data. If contentType is not specified, object downloads will be served as application/octet-stream.
ObjectsPatchProjection
data ObjectsPatchProjection Source #
Set of properties to return. Defaults to full.
ComposeRequestSourceObjectsItemObjectPreconditions
data ComposeRequestSourceObjectsItemObjectPreconditions Source #
Conditions that must be met for this operation to execute.
See: composeRequestSourceObjectsItemObjectPreconditions
smart constructor.
composeRequestSourceObjectsItemObjectPreconditions :: ComposeRequestSourceObjectsItemObjectPreconditions Source #
Creates a value of ComposeRequestSourceObjectsItemObjectPreconditions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsoiopIfGenerationMatch :: Lens' ComposeRequestSourceObjectsItemObjectPreconditions (Maybe Int64) Source #
Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.
BucketAccessControlProjectTeam
data BucketAccessControlProjectTeam Source #
The project team associated with the entity, if any.
See: bucketAccessControlProjectTeam
smart constructor.
bucketAccessControlProjectTeam :: BucketAccessControlProjectTeam Source #
Creates a value of BucketAccessControlProjectTeam
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bacptProjectNumber :: Lens' BucketAccessControlProjectTeam (Maybe Text) Source #
The project number.
ObjectAccessControls
data ObjectAccessControls Source #
An access-control list.
See: objectAccessControls
smart constructor.
objectAccessControls :: ObjectAccessControls Source #
Creates a value of ObjectAccessControls
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oacKind :: Lens' ObjectAccessControls Text Source #
The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.
oacItems :: Lens' ObjectAccessControls [ObjectAccessControl] Source #
The list of items.
BucketWebsite
data BucketWebsite Source #
The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.
See: bucketWebsite
smart constructor.
bucketWebsite :: BucketWebsite Source #
Creates a value of BucketWebsite
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bwMainPageSuffix :: Lens' BucketWebsite (Maybe Text) Source #
If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.
bwNotFoundPage :: Lens' BucketWebsite (Maybe Text) Source #
If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result.
BucketAccessControl
data BucketAccessControl Source #
An access-control entry.
See: bucketAccessControl
smart constructor.
bucketAccessControl :: BucketAccessControl Source #
Creates a value of BucketAccessControl
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bacaEmail :: Lens' BucketAccessControl (Maybe Text) Source #
The email address associated with the entity, if any.
bacaEtag :: Lens' BucketAccessControl (Maybe Text) Source #
HTTP 1.1 Entity tag for the access-control entry.
bacaKind :: Lens' BucketAccessControl Text Source #
The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.
bacaDomain :: Lens' BucketAccessControl (Maybe Text) Source #
The domain associated with the entity, if any.
bacaBucket :: Lens' BucketAccessControl (Maybe Text) Source #
The name of the bucket.
bacaSelfLink :: Lens' BucketAccessControl (Maybe Text) Source #
The link to this access-control entry.
bacaProjectTeam :: Lens' BucketAccessControl (Maybe BucketAccessControlProjectTeam) Source #
The project team associated with the entity, if any.
bacaEntity :: Lens' BucketAccessControl (Maybe Text) Source #
The entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz'example.com would be user-liz'example.com. - The group example'googlegroups.com would be group-example'googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
bacaEntityId :: Lens' BucketAccessControl (Maybe Text) Source #
The ID for the entity, if any.
BucketLifecycleRuleItemAction
data BucketLifecycleRuleItemAction Source #
The action to take.
See: bucketLifecycleRuleItemAction
smart constructor.
bucketLifecycleRuleItemAction :: BucketLifecycleRuleItemAction Source #
Creates a value of BucketLifecycleRuleItemAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
blriaStorageClass :: Lens' BucketLifecycleRuleItemAction (Maybe Text) Source #
Target storage class. Required iff the type of the action is SetStorageClass.
blriaType :: Lens' BucketLifecycleRuleItemAction (Maybe Text) Source #
Type of the action. Currently, only Delete and SetStorageClass are supported.
ObjectsGetProjection
data ObjectsGetProjection Source #
Set of properties to return. Defaults to noAcl.
BucketsPatchPredefinedDefaultObjectACL
data BucketsPatchPredefinedDefaultObjectACL Source #
Apply a predefined set of default object access controls to this bucket.
BPPDOAAuthenticatedRead |
|
BPPDOABucketOwnerFullControl |
|
BPPDOABucketOwnerRead |
|
BPPDOAPrivate |
|
BPPDOAProjectPrivate |
|
BPPDOAPublicRead |
|
BucketsPatchPredefinedACL
data BucketsPatchPredefinedACL Source #
Apply a predefined set of access controls to this bucket.
BPPAAuthenticatedRead |
|
BPPAPrivate |
|
BPPAProjectPrivate |
|
BPPAPublicRead |
|
BPPAPublicReadWrite |
|
ObjectAccessControl
data ObjectAccessControl Source #
An access-control entry.
See: objectAccessControl
smart constructor.
objectAccessControl :: ObjectAccessControl Source #
Creates a value of ObjectAccessControl
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oacaEmail :: Lens' ObjectAccessControl (Maybe Text) Source #
The email address associated with the entity, if any.
oacaEtag :: Lens' ObjectAccessControl (Maybe Text) Source #
HTTP 1.1 Entity tag for the access-control entry.
oacaKind :: Lens' ObjectAccessControl Text Source #
The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
oacaDomain :: Lens' ObjectAccessControl (Maybe Text) Source #
The domain associated with the entity, if any.
oacaBucket :: Lens' ObjectAccessControl (Maybe Text) Source #
The name of the bucket.
oacaSelfLink :: Lens' ObjectAccessControl (Maybe Text) Source #
The link to this access-control entry.
oacaObject :: Lens' ObjectAccessControl (Maybe Text) Source #
The name of the object, if applied to an object.
oacaProjectTeam :: Lens' ObjectAccessControl (Maybe ObjectAccessControlProjectTeam) Source #
The project team associated with the entity, if any.
oacaEntity :: Lens' ObjectAccessControl (Maybe Text) Source #
The entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz'example.com would be user-liz'example.com. - The group example'googlegroups.com would be group-example'googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
oacaGeneration :: Lens' ObjectAccessControl (Maybe Int64) Source #
The content generation of the object, if applied to an object.
oacaEntityId :: Lens' ObjectAccessControl (Maybe Text) Source #
The ID for the entity, if any.
ObjectsCopyProjection
data ObjectsCopyProjection Source #
Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.
RewriteResponse
data RewriteResponse Source #
A rewrite response.
See: rewriteResponse
smart constructor.
rewriteResponse :: RewriteResponse Source #
Creates a value of RewriteResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrDone :: Lens' RewriteResponse (Maybe Bool) Source #
true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.
rrResource :: Lens' RewriteResponse (Maybe Object) Source #
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
rrObjectSize :: Lens' RewriteResponse (Maybe Word64) Source #
The total size of the object being copied in bytes. This property is always present in the response.
rrTotalBytesRewritten :: Lens' RewriteResponse (Maybe Word64) Source #
The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.
rrRewriteToken :: Lens' RewriteResponse (Maybe Text) Source #
A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
ObjectsRewriteProjection
data ObjectsRewriteProjection Source #
Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.