Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Configuration for an authentication provider, including support for JSON Web Token (JWT).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider

Returns a new instance of GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider.



5318
5319
5320
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5318

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allowed_issuersArray<String>

A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: service-account-name@project-id.iam. gserviceaccount.com Corresponds to the JSON property allowedIssuers

Returns:

  • (Array<String>)


5309
5310
5311
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5309

def allowed_issuers
  @allowed_issuers
end

#audiencesArray<String>

The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. Corresponds to the JSON property audiences

Returns:

  • (Array<String>)


5316
5317
5318
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5316

def audiences
  @audiences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5323
5324
5325
5326
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5323

def update!(**args)
  @allowed_issuers = args[:allowed_issuers] if args.key?(:allowed_issuers)
  @audiences = args[:audiences] if args.key?(:audiences)
end