Class UsersResource.GeneratePlatformSiteTokensRequest
Returns user tokens mapped to their canonical domains for all publications the authenticated user is entitled to.
Inheritance
UsersResource.GeneratePlatformSiteTokensRequest
Inherited Members
Namespace: Google.Apis.WebContentPublisher.v1
Assembly: Google.Apis.WebContentPublisher.v1.dll
Syntax
public class UsersResource.GeneratePlatformSiteTokensRequest : WebContentPublisherBaseServiceRequest<GeneratePlatformSiteTokensResponse>, IClientServiceRequest<GeneratePlatformSiteTokensResponse>, IClientServiceRequest
Constructors
GeneratePlatformSiteTokensRequest(IClientService, GeneratePlatformSiteTokensRequest, string)
Constructs a new GeneratePlatformSiteTokens request.
Declaration
public GeneratePlatformSiteTokensRequest(IClientService service, GeneratePlatformSiteTokensRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GeneratePlatformSiteTokensRequest | body | |
| 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 user to generate tokens for. Format: users/{user}
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes GeneratePlatformSiteTokens parameter list.
Declaration
protected override void InitParameters()