Google Cloud Api Hub V1 Client - Class AuthType (0.3.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class AuthType.

AuthType represents the authentication type.

Protobuf type google.cloud.apihub.v1.AuthType

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

AUTH_TYPE_UNSPECIFIED

Value: 0

Authentication type not specified.

Generated from protobuf enum AUTH_TYPE_UNSPECIFIED = 0;

NO_AUTH

Value: 1

No authentication.

Generated from protobuf enum NO_AUTH = 1;

GOOGLE_SERVICE_ACCOUNT

Value: 2

Google service account authentication.

Generated from protobuf enum GOOGLE_SERVICE_ACCOUNT = 2;

USER_PASSWORD

Value: 3

Username and password authentication.

Generated from protobuf enum USER_PASSWORD = 3;

API_KEY

Value: 4

API Key authentication.

Generated from protobuf enum API_KEY = 4;

OAUTH2_CLIENT_CREDENTIALS

Value: 5

Oauth 2.0 client credentials grant authentication.

Generated from protobuf enum OAUTH2_CLIENT_CREDENTIALS = 5;