GoogleCloudStorage::ObjectAccessControlsApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Permanently deletes the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [Nil]
Permanently deletes the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return nil
Permanently deletes the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Returns the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [GoogleCloudStorage::ObjectAccessControl]
Returns the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return nil
Returns the ACL entry for the specified entity on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [Tuple(GoogleCloudStorage::ObjectAccessControl, Integer, Hash)] GoogleCloudStorage::ObjectAccessControl, response status code and response headers
Creates a new ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [GoogleCloudStorage::ObjectAccessControl]
Creates a new ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return nil
Creates a new ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [Tuple(GoogleCloudStorage::ObjectAccessControl, Integer, Hash)] GoogleCloudStorage::ObjectAccessControl, response status code and response headers
Retrieves ACL entries on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [GoogleCloudStorage::ObjectAccessControls]
Retrieves ACL entries on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return nil
Retrieves ACL entries on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @return [Tuple(GoogleCloudStorage::ObjectAccessControls, Integer, Hash)] GoogleCloudStorage::ObjectAccessControls, response status code and response headers
Patches an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [GoogleCloudStorage::ObjectAccessControl]
Patches an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return nil
Patches an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [Tuple(GoogleCloudStorage::ObjectAccessControl, Integer, Hash)] GoogleCloudStorage::ObjectAccessControl, response status code and response headers
Updates an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [GoogleCloudStorage::ObjectAccessControl]
Updates an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return nil
Updates an ACL entry on the specified object. @required @param bucket [String?] Name of a bucket. @required @param object [String?] Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. @required @param entity [String?] The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param generation [String?] If present, selects a specific revision of this object (as opposed to the latest version, the default). @optional @param user_project [String?] The project to be billed for this request. Required for Requester Pays buckets. @optional @param object_access_control [GoogleCloudStorage::ObjectAccessControl?] @return [Tuple(GoogleCloudStorage::ObjectAccessControl, Integer, Hash)] GoogleCloudStorage::ObjectAccessControl, response status code and response headers