Class ProjectsResource.ServiceAccountsResource.SignJwtRequest
Signs a JWT using a service account's system-managed private key.
Inheritance
ProjectsResource.ServiceAccountsResource.SignJwtRequest
Inherited Members
Namespace: Google.Apis.IAMCredentials.v1
Assembly: Google.Apis.IAMCredentials.v1.dll
Syntax
public class ProjectsResource.ServiceAccountsResource.SignJwtRequest : IAMCredentialsBaseServiceRequest<SignJwtResponse>, IClientServiceRequest<SignJwtResponse>, IClientServiceRequest
Constructors
SignJwtRequest(IClientService, SignJwtRequest, string)
Constructs a new SignJwt request.
Declaration
public SignJwtRequest(IClientService service, SignJwtRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SignJwtRequest | 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 SignJwt parameter list.
Declaration
protected override void InitParameters()