Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AuthProvider.
Configuration for an authentication provider, including support for JSON Web Token (JWT).
Generated from protobuf message google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ audiences |
array
The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted. |
↳ allowed_issuers |
array
A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: |
getAudiences
The list of JWT audiences.
that are allowed to access. A JWT containing any of these audiences will be accepted.
Generated from protobuf field repeated string audiences = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAudiences
The list of JWT audiences.
that are allowed to access. A JWT containing any of these audiences will be accepted.
Generated from protobuf field repeated string audiences = 1;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getAllowedIssuers
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
Generated from protobuf field repeated string allowed_issuers = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAllowedIssuers
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
Generated from protobuf field repeated string allowed_issuers = 2;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |