Google Cloud Ai Platform V1 Client - Class AuthProvider (1.13.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
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: 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
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.

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

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

Parameter
Name Description
var string[]
Returns
Type Description
$this