Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider
- 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
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) ⇒ GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider
constructor
A new instance of GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider
Returns a new instance of GoogleCloudAiplatformV1beta1DeployedIndexAuthConfigAuthProvider.
5615 5616 5617 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5615 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
5606 5607 5608 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5606 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
5613 5614 5615 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5613 def audiences @audiences end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5620 5621 5622 5623 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5620 def update!(**args) @allowed_issuers = args[:allowed_issuers] if args.key?(:allowed_issuers) @audiences = args[:audiences] if args.key?(:audiences) end |