Class Authentication (1.33.0)

Authentication(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Authentication information required for API calls

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
api_key_config google.cloud.dialogflowcx_v3beta1.types.Tool.Authentication.ApiKeyConfig
Config for API key auth. This field is a member of oneof_ auth_config.
oauth_config google.cloud.dialogflowcx_v3beta1.types.Tool.Authentication.OAuthConfig
Config for OAuth. This field is a member of oneof_ auth_config.
service_agent_auth_config google.cloud.dialogflowcx_v3beta1.types.Tool.Authentication.ServiceAgentAuthConfig
Config for `Diglogflow service agent

Classes

ApiKeyConfig

ApiKeyConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for authentication with API key.

OAuthConfig

OAuthConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for authentication with OAuth.

RequestLocation

RequestLocation(value)

The location of the API key in the request.

Values: REQUEST_LOCATION_UNSPECIFIED (0): Default value. This value is unused. HEADER (1): Represents the key in http header. QUERY_STRING (2): Represents the key in query string.

ServiceAgentAuthConfig

ServiceAgentAuthConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for auth using Diglogflow service agent <https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent>__.