@datafire/google_storage v6.0.0
@datafire/google_storage
Client library for Cloud Storage JSON API
Installation and Usage
npm install --save @datafire/google_storage
let google_storage = require('@datafire/google_storage').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Stores and retrieves potentially large, immutable data objects.
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_storage.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
google_storage.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
storage.buckets.list
Retrieves a list of buckets for a given project.
google_storage.storage.buckets.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: A valid API project identifier. - maxResults
integer
: Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. - pageToken
string
: A previously-returned page token representing part of the larger set of results to view. - prefix
string
: Filter results to buckets whose names begin with this prefix. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- project required
Output
- output Buckets
storage.buckets.insert
Creates a new bucket.
google_storage.storage.buckets.insert({
"project": ""
}, context)
Input
- input
object
- project required
string
: A valid API project identifier. - predefinedAcl
string
(values: authenticatedRead, private, projectPrivate, publicRead, publicReadWrite): Apply a predefined set of access controls to this bucket. - predefinedDefaultObjectAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of default object access controls to this bucket. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. - body Bucket
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- project required
Output
- output Bucket
storage.buckets.delete
Permanently deletes an empty bucket.
google_storage.storage.buckets.delete({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch
string
: If set, only deletes the bucket if its metageneration matches this value. - ifMetagenerationNotMatch
string
: If set, only deletes the bucket if its metageneration does not match this value. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.buckets.get
Returns metadata for the specified bucket.
google_storage.storage.buckets.get({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Bucket
storage.buckets.patch
Patches a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
google_storage.storage.buckets.patch({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. - predefinedAcl
string
(values: authenticatedRead, private, projectPrivate, publicRead, publicReadWrite): Apply a predefined set of access controls to this bucket. - predefinedDefaultObjectAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of default object access controls to this bucket. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Bucket
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Bucket
storage.buckets.update
Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
google_storage.storage.buckets.update({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. - predefinedAcl
string
(values: authenticatedRead, private, projectPrivate, publicRead, publicReadWrite): Apply a predefined set of access controls to this bucket. - predefinedDefaultObjectAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of default object access controls to this bucket. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Bucket
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Bucket
storage.bucketAccessControls.list
Retrieves ACL entries on the specified bucket.
google_storage.storage.bucketAccessControls.list({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output BucketAccessControls
storage.bucketAccessControls.insert
Creates a new ACL entry on the specified bucket.
google_storage.storage.bucketAccessControls.insert({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body BucketAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output BucketAccessControl
storage.bucketAccessControls.delete
Permanently deletes the ACL entry for the specified entity on the specified bucket.
google_storage.storage.bucketAccessControls.delete({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.bucketAccessControls.get
Returns the ACL entry for the specified entity on the specified bucket.
google_storage.storage.bucketAccessControls.get({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output BucketAccessControl
storage.bucketAccessControls.patch
Patches an ACL entry on the specified bucket.
google_storage.storage.bucketAccessControls.patch({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body BucketAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output BucketAccessControl
storage.bucketAccessControls.update
Updates an ACL entry on the specified bucket.
google_storage.storage.bucketAccessControls.update({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body BucketAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output BucketAccessControl
storage.defaultObjectAccessControls.list
Retrieves default object ACL entries on the specified bucket.
google_storage.storage.defaultObjectAccessControls.list({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch
string
: If present, only return default ACL listing if the bucket's current metageneration matches this value. - ifMetagenerationNotMatch
string
: If present, only return default ACL listing if the bucket's current metageneration does not match the given value. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControls
storage.defaultObjectAccessControls.insert
Creates a new default object ACL entry on the specified bucket.
google_storage.storage.defaultObjectAccessControls.insert({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body ObjectAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.defaultObjectAccessControls.delete
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
google_storage.storage.defaultObjectAccessControls.delete({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.defaultObjectAccessControls.get
Returns the default object ACL entry for the specified entity on the specified bucket.
google_storage.storage.defaultObjectAccessControls.get({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.defaultObjectAccessControls.patch
Patches a default object ACL entry on the specified bucket.
google_storage.storage.defaultObjectAccessControls.patch({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body ObjectAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.defaultObjectAccessControls.update
Updates a default object ACL entry on the specified bucket.
google_storage.storage.defaultObjectAccessControls.update({
"bucket": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body ObjectAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.buckets.getIamPolicy
Returns an IAM policy for the specified bucket.
google_storage.storage.buckets.getIamPolicy({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - optionsRequestedPolicyVersion
integer
: The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Policy
storage.buckets.setIamPolicy
Updates an IAM policy for the specified bucket.
google_storage.storage.buckets.setIamPolicy({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Policy
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Policy
storage.buckets.testIamPermissions
Tests a set of permissions on the given bucket to see which, if any, are held by the caller.
google_storage.storage.buckets.testIamPermissions({
"bucket": "",
"permissions": []
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - permissions required
array
: Permissions to test. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output TestIamPermissionsResponse
storage.buckets.lockRetentionPolicy
Locks retention policy on a bucket.
google_storage.storage.buckets.lockRetentionPolicy({
"bucket": "",
"ifMetagenerationMatch": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - ifMetagenerationMatch required
string
: Makes the operation conditional on whether bucket's current metageneration matches the given value. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Bucket
storage.notifications.list
Retrieves a list of notification subscriptions for a given bucket.
google_storage.storage.notifications.list({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a Google Cloud Storage bucket. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Notifications
storage.notifications.insert
Creates a notification subscription for a given bucket.
google_storage.storage.notifications.insert({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: The parent bucket of the notification. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Notification
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Notification
storage.notifications.delete
Permanently deletes a notification subscription.
google_storage.storage.notifications.delete({
"bucket": "",
"notification": ""
}, context)
Input
- input
object
- bucket required
string
: The parent bucket of the notification. - notification required
string
: ID of the notification to delete. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.notifications.get
View a notification configuration.
google_storage.storage.notifications.get({
"bucket": "",
"notification": ""
}, context)
Input
- input
object
- bucket required
string
: The parent bucket of the notification. - notification required
string
: Notification ID - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Notification
storage.objects.list
Retrieves a list of objects matching the criteria.
google_storage.storage.objects.list({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which to look for objects. - delimiter
string
: Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted. - endOffset
string
: Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive). - includeTrailingDelimiter
boolean
: If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes. - maxResults
integer
: Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller. - pageToken
string
: A previously-returned page token representing part of the larger set of results to view. - prefix
string
: Filter results to objects whose names begin with this prefix. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - startOffset
string
: Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive). - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - versions
boolean
: If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Objects
storage.objects.insert
Stores a new object and metadata.
google_storage.storage.objects.insert({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. - contentEncoding
string
: If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded. - ifGenerationMatch
string
: Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. - ifGenerationNotMatch
string
: Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. - ifMetagenerationMatch
string
: Makes the operation conditional on whether the object's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the operation conditional on whether the object's current metageneration does not match the given value. - kmsKeyName
string
: Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any. - name
string
: Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - predefinedAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of access controls to this object. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Object
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Object
storage.objects.watchAll
Watch for changes on all objects in a bucket.
google_storage.storage.objects.watchAll({
"bucket": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which to look for objects. - delimiter
string
: Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted. - endOffset
string
: Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive). - includeTrailingDelimiter
boolean
: If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes. - maxResults
integer
: Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller. - pageToken
string
: A previously-returned page token representing part of the larger set of results to view. - prefix
string
: Filter results to objects whose names begin with this prefix. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - startOffset
string
: Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive). - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - versions
boolean
: If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning. - body Channel
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Channel
storage.objects.delete
Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.
google_storage.storage.objects.delete({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which the object resides. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default). - ifGenerationMatch
string
: Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. - ifGenerationNotMatch
string
: Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. - ifMetagenerationMatch
string
: Makes the operation conditional on whether the object's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the operation conditional on whether the object's current metageneration does not match the given value. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.objects.get
Retrieves an object or its metadata.
google_storage.storage.objects.get({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which the object resides. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - ifGenerationMatch
string
: Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. - ifGenerationNotMatch
string
: Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. - ifMetagenerationMatch
string
: Makes the operation conditional on whether the object's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the operation conditional on whether the object's current metageneration does not match the given value. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to noAcl. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Object
storage.objects.patch
Patches an object's metadata.
google_storage.storage.objects.patch({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which the object resides. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - ifGenerationMatch
string
: Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. - ifGenerationNotMatch
string
: Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. - ifMetagenerationMatch
string
: Makes the operation conditional on whether the object's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the operation conditional on whether the object's current metageneration does not match the given value. - predefinedAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of access controls to this object. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request, for Requester Pays buckets. - body Object
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Object
storage.objects.update
Updates an object's metadata.
google_storage.storage.objects.update({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of the bucket in which the object resides. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - ifGenerationMatch
string
: Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. - ifGenerationNotMatch
string
: Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. - ifMetagenerationMatch
string
: Makes the operation conditional on whether the object's current metageneration matches the given value. - ifMetagenerationNotMatch
string
: Makes the operation conditional on whether the object's current metageneration does not match the given value. - predefinedAcl
string
(values: authenticatedRead, bucketOwnerFullControl, bucketOwnerRead, private, projectPrivate, publicRead): Apply a predefined set of access controls to this object. - projection
string
(values: full, noAcl): Set of properties to return. Defaults to full. - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body Object
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output Object
storage.objectAccessControls.list
Retrieves ACL entries on the specified object.
google_storage.storage.objectAccessControls.list({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControls
storage.objectAccessControls.insert
Creates a new ACL entry on the specified object.
google_storage.storage.objectAccessControls.insert({
"bucket": "",
"object": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body ObjectAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.objectAccessControls.delete
Permanently deletes the ACL entry for the specified entity on the specified object.
google_storage.storage.objectAccessControls.delete({
"bucket": "",
"object": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
Output schema unknown
storage.objectAccessControls.get
Returns the ACL entry for the specified entity on the specified object.
google_storage.storage.objectAccessControls.get({
"bucket": "",
"object": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.objectAccessControls.patch
Patches an ACL entry on the specified object.
google_storage.storage.objectAccessControls.patch({
"bucket": "",
"object": "",
"entity": ""
}, context)
Input
- input
object
- bucket required
string
: Name of a bucket. - object required
string
: Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. - entity required
string
: The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. - generation
string
: If present, selects a specific revision of this object (as opposed to the latest version, the default). - provisionalUserProject
string
: The project to be billed for this request if the target bucket is requester-pays bucket. - userProject
string
: The project to be billed for this request. Required for Requester Pays buckets. - body ObjectAccessControl
- alt
string
(values: json): Data format for the response. - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: An opaque string that represents a user for quota purposes. Must not exceed 40 characters. - userIp
string
: Deprecated. Please use quotaUser instead.
- bucket required
Output
- output ObjectAccessControl
storage.objectAccessControls.update
Updates an ACL entry on the specified object.