Show / Hide Table of Contents

Class ObjectsResource.WatchAllRequest

Watch for changes on all objects in a bucket.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Channel>
StorageBaseServiceRequest<Channel>
ObjectsResource.WatchAllRequest
Implements
IClientServiceRequest<Channel>
IClientServiceRequest
Inherited Members
StorageBaseServiceRequest<Channel>.Alt
StorageBaseServiceRequest<Channel>.Fields
StorageBaseServiceRequest<Channel>.Key
StorageBaseServiceRequest<Channel>.OauthToken
StorageBaseServiceRequest<Channel>.PrettyPrint
StorageBaseServiceRequest<Channel>.QuotaUser
StorageBaseServiceRequest<Channel>.UserIp
ClientServiceRequest<Channel>.Execute()
ClientServiceRequest<Channel>.ExecuteAsStream()
ClientServiceRequest<Channel>.ExecuteAsync()
ClientServiceRequest<Channel>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Channel>.ExecuteAsStreamAsync()
ClientServiceRequest<Channel>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Channel>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Channel>.GenerateRequestUri()
ClientServiceRequest<Channel>.GetDefaultETagAction(String)
ClientServiceRequest<Channel>.ETagAction
ClientServiceRequest<Channel>.ModifyRequest
ClientServiceRequest<Channel>.ValidateParameters
ClientServiceRequest<Channel>.RequestParameters
ClientServiceRequest<Channel>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class WatchAllRequest : StorageBaseServiceRequest<Channel>, IClientServiceRequest<Channel>, IClientServiceRequest

Constructors

WatchAllRequest(IClientService, Channel, String)

Constructs a new WatchAll request.

Declaration
public WatchAllRequest(IClientService service, Channel body, string bucket)
Parameters
Type Name Description
IClientService service
Channel body
System.String bucket

Properties

Bucket

Name of the bucket in which to look for objects.

Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type Description
System.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.

Declaration
[RequestParameter("delimiter", RequestParameterType.Query)]
public virtual string Delimiter { get; set; }
Property Value
Type Description
System.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).

Declaration
[RequestParameter("endOffset", RequestParameterType.Query)]
public virtual string EndOffset { get; set; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Channel>.HttpMethod

IncludeTrailingDelimiter

If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.

Declaration
[RequestParameter("includeTrailingDelimiter", RequestParameterType.Query)]
public virtual bool? IncludeTrailingDelimiter { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Channel>.MethodName

PageToken

A previously-returned page token representing part of the larger set of results to view.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

Prefix

Filter results to objects whose names begin with this prefix.

Declaration
[RequestParameter("prefix", RequestParameterType.Query)]
public virtual string Prefix { get; set; }
Property Value
Type Description
System.String

Projection

Set of properties to return. Defaults to noAcl.

Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual ObjectsResource.WatchAllRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type Description
System.Nullable<ObjectsResource.WatchAllRequest.ProjectionEnum>

ProvisionalUserProject

The project to be billed for this request if the target bucket is requester-pays bucket.

Declaration
[RequestParameter("provisionalUserProject", RequestParameterType.Query)]
public virtual string ProvisionalUserProject { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Channel>.RestPath

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).

Declaration
[RequestParameter("startOffset", RequestParameterType.Query)]
public virtual string StartOffset { get; set; }
Property Value
Type Description
System.String

UserProject

The project to be billed for this request. Required for Requester Pays buckets.

Declaration
[RequestParameter("userProject", RequestParameterType.Query)]
public virtual string UserProject { get; set; }
Property Value
Type Description
System.String

Versions

If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.

Declaration
[RequestParameter("versions", RequestParameterType.Query)]
public virtual bool? Versions { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Channel>.GetBody()

InitParameters()

Initializes WatchAll parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1.StorageBaseServiceRequest<Google.Apis.Storage.v1.Data.Channel>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top