Class PublicationsResource.CheckFreeAccessRequest
Checks if a user is eligible for free article access.
Inheritance
PublicationsResource.CheckFreeAccessRequest
Inherited Members
Namespace: Google.Apis.WebContentPublisher.v1
Assembly: Google.Apis.WebContentPublisher.v1.dll
Syntax
public class PublicationsResource.CheckFreeAccessRequest : WebContentPublisherBaseServiceRequest<CheckFreeAccessResponse>, IClientServiceRequest<CheckFreeAccessResponse>, IClientServiceRequest
Constructors
CheckFreeAccessRequest(IClientService, string)
Constructs a new CheckFreeAccess request.
Declaration
public CheckFreeAccessRequest(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
HttpReferrer
Required. The HTTP referrer.
Declaration
[RequestParameter("httpReferrer", RequestParameterType.Query)]
public virtual string HttpReferrer { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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_id}
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
Uri
Required. The URI of the content.
Declaration
[RequestParameter("uri", RequestParameterType.Query)]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes CheckFreeAccess parameter list.
Declaration
protected override void InitParameters()