public sealed class GenerateIdTokenRequest : IMessage<GenerateIdTokenRequest>, IEquatable<GenerateIdTokenRequest>, IDeepCloneable<GenerateIdTokenRequest>, IBufferMessage, IMessage
Inheritance
System.Object > GenerateIdTokenRequestImplements
Google.Protobuf.IMessage<GenerateIdTokenRequest>, System.IEquatable<GenerateIdTokenRequest>, Google.Protobuf.IDeepCloneable<GenerateIdTokenRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Iam.Credentials.V1Assembly
Google.Cloud.Iam.Credentials.V1.dll
Constructors
GenerateIdTokenRequest()
public GenerateIdTokenRequest()
GenerateIdTokenRequest(GenerateIdTokenRequest)
public GenerateIdTokenRequest(GenerateIdTokenRequest other)
Parameter | |
---|---|
Name | Description |
other | GenerateIdTokenRequest |
Properties
Audience
public string Audience { get; set; }
Required. The audience for the token, such as the API or account that this token grants access to.
Property Value | |
---|---|
Type | Description |
System.String |
Delegates
public RepeatedField<string> Delegates { get; }
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.RepeatedField<System.String> |
IncludeEmail
public bool IncludeEmail { get; set; }
Include the service account email in the token. If set to true
, the
token will contain email
and email_verified
claims.
Property Value | |
---|---|
Type | Description |
System.Boolean |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.String |
ServiceAccountName
public ServiceAccountName ServiceAccountName { get; set; }
ServiceAccountName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ServiceAccountName |