Class PublicationsResource.CheckProgramAccessRequest
Checks if a reader has active program access.
Inheritance
PublicationsResource.CheckProgramAccessRequest
Inherited Members
Namespace: Google.Apis.WebContentPublisher.v1
Assembly: Google.Apis.WebContentPublisher.v1.dll
Syntax
public class PublicationsResource.CheckProgramAccessRequest : WebContentPublisherBaseServiceRequest<CheckProgramAccessResponse>, IClientServiceRequest<CheckProgramAccessResponse>, IClientServiceRequest
Constructors
CheckProgramAccessRequest(IClientService, string)
Constructs a new CheckProgramAccess request.
Declaration
public CheckProgramAccessRequest(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 resource name of the publication. Format: publications/{publication}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Required. The specific product ID being accessed.
Declaration
[RequestParameter("productId", RequestParameterType.Query)]
public virtual string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
SwgUserToken
Required. The encrypted site token string received from the Chrome HTTP header.
Declaration
[RequestParameter("swgUserToken", RequestParameterType.Query)]
public virtual string SwgUserToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes CheckProgramAccess parameter list.
Declaration
protected override void InitParameters()