Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::ServiceAccountAuthConfig.
Configurations for authentication using a custom service account.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#scopes
def scopes() -> ::Array<::String>-
(::Array<::String>) — Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platformis used.
#scopes=
def scopes=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platformis used.
-
(::Array<::String>) — Optional. The OAuth scopes to grant. If not specified, the default scope
https://www.googleapis.com/auth/cloud-platformis used.
#service_account
def service_account() -> ::String-
(::String) — 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
Authorizationheader of the request.The service account must have the
roles/iam.serviceAccountTokenCreatorrole granted to the CES service agentservice-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.
#service_account=
def service_account=(value) -> ::String-
value (::String) — 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
Authorizationheader of the request.The service account must have the
roles/iam.serviceAccountTokenCreatorrole granted to the CES service agentservice-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.
-
(::String) — 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
Authorizationheader of the request.The service account must have the
roles/iam.serviceAccountTokenCreatorrole granted to the CES service agentservice-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.