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
PublicationsResource.ReadersResource.DeleteRequest
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()