All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.ConnectionProperty.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241027-2.0.0
Show newest version






ConnectionProperty (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery.model

Class ConnectionProperty

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ConnectionProperty
    extends com.google.api.client.json.GenericJson
    A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. Currently supported connection properties: * **dataset_project_id**: represents the default project for datasets that are used in the query. Setting the system variable `@@dataset_project_id` achieves the same behavior. For more information about system variables, see: https://cloud.google.com/bigquery/docs/reference/system-variables * **time_zone**: represents the default timezone used to run the query. * **session_id**: associates the query with a given session. * **query_label**: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration * **service_account**: indicates the service account to use to run a continuous query. If set, the query job uses the service account to access Google Cloud resources. Service account access is bounded by the IAM permissions that you have granted to the service account. Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ConnectionProperty

        public ConnectionProperty()
    • Method Detail

      • getKey

        public String getKey()
        The key of the property to set.
        Returns:
        value or null for none
      • setKey

        public ConnectionProperty setKey(String key)
        The key of the property to set.
        Parameters:
        key - key or null for none
      • getValue

        public String getValue()
        The value of the property to set.
        Returns:
        value or null for none
      • setValue

        public ConnectionProperty setValue(String value)
        The value of the property to set.
        Parameters:
        value - value or null for none
      • clone

        public ConnectionProperty clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy