Show / Hide Table of Contents

Class ObjectsResource.WatchAllRequest

Watch for changes on all objects in a bucket.

Inheritance
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>.UploadType
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(bool?)
ClientServiceRequest<Channel>.GenerateRequestUri()
ClientServiceRequest<Channel>.GetDefaultETagAction(string)
ClientServiceRequest<Channel>.ETagAction
ClientServiceRequest<Channel>.ModifyRequest
ClientServiceRequest<Channel>.ValidateParameters
ClientServiceRequest<Channel>.ApiVersion
ClientServiceRequest<Channel>.RequestParameters
ClientServiceRequest<Channel>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ObjectsResource.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
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
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
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
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
bool?

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
long?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
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
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
ObjectsResource.WatchAllRequest.ProjectionEnum?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
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
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
bool?

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Channel>.GetBody()

InitParameters()

Initializes WatchAll parameter list.

Declaration
protected override void InitParameters()
Overrides
StorageBaseServiceRequest<Channel>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX