generated/google/apis/bigquery_v2/service.rb in google-api-client-0.20.1 vs generated/google/apis/bigquery_v2/service.rb in google-api-client-0.21.0
- old
+ new
@@ -36,18 +36,16 @@
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
attr_accessor :quota_user
# @return [String]
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'bigquery/v2/')
@batch_path = 'batch/bigquery/v2'
@@ -65,16 +63,14 @@
# If True, delete all the tables in the dataset. If False and the dataset
# contains tables, the request will fail. Default is False
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
@@ -102,16 +98,14 @@
# @param [String] dataset_id
# Dataset ID of the requested dataset
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Dataset] parsed result object
@@ -139,16 +133,14 @@
# Project ID of the new dataset
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Dataset] parsed result object
@@ -188,16 +180,14 @@
# @param [String] page_token
# Page token, returned by a previous call, to request the next page of results
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::DatasetList] parsed result object
@@ -233,16 +223,14 @@
# Dataset ID of the dataset being updated
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Dataset] parsed result object
@@ -276,16 +264,14 @@
# Dataset ID of the dataset being updated
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Dataset] parsed result object
@@ -321,16 +307,14 @@
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::CancelJobResponse] parsed result object
@@ -365,16 +349,14 @@
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Job] parsed result object
@@ -417,16 +399,14 @@
# Default is 10 seconds. If the timeout passes before the job completes, the '
# jobComplete' field in the response will be false
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::GetQueryResultsResponse] parsed result object
@@ -459,16 +439,14 @@
# Project ID of the project that will be billed for the job
# @param [Google::Apis::BigqueryV2::Job] job_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [IO, String] upload_source
# IO stream or filename containing content to upload
# @param [String] content_type
# Content type of the uploaded content.
# @param [Google::Apis::RequestOptions] options
@@ -525,16 +503,14 @@
# @param [Array<String>, String] state_filter
# Filter for job state
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::JobList] parsed result object
@@ -569,16 +545,14 @@
# Project ID of the project billed for the query
# @param [Google::Apis::BigqueryV2::QueryRequest] query_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::QueryResponse] parsed result object
@@ -607,16 +581,14 @@
# @param [String] project_id
# Project ID for which the service account is requested.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::GetServiceAccountResponse] parsed result object
@@ -644,16 +616,14 @@
# @param [String] page_token
# Page token, returned by a previous call, to request the next page of results
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::ProjectList] parsed result object
@@ -686,16 +656,14 @@
# Table ID of the destination table.
# @param [Google::Apis::BigqueryV2::InsertAllTableDataRequest] insert_all_table_data_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::InsertAllTableDataResponse] parsed result object
@@ -739,16 +707,14 @@
# @param [Fixnum] start_index
# Zero-based index of the starting row to read
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::TableDataList] parsed result object
@@ -785,16 +751,14 @@
# @param [String] table_id
# Table ID of the table to delete
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
@@ -829,16 +793,14 @@
# List of fields to return (comma-separated). If unspecified, all fields are
# returned
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Table] parsed result object
@@ -870,16 +832,14 @@
# Dataset ID of the new table
# @param [Google::Apis::BigqueryV2::Table] table_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Table] parsed result object
@@ -914,16 +874,14 @@
# @param [String] page_token
# Page token, returned by a previous call, to request the next page of results
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::TableList] parsed result object
@@ -959,16 +917,14 @@
# Table ID of the table to update
# @param [Google::Apis::BigqueryV2::Table] table_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Table] parsed result object
@@ -1005,15 +961,13 @@
# Table ID of the table to update
# @param [Google::Apis::BigqueryV2::Table] table_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # Available to use for quota purposes for server-side applications. Can be any
- # arbitrary string assigned to a user, but should not exceed 40 characters.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::Table] parsed result object