Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Config for Google Service Account Authentication.
Instance Attribute Summary collapse
-
#service_account ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
Returns a new instance of GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig.
1152 1153 1154 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ String
Optional. The service account that the extension execution service runs as. -
If the service account is specified, the iam.serviceAccounts.getAccessToken
permission should be granted to Vertex AI Extension Service Agent (https://
cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
specified service account. - If not specified, the Vertex AI Extension Service
Agent will be used to execute the Extension.
Corresponds to the JSON property serviceAccount
1150 1151 1152 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1150 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1157 1158 1159 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1157 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) end |