Class PublicationsResource.ReadersResource.GetEntitlementsRequest
Gets the reader entitlements for a publication reader. - Returns PERMISSION_DENIED if the caller does not have access. - Returns NOT_FOUND if the reader does not exist.
Inheritance
PublicationsResource.ReadersResource.GetEntitlementsRequest
Inherited Members
Namespace: Google.Apis.SubscriptionLinking.v1
Assembly: Google.Apis.SubscriptionLinking.v1.dll
Syntax
public class PublicationsResource.ReadersResource.GetEntitlementsRequest : SubscriptionLinkingBaseServiceRequest<ReaderEntitlements>, IClientServiceRequest<ReaderEntitlements>, IClientServiceRequest
Constructors
GetEntitlementsRequest(IClientService, string)
Constructs a new GetEntitlements request.
Declaration
public GetEntitlementsRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
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 name of the reader entitlements to retrieve. Format: publications/{publication_id}/readers/{reader_id}/entitlements
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 GetEntitlements parameter list.
Declaration
protected override void InitParameters()