Authorize a BigQuery Dataset
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Authorize a BigQuery Dataset
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"]],[],[[["This page provides code samples in Java and Ruby demonstrating how to authorize a BigQuery dataset to grant access to another dataset."],["The Java code sample shows how to update a source dataset's Access Control List (ACL) to include access from a user dataset, granting the user dataset access."],["The Ruby code sample demonstrates adding a user dataset as an authorized dataset in a source dataset by modifying the source dataset's access rules, allowing target types of `VIEWS` to be used."],["Both code samples require setting up Application Default Credentials for authentication, as detailed in the provided documentation links."],["The page directs users to the Google Cloud sample browser to find more code samples related to other Google Cloud Products."]]],[]]