AuthConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
AuthConfig represents the authentication information.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
google_service_account_config |
google.cloud.apihub_v1.types.GoogleServiceAccountConfig
Google Service Account. This field is a member of oneof _ config .
|
user_password_config |
google.cloud.apihub_v1.types.AuthConfig.UserPasswordConfig
User Password. This field is a member of oneof _ config .
|
api_key_config |
google.cloud.apihub_v1.types.AuthConfig.ApiKeyConfig
Api Key Config. This field is a member of oneof _ config .
|
oauth2_client_credentials_config |
google.cloud.apihub_v1.types.AuthConfig.Oauth2ClientCredentialsConfig
Oauth2.0 Client Credentials. This field is a member of oneof _ config .
|
auth_type |
google.cloud.apihub_v1.types.AuthType
Required. The authentication type. |
Classes
ApiKeyConfig
ApiKeyConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Config for authentication with API key.
Oauth2ClientCredentialsConfig
Oauth2ClientCredentialsConfig(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
UserPasswordConfig
UserPasswordConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Parameters to support Username and Password Authentication.