This service provides access to BigQuery functionality related to projects.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.bigquery.v2.GetServiceAccountRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.
opts
Options
Optional. Override the class-level options, such as retry and backoff policies.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[],[],null,["# Class ProjectServiceClient (2.39.0)\n\nVersion 2.39.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/bigquerycontrol/latest/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.41.0](/cpp/docs/reference/bigquerycontrol/2.41.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.40.0](/cpp/docs/reference/bigquerycontrol/2.40.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.39.0](/cpp/docs/reference/bigquerycontrol/2.39.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.38.0](/cpp/docs/reference/bigquerycontrol/2.38.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.37.0](/cpp/docs/reference/bigquerycontrol/2.37.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.36.0](/cpp/docs/reference/bigquerycontrol/2.36.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.35.0](/cpp/docs/reference/bigquerycontrol/2.35.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.34.0](/cpp/docs/reference/bigquerycontrol/2.34.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.33.0](/cpp/docs/reference/bigquerycontrol/2.33.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.32.0](/cpp/docs/reference/bigquerycontrol/2.32.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.31.0](/cpp/docs/reference/bigquerycontrol/2.31.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.30.0](/cpp/docs/reference/bigquerycontrol/2.30.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.29.0](/cpp/docs/reference/bigquerycontrol/2.29.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.28.0](/cpp/docs/reference/bigquerycontrol/2.28.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient)\n- [2.27.0](/cpp/docs/reference/bigquerycontrol/2.27.0/classgoogle_1_1cloud_1_1bigquerycontrol__v2_1_1ProjectServiceClient) \nThis service provides access to BigQuery functionality related to projects. \n\n###### Equality\n\nInstances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal `std::shared_ptr\u003c*Connection\u003e` objects compare equal. Objects that compare equal share the same underlying resources.\n\n###### Performance\n\nCreating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.\n\n###### Thread Safety\n\nConcurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.\n\nConstructors\n------------\n\n### ProjectServiceClient(ProjectServiceClient const \\&)\n\nCopy and move support\n\n### ProjectServiceClient(ProjectServiceClient \\&\\&)\n\nCopy and move support\n\n### ProjectServiceClient(std::shared_ptr\\\u003c ProjectServiceConnection \\\u003e, Options)\n\nOperators\n---------\n\n### operator=(ProjectServiceClient const \\&)\n\nCopy and move support\n\n### operator=(ProjectServiceClient \\&\\&)\n\nCopy and move support\n\nFunctions\n---------\n\n### GetServiceAccount(google::cloud::bigquery::v2::GetServiceAccountRequest const \\&, Options)\n\nRPC to get the service account for a project used for interactions with Google Cloud KMS."]]