public sealed class CheckValidCredsRequest : IMessage<CheckValidCredsRequest>, IEquatable<CheckValidCredsRequest>, IDeepCloneable<CheckValidCredsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google BigQuery Data Transfer v1 API class CheckValidCredsRequest.
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.
Required. The data source in the form:
projects/{project_id}/dataSources/{data_source_id} or
projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `CheckValidCredsRequest` class in the Google BigQuery Data Transfer v1 API is used to verify if a user has valid credentials for a given data source."],["This class is part of a set of versioned APIs, with the latest being version 4.10.0 and with a list that includes previous versions."],["The `CheckValidCredsRequest` class implements several interfaces, including `IMessage`, `IEquatable`, and `IDeepCloneable`, providing functionalities for message handling, equality comparison, and deep cloning."],["The class uses a `DataSourceName` property that is a view over the Name resource property, which is required and formatted as `projects/{project_id}/dataSources/{data_source_id}` or `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`."],["The method of checking valid creds return false when used with the Google+ authorization type, because it is not able to determine validity based on user ID alone."]]],[]]