Gemini Enterprise for Customer Experience v1 API - Class ServiceAccountAuthConfig (1.0.0-beta01)

public sealed class ServiceAccountAuthConfig : IMessage<ServiceAccountAuthConfig>, IEquatable<ServiceAccountAuthConfig>, IDeepCloneable<ServiceAccountAuthConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ServiceAccountAuthConfig.

Configurations for authentication using a custom service account.

Inheritance

object > ServiceAccountAuthConfig

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

ServiceAccountAuthConfig()

public ServiceAccountAuthConfig()

ServiceAccountAuthConfig(ServiceAccountAuthConfig)

public ServiceAccountAuthConfig(ServiceAccountAuthConfig other)
Parameter
Name Description
other ServiceAccountAuthConfig

Properties

Scopes

public RepeatedField<string> Scopes { get; }

Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform is used.

Property Value
Type Description
RepeatedFieldstring

ServiceAccount

public string ServiceAccount { get; set; }

Required. The email address of the service account used for authentication. CES uses this service account to exchange an access token and the access token is then sent in the Authorization header of the request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

Property Value
Type Description
string