Autogenerated update (2018-02-03)

Update:
- bigquery_v2
- calendar_v3
- gmail_v1
- testing_v1
- tpu_v1alpha1
This commit is contained in:
Google APIs 2018-02-03 00:35:36 +00:00
parent 64cc6eadab
commit acfe5de548
12 changed files with 172 additions and 39 deletions

View File

@ -9284,6 +9284,7 @@
"/bigquery:v2/DatasetList/datasets/dataset/kind": kind "/bigquery:v2/DatasetList/datasets/dataset/kind": kind
"/bigquery:v2/DatasetList/datasets/dataset/labels": labels "/bigquery:v2/DatasetList/datasets/dataset/labels": labels
"/bigquery:v2/DatasetList/datasets/dataset/labels/label": label "/bigquery:v2/DatasetList/datasets/dataset/labels/label": label
"/bigquery:v2/DatasetList/datasets/dataset/location": location
"/bigquery:v2/DatasetList/etag": etag "/bigquery:v2/DatasetList/etag": etag
"/bigquery:v2/DatasetList/kind": kind "/bigquery:v2/DatasetList/kind": kind
"/bigquery:v2/DatasetList/nextPageToken": next_page_token "/bigquery:v2/DatasetList/nextPageToken": next_page_token
@ -9378,6 +9379,7 @@
"/bigquery:v2/JobConfiguration/copy": copy "/bigquery:v2/JobConfiguration/copy": copy
"/bigquery:v2/JobConfiguration/dryRun": dry_run "/bigquery:v2/JobConfiguration/dryRun": dry_run
"/bigquery:v2/JobConfiguration/extract": extract "/bigquery:v2/JobConfiguration/extract": extract
"/bigquery:v2/JobConfiguration/jobTimeoutMs": job_timeout_ms
"/bigquery:v2/JobConfiguration/labels": labels "/bigquery:v2/JobConfiguration/labels": labels
"/bigquery:v2/JobConfiguration/labels/label": label "/bigquery:v2/JobConfiguration/labels/label": label
"/bigquery:v2/JobConfiguration/load": load "/bigquery:v2/JobConfiguration/load": load
@ -9467,8 +9469,10 @@
"/bigquery:v2/JobList/nextPageToken": next_page_token "/bigquery:v2/JobList/nextPageToken": next_page_token
"/bigquery:v2/JobReference": job_reference "/bigquery:v2/JobReference": job_reference
"/bigquery:v2/JobReference/jobId": job_id "/bigquery:v2/JobReference/jobId": job_id
"/bigquery:v2/JobReference/location": location
"/bigquery:v2/JobReference/projectId": project_id "/bigquery:v2/JobReference/projectId": project_id
"/bigquery:v2/JobStatistics": job_statistics "/bigquery:v2/JobStatistics": job_statistics
"/bigquery:v2/JobStatistics/completionRatio": completion_ratio
"/bigquery:v2/JobStatistics/creationTime": creation_time "/bigquery:v2/JobStatistics/creationTime": creation_time
"/bigquery:v2/JobStatistics/endTime": end_time "/bigquery:v2/JobStatistics/endTime": end_time
"/bigquery:v2/JobStatistics/extract": extract "/bigquery:v2/JobStatistics/extract": extract
@ -9513,6 +9517,7 @@
"/bigquery:v2/JsonObject": json_object "/bigquery:v2/JsonObject": json_object
"/bigquery:v2/JsonObject/json_object": json_object "/bigquery:v2/JsonObject/json_object": json_object
"/bigquery:v2/JsonValue": json_value "/bigquery:v2/JsonValue": json_value
"/bigquery:v2/Location": location
"/bigquery:v2/ProjectList": project_list "/bigquery:v2/ProjectList": project_list
"/bigquery:v2/ProjectList/etag": etag "/bigquery:v2/ProjectList/etag": etag
"/bigquery:v2/ProjectList/kind": kind "/bigquery:v2/ProjectList/kind": kind
@ -9549,6 +9554,7 @@
"/bigquery:v2/QueryRequest/defaultDataset": default_dataset "/bigquery:v2/QueryRequest/defaultDataset": default_dataset
"/bigquery:v2/QueryRequest/dryRun": dry_run "/bigquery:v2/QueryRequest/dryRun": dry_run
"/bigquery:v2/QueryRequest/kind": kind "/bigquery:v2/QueryRequest/kind": kind
"/bigquery:v2/QueryRequest/location": location
"/bigquery:v2/QueryRequest/maxResults": max_results "/bigquery:v2/QueryRequest/maxResults": max_results
"/bigquery:v2/QueryRequest/parameterMode": parameter_mode "/bigquery:v2/QueryRequest/parameterMode": parameter_mode
"/bigquery:v2/QueryRequest/preserveNulls": preserve_nulls "/bigquery:v2/QueryRequest/preserveNulls": preserve_nulls
@ -9703,12 +9709,15 @@
"/bigquery:v2/bigquery.datasets.update/projectId": project_id "/bigquery:v2/bigquery.datasets.update/projectId": project_id
"/bigquery:v2/bigquery.jobs.cancel": cancel_job "/bigquery:v2/bigquery.jobs.cancel": cancel_job
"/bigquery:v2/bigquery.jobs.cancel/jobId": job_id "/bigquery:v2/bigquery.jobs.cancel/jobId": job_id
"/bigquery:v2/bigquery.jobs.cancel/location": location
"/bigquery:v2/bigquery.jobs.cancel/projectId": project_id "/bigquery:v2/bigquery.jobs.cancel/projectId": project_id
"/bigquery:v2/bigquery.jobs.get": get_job "/bigquery:v2/bigquery.jobs.get": get_job
"/bigquery:v2/bigquery.jobs.get/jobId": job_id "/bigquery:v2/bigquery.jobs.get/jobId": job_id
"/bigquery:v2/bigquery.jobs.get/location": location
"/bigquery:v2/bigquery.jobs.get/projectId": project_id "/bigquery:v2/bigquery.jobs.get/projectId": project_id
"/bigquery:v2/bigquery.jobs.getQueryResults": get_job_query_results "/bigquery:v2/bigquery.jobs.getQueryResults": get_job_query_results
"/bigquery:v2/bigquery.jobs.getQueryResults/jobId": job_id "/bigquery:v2/bigquery.jobs.getQueryResults/jobId": job_id
"/bigquery:v2/bigquery.jobs.getQueryResults/location": location
"/bigquery:v2/bigquery.jobs.getQueryResults/maxResults": max_results "/bigquery:v2/bigquery.jobs.getQueryResults/maxResults": max_results
"/bigquery:v2/bigquery.jobs.getQueryResults/pageToken": page_token "/bigquery:v2/bigquery.jobs.getQueryResults/pageToken": page_token
"/bigquery:v2/bigquery.jobs.getQueryResults/projectId": project_id "/bigquery:v2/bigquery.jobs.getQueryResults/projectId": project_id
@ -11403,7 +11412,13 @@
"/calendar:v3/ConferenceData/entryPoints": entry_points "/calendar:v3/ConferenceData/entryPoints": entry_points
"/calendar:v3/ConferenceData/entryPoints/entry_point": entry_point "/calendar:v3/ConferenceData/entryPoints/entry_point": entry_point
"/calendar:v3/ConferenceData/notes": notes "/calendar:v3/ConferenceData/notes": notes
"/calendar:v3/ConferenceData/parameters": parameters
"/calendar:v3/ConferenceData/signature": signature "/calendar:v3/ConferenceData/signature": signature
"/calendar:v3/ConferenceParameters": conference_parameters
"/calendar:v3/ConferenceParameters/addOnParameters": add_on_parameters
"/calendar:v3/ConferenceParametersAddOnParameters": conference_parameters_add_on_parameters
"/calendar:v3/ConferenceParametersAddOnParameters/parameters": parameters
"/calendar:v3/ConferenceParametersAddOnParameters/parameters/parameter": parameter
"/calendar:v3/ConferenceProperties": conference_properties "/calendar:v3/ConferenceProperties": conference_properties
"/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes": allowed_conference_solution_types "/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes": allowed_conference_solution_types
"/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes/allowed_conference_solution_type": allowed_conference_solution_type "/calendar:v3/ConferenceProperties/allowedConferenceSolutionTypes/allowed_conference_solution_type": allowed_conference_solution_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/ # @see https://cloud.google.com/bigquery/
module BigqueryV2 module BigqueryV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180117' REVISION = '20180127'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -514,6 +514,11 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# [Experimental] The geographic location where the data resides.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -525,6 +530,7 @@ module Google
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@location = args[:location] if args.key?(:location)
end end
end end
end end
@ -1184,6 +1190,12 @@ module Google
# @return [Google::Apis::BigqueryV2::JobConfigurationExtract] # @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
attr_accessor :extract attr_accessor :extract
# [Optional] Job timeout in milliseconds. If this time limit is exceeded,
# BigQuery may attempt to terminate the job.
# Corresponds to the JSON property `jobTimeoutMs`
# @return [Fixnum]
attr_accessor :job_timeout_ms
# The labels associated with this job. You can use these to organize and group # The labels associated with this job. You can use these to organize and group
# your jobs. Label keys and values can be no longer than 63 characters, can only # your jobs. Label keys and values can be no longer than 63 characters, can only
# contain lowercase letters, numeric characters, underscores and dashes. # contain lowercase letters, numeric characters, underscores and dashes.
@ -1212,6 +1224,7 @@ module Google
@copy = args[:copy] if args.key?(:copy) @copy = args[:copy] if args.key?(:copy)
@dry_run = args[:dry_run] if args.key?(:dry_run) @dry_run = args[:dry_run] if args.key?(:dry_run)
@extract = args[:extract] if args.key?(:extract) @extract = args[:extract] if args.key?(:extract)
@job_timeout_ms = args[:job_timeout_ms] if args.key?(:job_timeout_ms)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@load = args[:load] if args.key?(:load) @load = args[:load] if args.key?(:load)
@query = args[:query] if args.key?(:query) @query = args[:query] if args.key?(:query)
@ -1864,6 +1877,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :job_id attr_accessor :job_id
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# [Required] The ID of the project containing this job. # [Required] The ID of the project containing this job.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
@ -1876,6 +1895,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@job_id = args[:job_id] if args.key?(:job_id) @job_id = args[:job_id] if args.key?(:job_id)
@location = args[:location] if args.key?(:location)
@project_id = args[:project_id] if args.key?(:project_id) @project_id = args[:project_id] if args.key?(:project_id)
end end
end end
@ -1884,6 +1904,12 @@ module Google
class JobStatistics class JobStatistics
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# [Experimental] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT
# jobs.
# Corresponds to the JSON property `completionRatio`
# @return [Float]
attr_accessor :completion_ratio
# [Output-only] Creation time of this job, in milliseconds since the epoch. This # [Output-only] Creation time of this job, in milliseconds since the epoch. This
# field will be present on all jobs. # field will be present on all jobs.
# Corresponds to the JSON property `creationTime` # Corresponds to the JSON property `creationTime`
@ -1930,6 +1956,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@completion_ratio = args[:completion_ratio] if args.key?(:completion_ratio)
@creation_time = args[:creation_time] if args.key?(:creation_time) @creation_time = args[:creation_time] if args.key?(:creation_time)
@end_time = args[:end_time] if args.key?(:end_time) @end_time = args[:end_time] if args.key?(:end_time)
@extract = args[:extract] if args.key?(:extract) @extract = args[:extract] if args.key?(:extract)
@ -2426,6 +2453,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# [Experimental] The geographic location where the job should run. Required
# except for US and EU.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# [Optional] The maximum number of rows of data to return per page of results. # [Optional] The maximum number of rows of data to return per page of results.
# Setting this flag to a small value such as 1000 and then paging through # Setting this flag to a small value such as 1000 and then paging through
# results might improve reliability when the query result set is large. In # results might improve reliability when the query result set is large. In
@ -2496,6 +2529,7 @@ module Google
@default_dataset = args[:default_dataset] if args.key?(:default_dataset) @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
@dry_run = args[:dry_run] if args.key?(:dry_run) @dry_run = args[:dry_run] if args.key?(:dry_run)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@location = args[:location] if args.key?(:location)
@max_results = args[:max_results] if args.key?(:max_results) @max_results = args[:max_results] if args.key?(:max_results)
@parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode) @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls) @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
@ -2616,11 +2650,6 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :completed_inputs attr_accessor :completed_inputs
# Total parallel units of work completed by the currently active stages.
# Corresponds to the JSON property `completedInputsForActiveStages`
# @return [Fixnum]
attr_accessor :completed_inputs_for_active_stages
# Milliseconds elapsed since the start of query execution. # Milliseconds elapsed since the start of query execution.
# Corresponds to the JSON property `elapsedMs` # Corresponds to the JSON property `elapsedMs`
# @return [Fixnum] # @return [Fixnum]
@ -2644,7 +2673,6 @@ module Google
def update!(**args) def update!(**args)
@active_inputs = args[:active_inputs] if args.key?(:active_inputs) @active_inputs = args[:active_inputs] if args.key?(:active_inputs)
@completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs) @completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs)
@completed_inputs_for_active_stages = args[:completed_inputs_for_active_stages] if args.key?(:completed_inputs_for_active_stages)
@elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms) @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
@pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs) @pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs)
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)

View File

@ -481,6 +481,7 @@ module Google
property :id, as: 'id' property :id, as: 'id'
property :kind, as: 'kind' property :kind, as: 'kind'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :location, as: 'location'
end end
end end
end end
@ -644,6 +645,7 @@ module Google
property :dry_run, as: 'dryRun' property :dry_run, as: 'dryRun'
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation
property :job_timeout_ms, :numeric_string => true, as: 'jobTimeoutMs'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
@ -782,6 +784,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :job_id, as: 'jobId' property :job_id, as: 'jobId'
property :location, as: 'location'
property :project_id, as: 'projectId' property :project_id, as: 'projectId'
end end
end end
@ -789,6 +792,7 @@ module Google
class JobStatistics class JobStatistics
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :completion_ratio, as: 'completionRatio'
property :creation_time, :numeric_string => true, as: 'creationTime' property :creation_time, :numeric_string => true, as: 'creationTime'
property :end_time, :numeric_string => true, as: 'endTime' property :end_time, :numeric_string => true, as: 'endTime'
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
@ -939,6 +943,7 @@ module Google
property :dry_run, as: 'dryRun' property :dry_run, as: 'dryRun'
property :kind, as: 'kind' property :kind, as: 'kind'
property :location, as: 'location'
property :max_results, as: 'maxResults' property :max_results, as: 'maxResults'
property :parameter_mode, as: 'parameterMode' property :parameter_mode, as: 'parameterMode'
property :preserve_nulls, as: 'preserveNulls' property :preserve_nulls, as: 'preserveNulls'
@ -977,7 +982,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :active_inputs, as: 'activeInputs' property :active_inputs, as: 'activeInputs'
property :completed_inputs, as: 'completedInputs' property :completed_inputs, as: 'completedInputs'
property :completed_inputs_for_active_stages, as: 'completedInputsForActiveStages'
property :elapsed_ms, :numeric_string => true, as: 'elapsedMs' property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
property :pending_inputs, :numeric_string => true, as: 'pendingInputs' property :pending_inputs, :numeric_string => true, as: 'pendingInputs'
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs' property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'

View File

@ -317,6 +317,9 @@ module Google
# [Required] Project ID of the job to cancel # [Required] Project ID of the job to cancel
# @param [String] job_id # @param [String] job_id
# [Required] Job ID of the job to cancel # [Required] Job ID of the job to cancel
# @param [String] location
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -338,12 +341,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def cancel_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options) command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options)
command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation
command.response_class = Google::Apis::BigqueryV2::CancelJobResponse command.response_class = Google::Apis::BigqueryV2::CancelJobResponse
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
command.params['jobId'] = job_id unless job_id.nil? command.params['jobId'] = job_id unless job_id.nil?
command.query['location'] = location unless location.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil? command.query['userIp'] = user_ip unless user_ip.nil?
@ -357,6 +361,9 @@ module Google
# [Required] Project ID of the requested job # [Required] Project ID of the requested job
# @param [String] job_id # @param [String] job_id
# [Required] Job ID of the requested job # [Required] Job ID of the requested job
# @param [String] location
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -378,12 +385,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def get_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options) command = make_simple_command(:get, 'projects/{projectId}/jobs/{jobId}', options)
command.response_representation = Google::Apis::BigqueryV2::Job::Representation command.response_representation = Google::Apis::BigqueryV2::Job::Representation
command.response_class = Google::Apis::BigqueryV2::Job command.response_class = Google::Apis::BigqueryV2::Job
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
command.params['jobId'] = job_id unless job_id.nil? command.params['jobId'] = job_id unless job_id.nil?
command.query['location'] = location unless location.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil? command.query['userIp'] = user_ip unless user_ip.nil?
@ -395,6 +403,9 @@ module Google
# [Required] Project ID of the query job # [Required] Project ID of the query job
# @param [String] job_id # @param [String] job_id
# [Required] Job ID of the query job # [Required] Job ID of the query job
# @param [String] location
# [Experimental] The geographic location where the job should run. Required
# except for US and EU.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# Maximum number of results to read # Maximum number of results to read
# @param [String] page_token # @param [String] page_token
@ -426,12 +437,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_job_query_results(project_id, job_id, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def get_job_query_results(project_id, job_id, location: nil, max_results: nil, page_token: nil, start_index: nil, timeout_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options) command = make_simple_command(:get, 'projects/{projectId}/queries/{jobId}', options)
command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation command.response_representation = Google::Apis::BigqueryV2::GetQueryResultsResponse::Representation
command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse command.response_class = Google::Apis::BigqueryV2::GetQueryResultsResponse
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
command.params['jobId'] = job_id unless job_id.nil? command.params['jobId'] = job_id unless job_id.nil?
command.query['location'] = location unless location.nil?
command.query['maxResults'] = max_results unless max_results.nil? command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['startIndex'] = start_index unless start_index.nil? command.query['startIndex'] = start_index unless start_index.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp # @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3 module CalendarV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20180107' REVISION = '20180130'
# Manage your calendars # Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

@ -662,6 +662,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :notes attr_accessor :notes
# Additional properties related to a conference. An example would be a solution-
# specific setting for enabling video streaming.
# Corresponds to the JSON property `parameters`
# @return [Google::Apis::CalendarV3::ConferenceParameters]
attr_accessor :parameters
# The signature of the conference data. # The signature of the conference data.
# Genereated on server side. Must be preserved while copying the conference data # Genereated on server side. Must be preserved while copying the conference data
# between events, otherwise the conference data will not be copied. # between events, otherwise the conference data will not be copied.
@ -682,10 +688,49 @@ module Google
@create_request = args[:create_request] if args.key?(:create_request) @create_request = args[:create_request] if args.key?(:create_request)
@entry_points = args[:entry_points] if args.key?(:entry_points) @entry_points = args[:entry_points] if args.key?(:entry_points)
@notes = args[:notes] if args.key?(:notes) @notes = args[:notes] if args.key?(:notes)
@parameters = args[:parameters] if args.key?(:parameters)
@signature = args[:signature] if args.key?(:signature) @signature = args[:signature] if args.key?(:signature)
end end
end end
#
class ConferenceParameters
include Google::Apis::Core::Hashable
# Additional add-on specific data.
# Corresponds to the JSON property `addOnParameters`
# @return [Google::Apis::CalendarV3::ConferenceParametersAddOnParameters]
attr_accessor :add_on_parameters
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@add_on_parameters = args[:add_on_parameters] if args.key?(:add_on_parameters)
end
end
#
class ConferenceParametersAddOnParameters
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `parameters`
# @return [Hash<String,String>]
attr_accessor :parameters
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@parameters = args[:parameters] if args.key?(:parameters)
end
end
# #
class ConferenceProperties class ConferenceProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -94,6 +94,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ConferenceParameters
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConferenceParametersAddOnParameters
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConferenceProperties class ConferenceProperties
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -407,10 +419,27 @@ module Google
collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation
property :notes, as: 'notes' property :notes, as: 'notes'
property :parameters, as: 'parameters', class: Google::Apis::CalendarV3::ConferenceParameters, decorator: Google::Apis::CalendarV3::ConferenceParameters::Representation
property :signature, as: 'signature' property :signature, as: 'signature'
end end
end end
class ConferenceParameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :add_on_parameters, as: 'addOnParameters', class: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters, decorator: Google::Apis::CalendarV3::ConferenceParametersAddOnParameters::Representation
end
end
class ConferenceParametersAddOnParameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :parameters, as: 'parameters'
end
end
class ConferenceProperties class ConferenceProperties
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/gmail/api/ # @see https://developers.google.com/gmail/api/
module GmailV1 module GmailV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180123' REVISION = '20180131'
# Read, send, delete, and manage your email # Read, send, delete, and manage your email
AUTH_SCOPE = 'https://mail.google.com/' AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -485,9 +485,8 @@ module Google
class Label class Label
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The Color to assign to the label. Only available for labels with type User. # The color to assign to the label. Color is only available for labels that have
# Will not be set if the label doesn't have both a text_color and # their type set to user.
# background_color configured.
# Corresponds to the JSON property `color` # Corresponds to the JSON property `color`
# @return [Google::Apis::GmailV1::LabelColor] # @return [Google::Apis::GmailV1::LabelColor]
attr_accessor :color attr_accessor :color
@ -567,31 +566,32 @@ module Google
class LabelColor class LabelColor
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The background color represented as hex string #RRGGBB (ex #000000). Only a # The background color represented as hex string #RRGGBB (ex #000000). This
# restricted predefined set of color values are allowed. Only the following # field is required in order to set the color of a label. Only the following
# predefined set of color values are allowed: #000000, #434343, #666666, #999999, # predefined set of color values are allowed:
# #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, # # #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
# 43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, # fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
# #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, # # #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
# a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, # ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
# #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, # # #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
# 8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, # f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
# #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, # # #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
# 83334c # 076239, #1a764d, #1c4587, #41236d, #83334c
# Corresponds to the JSON property `backgroundColor` # Corresponds to the JSON property `backgroundColor`
# @return [String] # @return [String]
attr_accessor :background_color attr_accessor :background_color
# The text color of the label, represented as hex string. Only the following # The text color of the label, represented as hex string. This field is required
# predefined set of color values are allowed: #000000, #434343, #666666, #999999, # in order to set the color of a label. Only the following predefined set of
# #cccccc, #efefef, #f3f3f3, #ffffff, #fb4c2f, #ffad47, #fad165, #16a766, # # color values are allowed:
# 43d692, #4a86e8, #a479e2, #f691b3, #f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, # #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
# #c9daf8, #e4d7f5, #fcdee8, #efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, # # fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
# a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, # #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
# #b694e8, #f7a7c0, #cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, # # ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
# 8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, # #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
# #b65775, #822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, # # f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
# 83334c # #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
# 076239, #1a764d, #1c4587, #41236d, #83334c
# Corresponds to the JSON property `textColor` # Corresponds to the JSON property `textColor`
# @return [String] # @return [String]
attr_accessor :text_color attr_accessor :text_color

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/ # @see https://developers.google.com/cloud-test-lab/
module TestingV1 module TestingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180105' REVISION = '20180202'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tpu/ # @see https://cloud.google.com/tpu/
module TpuV1alpha1 module TpuV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20180131' REVISION = '20180202'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'