Method: projects.locations.authorizations.get

Ruft ein Authorization ab.

HTTP-Anfrage

GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/authorizations/*}

Die URL verwendet die Syntax der gRPC-Transcodierung.

Pfadparameter

Parameter
name

string

Erforderlich. Ressourcenname von Authorization. Format: projects/{project}/locations/{location}/authorizations/{authorization}

Anfragetext

Der Anfragetext muss leer sein.

Antworttext

Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Authorization.

Autorisierungsbereiche

Erfordert einen der folgenden OAuth-Bereiche:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

Weitere Informationen finden Sie unter Authentication Overview.