Class ProjectsResource.ServiceAccountsResource.GenerateIdTokenRequest
Generates an OpenID Connect ID token for a service account.
Inheritance
ProjectsResource.ServiceAccountsResource.GenerateIdTokenRequest
Inherited Members
Namespace: Google.Apis.IAMCredentials.v1
Assembly: Google.Apis.IAMCredentials.v1.dll
Syntax
public class ProjectsResource.ServiceAccountsResource.GenerateIdTokenRequest : IAMCredentialsBaseServiceRequest<GenerateIdTokenResponse>, IClientServiceRequest<GenerateIdTokenResponse>, IClientServiceRequest
Constructors
GenerateIdTokenRequest(IClientService, GenerateIdTokenRequest, string)
Constructs a new GenerateIdToken request.
Declaration
public GenerateIdTokenRequest(IClientService service, GenerateIdTokenRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateIdTokenRequest | 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 service account for which the credentials are requested, in the
following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
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 GenerateIdToken parameter list.
Declaration
protected override void InitParameters()