/// <summary>Generates an OpenID Connect ID token for a service account.</summary> /// <param name="body">The body of the request.</param> /// <param name="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.</param> public virtual GenerateIdTokenRequest GenerateIdToken(Google.Apis.IAMCredentials.v1.Data.GenerateIdTokenRequest body, string name) { return(new GenerateIdTokenRequest(service, body, name)); }
/// <summary>Constructs a new GenerateIdToken request.</summary> public GenerateIdTokenRequest(Google.Apis.Services.IClientService service, Google.Apis.IAMCredentials.v1.Data.GenerateIdTokenRequest body, string name) : base(service) { Name = name; Body = body; InitParameters(); }