Show / Hide Table of Contents

Class EnterprisesResource.PullNotificationSetRequest

Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending. A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending. If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<NotificationSet>
AndroidEnterpriseBaseServiceRequest<NotificationSet>
EnterprisesResource.PullNotificationSetRequest
Implements
IClientServiceRequest<NotificationSet>
IClientServiceRequest
Inherited Members
AndroidEnterpriseBaseServiceRequest<NotificationSet>.Xgafv
AndroidEnterpriseBaseServiceRequest<NotificationSet>.AccessToken
AndroidEnterpriseBaseServiceRequest<NotificationSet>.Alt
AndroidEnterpriseBaseServiceRequest<NotificationSet>.Callback
AndroidEnterpriseBaseServiceRequest<NotificationSet>.Fields
AndroidEnterpriseBaseServiceRequest<NotificationSet>.Key
AndroidEnterpriseBaseServiceRequest<NotificationSet>.OauthToken
AndroidEnterpriseBaseServiceRequest<NotificationSet>.PrettyPrint
AndroidEnterpriseBaseServiceRequest<NotificationSet>.QuotaUser
AndroidEnterpriseBaseServiceRequest<NotificationSet>.UploadType
AndroidEnterpriseBaseServiceRequest<NotificationSet>.UploadProtocol
ClientServiceRequest<NotificationSet>.Execute()
ClientServiceRequest<NotificationSet>.ExecuteAsStream()
ClientServiceRequest<NotificationSet>.ExecuteAsync()
ClientServiceRequest<NotificationSet>.ExecuteAsync(CancellationToken)
ClientServiceRequest<NotificationSet>.ExecuteAsStreamAsync()
ClientServiceRequest<NotificationSet>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<NotificationSet>.CreateRequest(bool?)
ClientServiceRequest<NotificationSet>.GenerateRequestUri()
ClientServiceRequest<NotificationSet>.GetBody()
ClientServiceRequest<NotificationSet>.GetDefaultETagAction(string)
ClientServiceRequest<NotificationSet>.ETagAction
ClientServiceRequest<NotificationSet>.ModifyRequest
ClientServiceRequest<NotificationSet>.ValidateParameters
ClientServiceRequest<NotificationSet>.ApiVersion
ClientServiceRequest<NotificationSet>.RequestParameters
ClientServiceRequest<NotificationSet>.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.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.PullNotificationSetRequest : AndroidEnterpriseBaseServiceRequest<NotificationSet>, IClientServiceRequest<NotificationSet>, IClientServiceRequest

Constructors

PullNotificationSetRequest(IClientService)

Constructs a new PullNotificationSet request.

Declaration
public PullNotificationSetRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<NotificationSet>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<NotificationSet>.MethodName

RequestMode

The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Specifying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.

Declaration
[RequestParameter("requestMode", RequestParameterType.Query)]
public virtual EnterprisesResource.PullNotificationSetRequest.RequestModeEnum? RequestMode { get; set; }
Property Value
Type Description
EnterprisesResource.PullNotificationSetRequest.RequestModeEnum?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<NotificationSet>.RestPath

Methods

InitParameters()

Initializes PullNotificationSet parameter list.

Declaration
protected override void InitParameters()
Overrides
AndroidEnterpriseBaseServiceRequest<NotificationSet>.InitParameters()

Implements

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