v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1382123.9 KB
users

Sends OAuth credentials to a running environment on behalf of a user. When this completes, the environment will be authorized to run various Google Cloud command line tools without requiring the user to manually authenticate.

post/v1/{+name}:authorize

Path parameters

namestring required

Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.

Request body

expireTimestring google-datetime

The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

accessTokenstring

The OAuth access token that should be sent to the environment.

idTokenstring

The OAuth ID token that should be sent to the environment.

Response

Successful response