Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions src/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2041,56 +2041,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'type' => 'string',
],
],
],'watchAll' => [
'path' => 'b/{bucket}/o/watch',
'httpMethod' => 'POST',
'parameters' => [
'bucket' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'delimiter' => [
'location' => 'query',
'type' => 'string',
],
'endOffset' => [
'location' => 'query',
'type' => 'string',
],
'includeTrailingDelimiter' => [
'location' => 'query',
'type' => 'boolean',
],
'maxResults' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'prefix' => [
'location' => 'query',
'type' => 'string',
],
'projection' => [
'location' => 'query',
'type' => 'string',
],
'startOffset' => [
'location' => 'query',
'type' => 'string',
],
'userProject' => [
'location' => 'query',
'type' => 'string',
],
'versions' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
]
Expand Down
47 changes: 0 additions & 47 deletions src/Storage/Resource/Objects.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
namespace Google\Service\Storage\Resource;

use Google\Service\Storage\BulkRestoreObjectsRequest;
use Google\Service\Storage\Channel;
use Google\Service\Storage\ComposeRequest;
use Google\Service\Storage\GoogleLongrunningOperation;
use Google\Service\Storage\Objects as ObjectsModel;
Expand Down Expand Up @@ -671,52 +670,6 @@ public function update($bucket, $object, StorageObject $postBody, $optParams = [
$params = array_merge($params, $optParams);
return $this->call('update', [$params], StorageObject::class);
}
/**
* Watch for changes on all objects in a bucket. (objects.watchAll)
*
* @param string $bucket Name of the bucket in which to look for objects.
* @param Channel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string delimiter 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.
* @opt_param string endOffset 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).
* @opt_param bool includeTrailingDelimiter If true, objects that end in exactly
* one instance of delimiter will have their metadata included in items in
* addition to prefixes.
* @opt_param string maxResults 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.
* @opt_param string pageToken A previously-returned page token representing
* part of the larger set of results to view.
* @opt_param string prefix Filter results to objects whose names begin with
* this prefix.
* @opt_param string projection Set of properties to return. Defaults to noAcl.
* @opt_param string startOffset 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).
* @opt_param string userProject The project to be billed for this request.
* Required for Requester Pays buckets.
* @opt_param bool versions If true, lists all versions of an object as distinct
* results. The default is false. For more information, see [Object
* Versioning](https://cloud.google.com/storage/docs/object-versioning).
* @return Channel
* @throws \Google\Service\Exception
*/
public function watchAll($bucket, Channel $postBody, $optParams = [])
{
$params = ['bucket' => $bucket, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watchAll', [$params], Channel::class);
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Loading