Cloud AI Platform v1beta1 API - Class AuthConfig.Types.OauthConfig (1.0.0-beta06)

public sealed class AuthConfig.Types.OauthConfig : IMessage<AuthConfig.Types.OauthConfig>, IEquatable<AuthConfig.Types.OauthConfig>, IDeepCloneable<AuthConfig.Types.OauthConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class AuthConfig.Types.OauthConfig.

Config for user oauth.

Inheritance

object > AuthConfig.Types.OauthConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

OauthConfig()

public OauthConfig()

OauthConfig(OauthConfig)

public OauthConfig(AuthConfig.Types.OauthConfig other)
Parameter
Name Description
other AuthConfigTypesOauthConfig

Properties

AccessToken

public string AccessToken { get; set; }

Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

Property Value
Type Description
string

HasAccessToken

public bool HasAccessToken { get; }

Gets whether the "access_token" field is set

Property Value
Type Description
bool

HasServiceAccount

public bool HasServiceAccount { get; }

Gets whether the "service_account" field is set

Property Value
Type Description
bool

OauthConfigCase

public AuthConfig.Types.OauthConfig.OauthConfigOneofCase OauthConfigCase { get; }
Property Value
Type Description
AuthConfigTypesOauthConfigOauthConfigOneofCase

ServiceAccount

public string ServiceAccount { get; set; }

The service account used to generate access tokens for executing the Extension.

Property Value
Type Description
string