Google Cloud Ai Platform V1 Client - Class AuthProvider (0.20.0)

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ DeployedIndexAuthConfig

Methods

__construct

Constructor.

Parameters
NameDescription
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: service-account-name@project-id.iam.gserviceaccount.com

getAudiences

The list of JWT audiences.

that are allowed to access. A JWT containing any of these audiences will be accepted.

Returns
TypeDescription
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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$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

Returns
TypeDescription
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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this