Autogenerated update (2017-12-09)

Delete:
- dfareporting_v2_7

Update:
- bigquery_v2
- cloudtasks_v2beta2
- dataproc_v1
- dataproc_v1beta2
- deploymentmanager_alpha
- deploymentmanager_v2
- deploymentmanager_v2beta
- streetviewpublish_v1
This commit is contained in:
Google APIs 2017-12-09 00:35:52 +00:00
parent 4b90f6bb8f
commit 942f8e1f70
28 changed files with 474 additions and 25488 deletions

View File

@ -1,4 +1,21 @@
--- ---
"/abusiveexperiencereport:v1/SiteSummaryResponse": site_summary_response
"/abusiveexperiencereport:v1/SiteSummaryResponse/abusiveStatus": abusive_status
"/abusiveexperiencereport:v1/SiteSummaryResponse/enforcementTime": enforcement_time
"/abusiveexperiencereport:v1/SiteSummaryResponse/filterStatus": filter_status
"/abusiveexperiencereport:v1/SiteSummaryResponse/lastChangeTime": last_change_time
"/abusiveexperiencereport:v1/SiteSummaryResponse/reportUrl": report_url
"/abusiveexperiencereport:v1/SiteSummaryResponse/reviewedSite": reviewed_site
"/abusiveexperiencereport:v1/SiteSummaryResponse/underReview": under_review
"/abusiveexperiencereport:v1/ViolatingSitesResponse": violating_sites_response
"/abusiveexperiencereport:v1/ViolatingSitesResponse/violatingSites": violating_sites
"/abusiveexperiencereport:v1/ViolatingSitesResponse/violatingSites/violating_site": violating_site
"/abusiveexperiencereport:v1/abusiveexperiencereport.sites.get": get_site
"/abusiveexperiencereport:v1/abusiveexperiencereport.sites.get/name": name
"/abusiveexperiencereport:v1/abusiveexperiencereport.violatingSites.list": list_violating_sites
"/abusiveexperiencereport:v1/fields": fields
"/abusiveexperiencereport:v1/key": key
"/abusiveexperiencereport:v1/quotaUser": quota_user
"/acceleratedmobilepageurl:v1/AmpUrl": amp_url "/acceleratedmobilepageurl:v1/AmpUrl": amp_url
"/acceleratedmobilepageurl:v1/AmpUrl/ampUrl": amp_url "/acceleratedmobilepageurl:v1/AmpUrl/ampUrl": amp_url
"/acceleratedmobilepageurl:v1/AmpUrl/cdnAmpUrl": cdn_amp_url "/acceleratedmobilepageurl:v1/AmpUrl/cdnAmpUrl": cdn_amp_url
@ -9016,12 +9033,14 @@
"/bigquery:v2/ErrorProto/message": message "/bigquery:v2/ErrorProto/message": message
"/bigquery:v2/ErrorProto/reason": reason "/bigquery:v2/ErrorProto/reason": reason
"/bigquery:v2/ExplainQueryStage": explain_query_stage "/bigquery:v2/ExplainQueryStage": explain_query_stage
"/bigquery:v2/ExplainQueryStage/completedParallelInputs": completed_parallel_inputs
"/bigquery:v2/ExplainQueryStage/computeMsAvg": compute_ms_avg "/bigquery:v2/ExplainQueryStage/computeMsAvg": compute_ms_avg
"/bigquery:v2/ExplainQueryStage/computeMsMax": compute_ms_max "/bigquery:v2/ExplainQueryStage/computeMsMax": compute_ms_max
"/bigquery:v2/ExplainQueryStage/computeRatioAvg": compute_ratio_avg "/bigquery:v2/ExplainQueryStage/computeRatioAvg": compute_ratio_avg
"/bigquery:v2/ExplainQueryStage/computeRatioMax": compute_ratio_max "/bigquery:v2/ExplainQueryStage/computeRatioMax": compute_ratio_max
"/bigquery:v2/ExplainQueryStage/id": id "/bigquery:v2/ExplainQueryStage/id": id
"/bigquery:v2/ExplainQueryStage/name": name "/bigquery:v2/ExplainQueryStage/name": name
"/bigquery:v2/ExplainQueryStage/parallelInputs": parallel_inputs
"/bigquery:v2/ExplainQueryStage/readMsAvg": read_ms_avg "/bigquery:v2/ExplainQueryStage/readMsAvg": read_ms_avg
"/bigquery:v2/ExplainQueryStage/readMsMax": read_ms_max "/bigquery:v2/ExplainQueryStage/readMsMax": read_ms_max
"/bigquery:v2/ExplainQueryStage/readRatioAvg": read_ratio_avg "/bigquery:v2/ExplainQueryStage/readRatioAvg": read_ratio_avg
@ -9197,6 +9216,7 @@
"/bigquery:v2/JobStatistics2/cacheHit": cache_hit "/bigquery:v2/JobStatistics2/cacheHit": cache_hit
"/bigquery:v2/JobStatistics2/ddlOperationPerformed": ddl_operation_performed "/bigquery:v2/JobStatistics2/ddlOperationPerformed": ddl_operation_performed
"/bigquery:v2/JobStatistics2/ddlTargetTable": ddl_target_table "/bigquery:v2/JobStatistics2/ddlTargetTable": ddl_target_table
"/bigquery:v2/JobStatistics2/estimatedBytesProcessed": estimated_bytes_processed
"/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows "/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows
"/bigquery:v2/JobStatistics2/queryPlan": query_plan "/bigquery:v2/JobStatistics2/queryPlan": query_plan
"/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan "/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan
@ -32738,6 +32758,7 @@
"/dataproc:v1beta2/InstanceGroupConfig/isPreemptible": is_preemptible "/dataproc:v1beta2/InstanceGroupConfig/isPreemptible": is_preemptible
"/dataproc:v1beta2/InstanceGroupConfig/machineTypeUri": machine_type_uri "/dataproc:v1beta2/InstanceGroupConfig/machineTypeUri": machine_type_uri
"/dataproc:v1beta2/InstanceGroupConfig/managedGroupConfig": managed_group_config "/dataproc:v1beta2/InstanceGroupConfig/managedGroupConfig": managed_group_config
"/dataproc:v1beta2/InstanceGroupConfig/minCpuPlatform": min_cpu_platform
"/dataproc:v1beta2/InstanceGroupConfig/numInstances": num_instances "/dataproc:v1beta2/InstanceGroupConfig/numInstances": num_instances
"/dataproc:v1beta2/InstantiateWorkflowTemplateRequest": instantiate_workflow_template_request "/dataproc:v1beta2/InstantiateWorkflowTemplateRequest": instantiate_workflow_template_request
"/dataproc:v1beta2/InstantiateWorkflowTemplateRequest/instanceId": instance_id "/dataproc:v1beta2/InstantiateWorkflowTemplateRequest/instanceId": instance_id
@ -33770,6 +33791,8 @@
"/deploymentmanager:alpha/Resource/manifest": manifest "/deploymentmanager:alpha/Resource/manifest": manifest
"/deploymentmanager:alpha/Resource/name": name "/deploymentmanager:alpha/Resource/name": name
"/deploymentmanager:alpha/Resource/properties": properties "/deploymentmanager:alpha/Resource/properties": properties
"/deploymentmanager:alpha/Resource/runtimePolicies": runtime_policies
"/deploymentmanager:alpha/Resource/runtimePolicies/runtime_policy": runtime_policy
"/deploymentmanager:alpha/Resource/type": type "/deploymentmanager:alpha/Resource/type": type
"/deploymentmanager:alpha/Resource/update": update "/deploymentmanager:alpha/Resource/update": update
"/deploymentmanager:alpha/Resource/updateTime": update_time "/deploymentmanager:alpha/Resource/updateTime": update_time
@ -33797,6 +33820,8 @@
"/deploymentmanager:alpha/ResourceUpdate/intent": intent "/deploymentmanager:alpha/ResourceUpdate/intent": intent
"/deploymentmanager:alpha/ResourceUpdate/manifest": manifest "/deploymentmanager:alpha/ResourceUpdate/manifest": manifest
"/deploymentmanager:alpha/ResourceUpdate/properties": properties "/deploymentmanager:alpha/ResourceUpdate/properties": properties
"/deploymentmanager:alpha/ResourceUpdate/runtimePolicies": runtime_policies
"/deploymentmanager:alpha/ResourceUpdate/runtimePolicies/runtime_policy": runtime_policy
"/deploymentmanager:alpha/ResourceUpdate/state": state "/deploymentmanager:alpha/ResourceUpdate/state": state
"/deploymentmanager:alpha/ResourceUpdate/warnings": warnings "/deploymentmanager:alpha/ResourceUpdate/warnings": warnings
"/deploymentmanager:alpha/ResourceUpdate/warnings/warning": warning "/deploymentmanager:alpha/ResourceUpdate/warnings/warning": warning

View File

@ -0,0 +1,35 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/abusiveexperiencereport_v1/service.rb'
require 'google/apis/abusiveexperiencereport_v1/classes.rb'
require 'google/apis/abusiveexperiencereport_v1/representations.rb'
module Google
module Apis
# Google Abusive Experience Report API
#
# View Abusive Experience Report data, and get a list of sites that have a
# significant number of abusive experiences.
#
# @see https://developers.google.com/abusive-experience-report/
module AbusiveexperiencereportV1
VERSION = 'V1'
REVISION = '20171129'
# Test scope for access to the Zoo service
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'
end
end
end

View File

@ -0,0 +1,101 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AbusiveexperiencereportV1
# Response message for GetSiteSummary.
class SiteSummaryResponse
include Google::Apis::Core::Hashable
# The status of the site reviewed for the abusive experiences.
# Corresponds to the JSON property `abusiveStatus`
# @return [String]
attr_accessor :abusive_status
# The date on which enforcement begins.
# Corresponds to the JSON property `enforcementTime`
# @return [String]
attr_accessor :enforcement_time
# The abusive experience enforcement status of the site.
# Corresponds to the JSON property `filterStatus`
# @return [String]
attr_accessor :filter_status
# The last time that the site changed status.
# Corresponds to the JSON property `lastChangeTime`
# @return [String]
attr_accessor :last_change_time
# A link that leads to a full abusive experience report.
# Corresponds to the JSON property `reportUrl`
# @return [String]
attr_accessor :report_url
# The name of the site reviewed.
# Corresponds to the JSON property `reviewedSite`
# @return [String]
attr_accessor :reviewed_site
# Whether the site is currently under review.
# Corresponds to the JSON property `underReview`
# @return [Boolean]
attr_accessor :under_review
alias_method :under_review?, :under_review
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@abusive_status = args[:abusive_status] if args.key?(:abusive_status)
@enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time)
@filter_status = args[:filter_status] if args.key?(:filter_status)
@last_change_time = args[:last_change_time] if args.key?(:last_change_time)
@report_url = args[:report_url] if args.key?(:report_url)
@reviewed_site = args[:reviewed_site] if args.key?(:reviewed_site)
@under_review = args[:under_review] if args.key?(:under_review)
end
end
# Response message for ListViolatingSites.
class ViolatingSitesResponse
include Google::Apis::Core::Hashable
# A list of summaries of violating sites.
# Corresponds to the JSON property `violatingSites`
# @return [Array<Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse>]
attr_accessor :violating_sites
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@violating_sites = args[:violating_sites] if args.key?(:violating_sites)
end
end
end
end
end

View File

@ -0,0 +1,59 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AbusiveexperiencereportV1
class SiteSummaryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ViolatingSitesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SiteSummaryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :abusive_status, as: 'abusiveStatus'
property :enforcement_time, as: 'enforcementTime'
property :filter_status, as: 'filterStatus'
property :last_change_time, as: 'lastChangeTime'
property :report_url, as: 'reportUrl'
property :reviewed_site, as: 'reviewedSite'
property :under_review, as: 'underReview'
end
end
class ViolatingSitesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :violating_sites, as: 'violatingSites', class: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse, decorator: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse::Representation
end
end
end
end
end

View File

@ -0,0 +1,124 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AbusiveexperiencereportV1
# Google Abusive Experience Report API
#
# View Abusive Experience Report data, and get a list of sites that have a
# significant number of abusive experiences.
#
# @example
# require 'google/apis/abusiveexperiencereport_v1'
#
# Abusiveexperiencereport = Google::Apis::AbusiveexperiencereportV1 # Alias the module
# service = Abusiveexperiencereport::AbusiveExperienceReportService.new
#
# @see https://developers.google.com/abusive-experience-report/
class AbusiveExperienceReportService < Google::Apis::Core::BaseService
# @return [String]
# 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.
attr_accessor :quota_user
def initialize
super('https://abusiveexperiencereport.googleapis.com/', '')
@batch_path = 'batch'
end
# Gets a summary of the abusive experience rating of a site.
# @param [String] name
# The required site name. This is the site property whose abusive
# experiences have been reviewed, and it must be URL-encoded. For example,
# sites/https%3A%2F%2Fwww.google.com. The server will return an error of
# BAD_REQUEST if this field is not filled in. Note that if the site property
# is not yet verified in Search Console, the reportUrl field
# returned by the API will lead to the verification page, prompting the user
# to go through that process before they can gain access to the Abusive
# Experience Report.
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse]
#
# @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::AuthorizationError] Authorization is required
def get_site(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse::Representation
command.response_class = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists sites with Abusive Experience Report statuses of "Failing".
# @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.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse]
#
# @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::AuthorizationError] Authorization is required
def list_violating_sites(fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/violatingSites', options)
command.response_representation = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse::Representation
command.response_class = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

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 = '20171027' REVISION = '20171202'
# 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

@ -619,6 +619,11 @@ module Google
class ExplainQueryStage class ExplainQueryStage
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Number of parallel input segments completed.
# Corresponds to the JSON property `completedParallelInputs`
# @return [Fixnum]
attr_accessor :completed_parallel_inputs
# Milliseconds the average shard spent on CPU-bound tasks. # Milliseconds the average shard spent on CPU-bound tasks.
# Corresponds to the JSON property `computeMsAvg` # Corresponds to the JSON property `computeMsAvg`
# @return [Fixnum] # @return [Fixnum]
@ -649,6 +654,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Number of parallel input segments to be processed.
# Corresponds to the JSON property `parallelInputs`
# @return [Fixnum]
attr_accessor :parallel_inputs
# Milliseconds the average shard spent reading input. # Milliseconds the average shard spent reading input.
# Corresponds to the JSON property `readMsAvg` # Corresponds to the JSON property `readMsAvg`
# @return [Fixnum] # @return [Fixnum]
@ -746,12 +756,14 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@completed_parallel_inputs = args[:completed_parallel_inputs] if args.key?(:completed_parallel_inputs)
@compute_ms_avg = args[:compute_ms_avg] if args.key?(:compute_ms_avg) @compute_ms_avg = args[:compute_ms_avg] if args.key?(:compute_ms_avg)
@compute_ms_max = args[:compute_ms_max] if args.key?(:compute_ms_max) @compute_ms_max = args[:compute_ms_max] if args.key?(:compute_ms_max)
@compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg) @compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg)
@compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max) @compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@parallel_inputs = args[:parallel_inputs] if args.key?(:parallel_inputs)
@read_ms_avg = args[:read_ms_avg] if args.key?(:read_ms_avg) @read_ms_avg = args[:read_ms_avg] if args.key?(:read_ms_avg)
@read_ms_max = args[:read_ms_max] if args.key?(:read_ms_max) @read_ms_max = args[:read_ms_max] if args.key?(:read_ms_max)
@read_ratio_avg = args[:read_ratio_avg] if args.key?(:read_ratio_avg) @read_ratio_avg = args[:read_ratio_avg] if args.key?(:read_ratio_avg)
@ -1962,6 +1974,11 @@ module Google
# @return [Google::Apis::BigqueryV2::TableReference] # @return [Google::Apis::BigqueryV2::TableReference]
attr_accessor :ddl_target_table attr_accessor :ddl_target_table
# [Output-only] The original estimate of bytes processed for the job.
# Corresponds to the JSON property `estimatedBytesProcessed`
# @return [Fixnum]
attr_accessor :estimated_bytes_processed
# [Output-only] The number of rows affected by a DML statement. Present only for # [Output-only] The number of rows affected by a DML statement. Present only for
# DML statements INSERT, UPDATE or DELETE. # DML statements INSERT, UPDATE or DELETE.
# Corresponds to the JSON property `numDmlAffectedRows` # Corresponds to the JSON property `numDmlAffectedRows`
@ -1985,7 +2002,16 @@ module Google
# @return [Google::Apis::BigqueryV2::TableSchema] # @return [Google::Apis::BigqueryV2::TableSchema]
attr_accessor :schema attr_accessor :schema
# [Output-only, Experimental] The type of query statement, if valid. # [Output-only, Experimental] The type of query statement, if valid. Possible
# values (new values might be added in the future): "SELECT": SELECT query. "
# INSERT": INSERT query; see https://cloud.google.com/bigquery/docs/reference/
# standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://
# cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-
# language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/
# reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR
# REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE]
# TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE
# [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW query.
# Corresponds to the JSON property `statementType` # Corresponds to the JSON property `statementType`
# @return [String] # @return [String]
attr_accessor :statement_type attr_accessor :statement_type
@ -2021,6 +2047,7 @@ module Google
@cache_hit = args[:cache_hit] if args.key?(:cache_hit) @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
@ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed) @ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table) @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows) @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
@query_plan = args[:query_plan] if args.key?(:query_plan) @query_plan = args[:query_plan] if args.key?(:query_plan)
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)

View File

@ -507,12 +507,14 @@ module Google
class ExplainQueryStage class ExplainQueryStage
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :completed_parallel_inputs, :numeric_string => true, as: 'completedParallelInputs'
property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg' property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg'
property :compute_ms_max, :numeric_string => true, as: 'computeMsMax' property :compute_ms_max, :numeric_string => true, as: 'computeMsMax'
property :compute_ratio_avg, as: 'computeRatioAvg' property :compute_ratio_avg, as: 'computeRatioAvg'
property :compute_ratio_max, as: 'computeRatioMax' property :compute_ratio_max, as: 'computeRatioMax'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'
property :name, as: 'name' property :name, as: 'name'
property :parallel_inputs, :numeric_string => true, as: 'parallelInputs'
property :read_ms_avg, :numeric_string => true, as: 'readMsAvg' property :read_ms_avg, :numeric_string => true, as: 'readMsAvg'
property :read_ms_max, :numeric_string => true, as: 'readMsMax' property :read_ms_max, :numeric_string => true, as: 'readMsMax'
property :read_ratio_avg, as: 'readRatioAvg' property :read_ratio_avg, as: 'readRatioAvg'
@ -802,6 +804,7 @@ module Google
property :ddl_operation_performed, as: 'ddlOperationPerformed' property :ddl_operation_performed, as: 'ddlOperationPerformed'
property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/cloud-tasks/ # @see https://cloud.google.com/cloud-tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20171205' REVISION = '20171208'
# 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

@ -209,33 +209,6 @@ module Google
end end
end end
# Deprecated. Use AppEngineHttpTarget.
class AppEngineQueueConfig
include Google::Apis::Core::Hashable
# App Engine Routing.
# For more information about services, versions, and instances see
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
# [Microservices Architecture on Google App Engine](/appengine/docs/python/
# microservices-on-app-engine),
# [App Engine Standard request routing](/appengine/docs/standard/python/how-
# requests-are-routed),
# and [App Engine Flex request routing](/appengine/docs/flexible/python/how-
# requests-are-routed).
# Corresponds to the JSON property `appEngineRoutingOverride`
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
attr_accessor :app_engine_routing_override
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_engine_routing_override = args[:app_engine_routing_override] if args.key?(:app_engine_routing_override)
end
end
# App Engine Routing. # App Engine Routing.
# For more information about services, versions, and instances see # For more information about services, versions, and instances see
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine), # [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
@ -352,58 +325,6 @@ module Google
end end
end end
# Deprecated. Use AppEngineHttpRequest.
class AppEngineTaskTarget
include Google::Apis::Core::Hashable
# App Engine Routing.
# For more information about services, versions, and instances see
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
# [Microservices Architecture on Google App Engine](/appengine/docs/python/
# microservices-on-app-engine),
# [App Engine Standard request routing](/appengine/docs/standard/python/how-
# requests-are-routed),
# and [App Engine Flex request routing](/appengine/docs/flexible/python/how-
# requests-are-routed).
# Corresponds to the JSON property `appEngineRouting`
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
attr_accessor :app_engine_routing
# Deprecated. Use AppEngineHttpRequest.headers.
# Corresponds to the JSON property `headers`
# @return [Hash<String,String>]
attr_accessor :headers
# Deprecated. Use AppEngineHttpRequest.http_method.
# Corresponds to the JSON property `httpMethod`
# @return [String]
attr_accessor :http_method
# Deprecated. Use AppEngineHttpRequest.payload.
# Corresponds to the JSON property `payload`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :payload
# Deprecated. Use AppEngineHttpRequest.relative_url.
# Corresponds to the JSON property `relativeUrl`
# @return [String]
attr_accessor :relative_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing)
@headers = args[:headers] if args.key?(:headers)
@http_method = args[:http_method] if args.key?(:http_method)
@payload = args[:payload] if args.key?(:payload)
@relative_url = args[:relative_url] if args.key?(:relative_url)
end
end
# The status of a task attempt. # The status of a task attempt.
class AttemptStatus class AttemptStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -868,19 +789,6 @@ module Google
end end
end end
# Deprecated. Use PullTarget.
class PullQueueConfig
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Pull target. # Pull target.
class PullTarget class PullTarget
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -894,33 +802,6 @@ module Google
end end
end end
# Deprecated. Use PullMessage.
class PullTaskTarget
include Google::Apis::Core::Hashable
# Deprecated. Use PullMessage.payload.
# Corresponds to the JSON property `payload`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :payload
# Deprecated. Use PullMessage.tag.
# Corresponds to the JSON property `tag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :tag
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@payload = args[:payload] if args.key?(:payload)
@tag = args[:tag] if args.key?(:tag)
end
end
# Request message for pulling tasks using CloudTasks.PullTasks. # Request message for pulling tasks using CloudTasks.PullTasks.
class PullTasksRequest class PullTasksRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1047,11 +928,6 @@ module Google
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget] # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget]
attr_accessor :app_engine_http_target attr_accessor :app_engine_http_target
# Deprecated. Use AppEngineHttpTarget.
# Corresponds to the JSON property `appEngineQueueConfig`
# @return [Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig]
attr_accessor :app_engine_queue_config
# The queue name. # The queue name.
# The queue name must have the following format: # The queue name must have the following format:
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@ -1072,11 +948,6 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. Use PullTarget.
# Corresponds to the JSON property `pullQueueConfig`
# @return [Google::Apis::CloudtasksV2beta2::PullQueueConfig]
attr_accessor :pull_queue_config
# Pull target. # Pull target.
# Corresponds to the JSON property `pullTarget` # Corresponds to the JSON property `pullTarget`
# @return [Google::Apis::CloudtasksV2beta2::PullTarget] # @return [Google::Apis::CloudtasksV2beta2::PullTarget]
@ -1124,9 +995,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target) @app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target)
@app_engine_queue_config = args[:app_engine_queue_config] if args.key?(:app_engine_queue_config)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@pull_queue_config = args[:pull_queue_config] if args.key?(:pull_queue_config)
@pull_target = args[:pull_target] if args.key?(:pull_target) @pull_target = args[:pull_target] if args.key?(:pull_target)
@purge_time = args[:purge_time] if args.key?(:purge_time) @purge_time = args[:purge_time] if args.key?(:purge_time)
@rate_limits = args[:rate_limits] if args.key?(:rate_limits) @rate_limits = args[:rate_limits] if args.key?(:rate_limits)
@ -1552,11 +1421,6 @@ module Google
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest] # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
attr_accessor :app_engine_http_request attr_accessor :app_engine_http_request
# Deprecated. Use AppEngineHttpRequest.
# Corresponds to the JSON property `appEngineTaskTarget`
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
attr_accessor :app_engine_task_target
# Output only. The time that the task was created. # Output only. The time that the task was created.
# `create_time` will be truncated to the nearest second. # `create_time` will be truncated to the nearest second.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
@ -1592,11 +1456,6 @@ module Google
# @return [Google::Apis::CloudtasksV2beta2::PullMessage] # @return [Google::Apis::CloudtasksV2beta2::PullMessage]
attr_accessor :pull_message attr_accessor :pull_message
# Deprecated. Use PullMessage.
# Corresponds to the JSON property `pullTaskTarget`
# @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget]
attr_accessor :pull_task_target
# The time when the task is scheduled to be attempted. # The time when the task is scheduled to be attempted.
# For pull queues, this is the time when the task is available to # For pull queues, this is the time when the task is available to
# be leased; if a task is currently leased, this is the time when # be leased; if a task is currently leased, this is the time when
@ -1626,11 +1485,9 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request) @app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request)
@app_engine_task_target = args[:app_engine_task_target] if args.key?(:app_engine_task_target)
@create_time = args[:create_time] if args.key?(:create_time) @create_time = args[:create_time] if args.key?(:create_time)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@pull_message = args[:pull_message] if args.key?(:pull_message) @pull_message = args[:pull_message] if args.key?(:pull_message)
@pull_task_target = args[:pull_task_target] if args.key?(:pull_task_target)
@schedule_time = args[:schedule_time] if args.key?(:schedule_time) @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
@task_status = args[:task_status] if args.key?(:task_status) @task_status = args[:task_status] if args.key?(:task_status)
@view = args[:view] if args.key?(:view) @view = args[:view] if args.key?(:view)

View File

@ -40,24 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AppEngineQueueConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AppEngineRouting class AppEngineRouting
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AppEngineTaskTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttemptStatus class AttemptStatus
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -136,24 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PullQueueConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullTarget class PullTarget
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PullTaskTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PullTasksRequest class PullTasksRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -271,14 +247,6 @@ module Google
end end
end end
class AppEngineQueueConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_engine_routing_override, as: 'appEngineRoutingOverride', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation
end
end
class AppEngineRouting class AppEngineRouting
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -289,18 +257,6 @@ module Google
end end
end end
class AppEngineTaskTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_engine_routing, as: 'appEngineRouting', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation
hash :headers, as: 'headers'
property :http_method, as: 'httpMethod'
property :payload, :base64 => true, as: 'payload'
property :relative_url, as: 'relativeUrl'
end
end
class AttemptStatus class AttemptStatus
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -410,26 +366,12 @@ module Google
end end
end end
class PullQueueConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class PullTarget class PullTarget
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
end end
end end
class PullTaskTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :payload, :base64 => true, as: 'payload'
property :tag, :base64 => true, as: 'tag'
end
end
class PullTasksRequest class PullTasksRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -459,11 +401,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget::Representation property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget::Representation
property :app_engine_queue_config, as: 'appEngineQueueConfig', class: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig::Representation
property :name, as: 'name' property :name, as: 'name'
property :pull_queue_config, as: 'pullQueueConfig', class: Google::Apis::CloudtasksV2beta2::PullQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::PullQueueConfig::Representation
property :pull_target, as: 'pullTarget', class: Google::Apis::CloudtasksV2beta2::PullTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTarget::Representation property :pull_target, as: 'pullTarget', class: Google::Apis::CloudtasksV2beta2::PullTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTarget::Representation
property :purge_time, as: 'purgeTime' property :purge_time, as: 'purgeTime'
@ -540,14 +478,10 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :app_engine_http_request, as: 'appEngineHttpRequest', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest::Representation property :app_engine_http_request, as: 'appEngineHttpRequest', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest::Representation
property :app_engine_task_target, as: 'appEngineTaskTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget::Representation
property :create_time, as: 'createTime' property :create_time, as: 'createTime'
property :name, as: 'name' property :name, as: 'name'
property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation
property :pull_task_target, as: 'pullTaskTarget', class: Google::Apis::CloudtasksV2beta2::PullTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTaskTarget::Representation
property :schedule_time, as: 'scheduleTime' property :schedule_time, as: 'scheduleTime'
property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1 module DataprocV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171205' REVISION = '20171207'
# 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/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1beta2 module DataprocV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20171205' REVISION = '20171207'
# 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

@ -859,6 +859,12 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig] # @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig]
attr_accessor :managed_group_config attr_accessor :managed_group_config
# Optional. Specifies the minimum cpu platform for the Instance Group. Examples:
# * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform
# Corresponds to the JSON property `minCpuPlatform`
# @return [String]
attr_accessor :min_cpu_platform
# Optional. The number of VM instances in the instance group. For master # Optional. The number of VM instances in the instance group. For master
# instance groups, must be set to 1. # instance groups, must be set to 1.
# Corresponds to the JSON property `numInstances` # Corresponds to the JSON property `numInstances`
@ -878,6 +884,7 @@ module Google
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@num_instances = args[:num_instances] if args.key?(:num_instances) @num_instances = args[:num_instances] if args.key?(:num_instances)
end end
end end

View File

@ -551,6 +551,7 @@ module Google
property :machine_type_uri, as: 'machineTypeUri' property :machine_type_uri, as: 'machineTypeUri'
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1beta2::ManagedGroupConfig, decorator: Google::Apis::DataprocV1beta2::ManagedGroupConfig::Representation property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1beta2::ManagedGroupConfig, decorator: Google::Apis::DataprocV1beta2::ManagedGroupConfig::Representation
property :min_cpu_platform, as: 'minCpuPlatform'
property :num_instances, as: 'numInstances' property :num_instances, as: 'numInstances'
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/ # @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerAlpha module DeploymentmanagerAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20171102' REVISION = '20171201'
# 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

@ -279,7 +279,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerAlpha::Operation] # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
attr_accessor :operation attr_accessor :operation
@ -572,7 +576,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerAlpha::Operation] # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
attr_accessor :operation attr_accessor :operation
@ -1171,7 +1179,11 @@ module Google
end end
end end
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
class Operation class Operation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1697,6 +1709,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :properties attr_accessor :properties
# Output only. In case this is an action, it will show the runtimePolicies on
# which this action will run in the deployment
# Corresponds to the JSON property `runtimePolicies`
# @return [Array<String>]
attr_accessor :runtime_policies
# Output only. The type of the resource, for example compute.v1.instance, or # Output only. The type of the resource, for example compute.v1.instance, or
# cloudfunctions.v1beta1.function. # cloudfunctions.v1beta1.function.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
@ -1738,6 +1756,7 @@ module Google
@manifest = args[:manifest] if args.key?(:manifest) @manifest = args[:manifest] if args.key?(:manifest)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@properties = args[:properties] if args.key?(:properties) @properties = args[:properties] if args.key?(:properties)
@runtime_policies = args[:runtime_policies] if args.key?(:runtime_policies)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
@update = args[:update] if args.key?(:update) @update = args[:update] if args.key?(:update)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
@ -1873,6 +1892,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :properties attr_accessor :properties
# Output only. In case this is an action, it will show the runtimePolicies that
# this action will have after updating the deployment.
# Corresponds to the JSON property `runtimePolicies`
# @return [Array<String>]
attr_accessor :runtime_policies
# Output only. The state of the resource. # Output only. The state of the resource.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
@ -1897,6 +1922,7 @@ module Google
@intent = args[:intent] if args.key?(:intent) @intent = args[:intent] if args.key?(:intent)
@manifest = args[:manifest] if args.key?(:manifest) @manifest = args[:manifest] if args.key?(:manifest)
@properties = args[:properties] if args.key?(:properties) @properties = args[:properties] if args.key?(:properties)
@runtime_policies = args[:runtime_policies] if args.key?(:runtime_policies)
@state = args[:state] if args.key?(:state) @state = args[:state] if args.key?(:state)
@warnings = args[:warnings] if args.key?(:warnings) @warnings = args[:warnings] if args.key?(:warnings)
end end
@ -2273,7 +2299,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerAlpha::Operation] # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
attr_accessor :operation attr_accessor :operation
@ -2462,7 +2492,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerAlpha::Operation] # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
attr_accessor :operation attr_accessor :operation

View File

@ -872,6 +872,7 @@ module Google
property :manifest, as: 'manifest' property :manifest, as: 'manifest'
property :name, as: 'name' property :name, as: 'name'
property :properties, as: 'properties' property :properties, as: 'properties'
collection :runtime_policies, as: 'runtimePolicies'
property :type, as: 'type' property :type, as: 'type'
property :update, as: 'update', class: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate, decorator: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Representation property :update, as: 'update', class: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate, decorator: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Representation
@ -920,6 +921,7 @@ module Google
property :intent, as: 'intent' property :intent, as: 'intent'
property :manifest, as: 'manifest' property :manifest, as: 'manifest'
property :properties, as: 'properties' property :properties, as: 'properties'
collection :runtime_policies, as: 'runtimePolicies'
property :state, as: 'state' property :state, as: 'state'
collection :warnings, as: 'warnings', class: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning, decorator: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning::Representation collection :warnings, as: 'warnings', class: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning, decorator: Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/ # @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerV2 module DeploymentmanagerV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20170925' REVISION = '20171201'
# 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

@ -294,7 +294,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2::Operation] # @return [Google::Apis::DeploymentmanagerV2::Operation]
attr_accessor :operation attr_accessor :operation
@ -790,7 +794,11 @@ module Google
end end
end end
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
class Operation class Operation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1711,7 +1719,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2::Operation] # @return [Google::Apis::DeploymentmanagerV2::Operation]
attr_accessor :operation attr_accessor :operation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/deployment-manager/ # @see https://developers.google.com/deployment-manager/
module DeploymentmanagerV2beta module DeploymentmanagerV2beta
VERSION = 'V2beta' VERSION = 'V2beta'
REVISION = '20171102' REVISION = '20171201'
# 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

@ -292,7 +292,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2beta::Operation] # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
attr_accessor :operation attr_accessor :operation
@ -541,7 +545,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2beta::Operation] # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
attr_accessor :operation attr_accessor :operation
@ -1075,7 +1083,11 @@ module Google
end end
end end
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
class Operation class Operation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2116,7 +2128,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2beta::Operation] # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
attr_accessor :operation attr_accessor :operation
@ -2305,7 +2321,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# An Operation resource, used to manage asynchronous API requests. # An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
# Corresponds to the JSON property `operation` # Corresponds to the JSON property `operation`
# @return [Google::Apis::DeploymentmanagerV2beta::Operation] # @return [Google::Apis::DeploymentmanagerV2beta::Operation]
attr_accessor :operation attr_accessor :operation

View File

@ -1,40 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/dfareporting_v2_7/service.rb'
require 'google/apis/dfareporting_v2_7/classes.rb'
require 'google/apis/dfareporting_v2_7/representations.rb'
module Google
module Apis
# DCM/DFA Reporting And Trafficking API
#
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
#
# @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV2_7
VERSION = 'V2_7'
REVISION = '20171109'
# Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
# View and manage DoubleClick for Advertisers reports
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/ # @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1 module StreetviewpublishV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171101' REVISION = '20171207'
# Publish and manage your 360 photos on Google Street View # Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -363,6 +363,8 @@ module Google
# Connections to other photos. A connection represents the link from this # Connections to other photos. A connection represents the link from this
# photo to another photo. # photo to another photo.
# The maximum number of connections that can be set through an
# google.streetview.publish.v1.UpdatePhotoRequest is 10.
# Corresponds to the JSON property `connections` # Corresponds to the JSON property `connections`
# @return [Array<Google::Apis::StreetviewpublishV1::Connection>] # @return [Array<Google::Apis::StreetviewpublishV1::Connection>]
attr_accessor :connections attr_accessor :connections