Class UsersResource.AliasesResource.WatchRequest
Watch for changes in users list.
Inheritance
System.Object
UsersResource.AliasesResource.WatchRequest
Inherited Members
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.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class WatchRequest : DirectoryBaseServiceRequest<Channel>, IClientServiceRequest<Channel>, IClientServiceRequest
Constructors
WatchRequest(IClientService, Channel, String)
Constructs a new Watch request.
Declaration
public WatchRequest(IClientService service, Channel body, string userKey)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Channel | body | |
| System.String | userKey |
Properties
Event
Events to watch for.
Declaration
[RequestParameter("event", RequestParameterType.Query)]
public virtual UsersResource.AliasesResource.WatchRequest.EventEnum? Event { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<UsersResource.AliasesResource.WatchRequest.EventEnum> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.Channel>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.Channel>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.Channel>.RestPath
UserKey
Email or immutable ID of the user
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.Admin.Directory.directory_v1.Data.Channel>.GetBody()
InitParameters()
Initializes Watch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.Channel>.InitParameters()