Update transfer configuration credentials
Stay organized with collections
Save and categorize content based on your preferences.
Change the user attached to a transfer configuration.
Explore further
For detailed documentation that includes this code sample, see the following:
Code sample
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[[["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"]],[],[[["\u003cp\u003eThis page provides code samples in Java and Python for updating the service account credentials associated with a BigQuery transfer configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe provided code demonstrates how to use the \u003ccode\u003eDataTransferServiceClient\u003c/code\u003e in Java and the \u003ccode\u003eDataTransferServiceClient\u003c/code\u003e in Python to modify the \u003ccode\u003eservice_account_name\u003c/code\u003e within a transfer configuration.\u003c/p\u003e\n"],["\u003cp\u003eBefore running the samples, users must set up Application Default Credentials and follow the BigQuery quickstart instructions for the respective client libraries.\u003c/p\u003e\n"],["\u003cp\u003eThe code samples are based on the \u003ccode\u003efield_mask_pb2.FieldMask\u003c/code\u003e and the \u003ccode\u003eFieldMaskUtil.fromString\u003c/code\u003e method for properly updating the \u003ccode\u003eservice_account_name\u003c/code\u003e field.\u003c/p\u003e\n"]]],[],null,[]]