Show / Hide Table of Contents

Class PublicationsResource.ReadersResource.DeleteRequest

Removes a publication reader, effectively severing the association with a Google user. If force is set to true, any entitlements for this reader will also be deleted. (Otherwise, the request will only work if the reader has no entitlements.) - If the reader does not exist, return NOT_FOUND. - Return FAILED_PRECONDITION if the force field is false (or unset) and entitlements are present.

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

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

Force

If set to true, any entitlements under the reader will also be purged.

Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The resource name of the reader. Format: publications/{publication_id}/readers/{ppid}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
SubscriptionLinkingBaseServiceRequest<DeleteReaderResponse>.InitParameters()

Implements

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