/var/www/flurhymez/vendor/google/apiclient-services/src/Storage/Resource
NameSizeModeActions
BucketAccessControls.php66940644editdlrm
Buckets.php120170644editdlrm
Channels.php14430644editdlrm
DefaultObjectAccessControls.php72110644editdlrm
Notifications.php43170644editdlrm
ObjectAccessControls.php86380644editdlrm
Objects.php318670644editdlrm
Projects.php10440644editdlrm
ProjectsHmacKeys.php52300644editdlrm
ProjectsServiceAccount.php18310644editdlrm
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Storage/Resource/BucketAccessControls.php (6694B)
* $storageService = new Google\Service\Storage(...); * $bucketAccessControls = $storageService->bucketAccessControls; * */ class BucketAccessControls extends \Google\Service\Resource { /** * Permanently deletes the ACL entry for the specified entity on the specified * bucket. (bucketAccessControls.delete) * * @param string $bucket Name of a bucket. * @param string $entity The entity holding the permission. Can be user-userId, * user-emailAddress, group-groupId, group-emailAddress, allUsers, or * allAuthenticatedUsers. * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. */ public function delete($bucket, $entity, $optParams = []) { $params = ['bucket' => $bucket, 'entity' => $entity]; $params = array_merge($params, $optParams); return $this->call('delete', [$params]); } /** * Returns the ACL entry for the specified entity on the specified bucket. * (bucketAccessControls.get) * * @param string $bucket Name of a bucket. * @param string $entity The entity holding the permission. Can be user-userId, * user-emailAddress, group-groupId, group-emailAddress, allUsers, or * allAuthenticatedUsers. * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. * @return BucketAccessControl */ public function get($bucket, $entity, $optParams = []) { $params = ['bucket' => $bucket, 'entity' => $entity]; $params = array_merge($params, $optParams); return $this->call('get', [$params], BucketAccessControl::class); } /** * Creates a new ACL entry on the specified bucket. * (bucketAccessControls.insert) * * @param string $bucket Name of a bucket. * @param BucketAccessControl $postBody * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. * @return BucketAccessControl */ public function insert($bucket, BucketAccessControl $postBody, $optParams = []) { $params = ['bucket' => $bucket, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], BucketAccessControl::class); } /** * Retrieves ACL entries on the specified bucket. * (bucketAccessControls.listBucketAccessControls) * * @param string $bucket Name of a bucket. * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. * @return BucketAccessControlsModel */ public function listBucketAccessControls($bucket, $optParams = []) { $params = ['bucket' => $bucket]; $params = array_merge($params, $optParams); return $this->call('list', [$params], BucketAccessControlsModel::class); } /** * Patches an ACL entry on the specified bucket. (bucketAccessControls.patch) * * @param string $bucket Name of a bucket. * @param string $entity The entity holding the permission. Can be user-userId, * user-emailAddress, group-groupId, group-emailAddress, allUsers, or * allAuthenticatedUsers. * @param BucketAccessControl $postBody * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. * @return BucketAccessControl */ public function patch($bucket, $entity, BucketAccessControl $postBody, $optParams = []) { $params = ['bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('patch', [$params], BucketAccessControl::class); } /** * Updates an ACL entry on the specified bucket. (bucketAccessControls.update) * * @param string $bucket Name of a bucket. * @param string $entity The entity holding the permission. Can be user-userId, * user-emailAddress, group-groupId, group-emailAddress, allUsers, or * allAuthenticatedUsers. * @param BucketAccessControl $postBody * @param array $optParams Optional parameters. * * @opt_param string provisionalUserProject The project to be billed for this * request if the target bucket is requester-pays bucket. * @opt_param string userProject The project to be billed for this request. * Required for Requester Pays buckets. * @return BucketAccessControl */ public function update($bucket, $entity, BucketAccessControl $postBody, $optParams = []) { $params = ['bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], BucketAccessControl::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BucketAccessControls::class, 'Google_Service_Storage_Resource_BucketAccessControls');