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.
4234 4235 4236 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4234 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
4225 4226 4227 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4225 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
4232 4233 4234 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4232 def audiences @audiences end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4239 4240 4241 4242 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4239 def update!(**args) @allowed_issuers = args[:allowed_issuers] if args.key?(:allowed_issuers) @audiences = args[:audiences] if args.key?(:audiences) end |