v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13154167.5 KB
projects

Returns true if valid credentials exist for the given data source and requesting user.

post/v1/{+name}:checkValidCreds

Path parameters

namestring required

Required. The name of the data source. If you are using the regionless method, the location must be US and the name should be in the following form: * projects/{project_id}/dataSources/{data_source_id} If you are using the regionalized method, the name should be in the following form: * projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}

Request body

CheckValidCredsRequest required

A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.

Response

Successful response