Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider
- 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
-
#allowed_issuers ⇒ Array<String>
A list of allowed JWT issuers.
-
#audiences ⇒ Array<String>
The list of JWT audiences.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider
constructor
A new instance of GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider
Returns a new instance of GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider.
8026 8027 8028 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_issuers ⇒ Array<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
8017 8018 8019 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8017 def allowed_issuers @allowed_issuers end |
#audiences ⇒ Array<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
8024 8025 8026 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8024 def audiences @audiences end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8031 8032 8033 8034 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8031 def update!(**args) @allowed_issuers = args[:allowed_issuers] if args.key?(:allowed_issuers) @audiences = args[:audiences] if args.key?(:audiences) end |