Reference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) — 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}.
#name=
defname=(value)->::String
Parameter
value (::String) — 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}.
Returns
(::String) — 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-08-28 UTC."],[],[],null,["# BigQuery Data Transfer Service V1 API - Class Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsRequest (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/latest/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.4.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.3.1/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.2.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.1.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [1.0.3](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.0.3/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.14.2](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.14.2/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.13.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.13.1/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.12.2/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.11.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.10.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.9.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.8.0/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.7.1/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.6.1/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.5.1/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest)\n- [0.4.6](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.4.6/Google-Cloud-Bigquery-DataTransfer-V1-CheckValidCredsRequest) \nReference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::CheckValidCredsRequest.\n\nA request to determine whether the user has valid credentials. This method\nis used to limit the number of OAuth popups in the user interface. The\nuser id is inferred from the API call context.\nIf the data source has the Google+ authorization type, this method\nreturns false, as it cannot be determined whether the credentials are\nalready valid merely based on the user id. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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}`.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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}`. \n**Returns**\n\n- (::String) --- 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}`."]]