Reference documentation and code samples for the Google Cloud Api Hub V1 Client class AuthConfig.
AuthConfig represents the authentication information.
Generated from protobuf message google.cloud.apihub.v1.AuthConfig
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ google_service_account_config
↳ user_password_config
↳ api_key_config
↳ oauth2_client_credentials_config
↳ auth_type
int
Required. The authentication type.
getGoogleServiceAccountConfig
Google Service Account.
hasGoogleServiceAccountConfig
setGoogleServiceAccountConfig
Google Service Account.
$this
getUserPasswordConfig
User Password.
hasUserPasswordConfig
setUserPasswordConfig
User Password.
$this
getApiKeyConfig
Api Key Config.
hasApiKeyConfig
setApiKeyConfig
Api Key Config.
$this
getOauth2ClientCredentialsConfig
Oauth2.0 Client Credentials.
hasOauth2ClientCredentialsConfig
setOauth2ClientCredentialsConfig
Oauth2.0 Client Credentials.
$this
getAuthType
Required. The authentication type.
setAuthType
Required. The authentication type.
$this
getConfig
string

