diff --git a/api_names_out.yaml b/api_names_out.yaml index 141cf78e0..06656dcec 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8796,6 +8796,7 @@ "/bigquery:v2/JobStatistics2/statementType": statement_type "/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed "/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/JobStatistics2/totalSlotMs": total_slot_ms "/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters "/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter "/bigquery:v2/JobStatistics3": job_statistics3 @@ -13127,6 +13128,10 @@ "/cloudtasks:v2beta2/CreateTaskRequest/task": task "/cloudtasks:v2beta2/Empty": empty "/cloudtasks:v2beta2/GetIamPolicyRequest": get_iam_policy_request +"/cloudtasks:v2beta2/ListLocationsResponse": list_locations_response +"/cloudtasks:v2beta2/ListLocationsResponse/locations": locations +"/cloudtasks:v2beta2/ListLocationsResponse/locations/location": location +"/cloudtasks:v2beta2/ListLocationsResponse/nextPageToken": next_page_token "/cloudtasks:v2beta2/ListQueuesResponse": list_queues_response "/cloudtasks:v2beta2/ListQueuesResponse/nextPageToken": next_page_token "/cloudtasks:v2beta2/ListQueuesResponse/queues": queues @@ -13135,6 +13140,13 @@ "/cloudtasks:v2beta2/ListTasksResponse/nextPageToken": next_page_token "/cloudtasks:v2beta2/ListTasksResponse/tasks": tasks "/cloudtasks:v2beta2/ListTasksResponse/tasks/task": task +"/cloudtasks:v2beta2/Location": location +"/cloudtasks:v2beta2/Location/labels": labels +"/cloudtasks:v2beta2/Location/labels/label": label +"/cloudtasks:v2beta2/Location/locationId": location_id +"/cloudtasks:v2beta2/Location/metadata": metadata +"/cloudtasks:v2beta2/Location/metadata/metadatum": metadatum +"/cloudtasks:v2beta2/Location/name": name "/cloudtasks:v2beta2/PauseQueueRequest": pause_queue_request "/cloudtasks:v2beta2/Policy": policy "/cloudtasks:v2beta2/Policy/bindings": bindings @@ -13215,6 +13227,13 @@ "/cloudtasks:v2beta2/ThrottleConfig/maxBurstSize": max_burst_size "/cloudtasks:v2beta2/ThrottleConfig/maxOutstandingTasks": max_outstanding_tasks "/cloudtasks:v2beta2/ThrottleConfig/maxTasksDispatchedPerSecond": max_tasks_dispatched_per_second +"/cloudtasks:v2beta2/cloudtasks.projects.locations.get": get_project_location +"/cloudtasks:v2beta2/cloudtasks.projects.locations.get/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.list": list_project_locations +"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/filter": filter +"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/name": name +"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/pageSize": page_size +"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/pageToken": page_token "/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create": create_project_location_queue "/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create/parent": parent "/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.delete": delete_project_location_queue @@ -52886,6 +52905,7 @@ "/sourcerepo:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member "/sourcerepo:v1/AuditLogConfig/logType": log_type "/sourcerepo:v1/Binding": binding +"/sourcerepo:v1/Binding/condition": condition "/sourcerepo:v1/Binding/members": members "/sourcerepo:v1/Binding/members/member": member "/sourcerepo:v1/Binding/role": role @@ -52904,6 +52924,11 @@ "/sourcerepo:v1/CounterOptions/metric": metric "/sourcerepo:v1/DataAccessOptions": data_access_options "/sourcerepo:v1/Empty": empty +"/sourcerepo:v1/Expr": expr +"/sourcerepo:v1/Expr/description": description +"/sourcerepo:v1/Expr/expression": expression +"/sourcerepo:v1/Expr/location": location +"/sourcerepo:v1/Expr/title": title "/sourcerepo:v1/ListReposResponse": list_repos_response "/sourcerepo:v1/ListReposResponse/nextPageToken": next_page_token "/sourcerepo:v1/ListReposResponse/repos": repos diff --git a/generated/google/apis/adexchangebuyer_v1_3/service.rb b/generated/google/apis/adexchangebuyer_v1_3/service.rb index 0eca56062..29d0e79cc 100644 --- a/generated/google/apis/adexchangebuyer_v1_3/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_3/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangebuyer/v1.3/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangebuyer/v1.3' end # Gets one account by ID. diff --git a/generated/google/apis/adexchangeseller_v1/service.rb b/generated/google/apis/adexchangeseller_v1/service.rb index 64218dccb..276159211 100644 --- a/generated/google/apis/adexchangeseller_v1/service.rb +++ b/generated/google/apis/adexchangeseller_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangeseller/v1/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangeseller/v1' end # List all ad clients in this Ad Exchange account. diff --git a/generated/google/apis/adexchangeseller_v1_1/service.rb b/generated/google/apis/adexchangeseller_v1_1/service.rb index aa3003ef5..2ca70336c 100644 --- a/generated/google/apis/adexchangeseller_v1_1/service.rb +++ b/generated/google/apis/adexchangeseller_v1_1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangeseller/v1.1/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangeseller/v1.1' end # Get information about the selected Ad Exchange account. diff --git a/generated/google/apis/adexchangeseller_v2_0/service.rb b/generated/google/apis/adexchangeseller_v2_0/service.rb index 87cc8dc32..691eea0ad 100644 --- a/generated/google/apis/adexchangeseller_v2_0/service.rb +++ b/generated/google/apis/adexchangeseller_v2_0/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangeseller/v2.0/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangeseller/v2.0' end # Get information about the selected Ad Exchange account. diff --git a/generated/google/apis/admin_datatransfer_v1/service.rb b/generated/google/apis/admin_datatransfer_v1/service.rb index 1334df466..9a038964e 100644 --- a/generated/google/apis/admin_datatransfer_v1/service.rb +++ b/generated/google/apis/admin_datatransfer_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/datatransfer/v1/') - @batch_path = 'batch' + @batch_path = 'batch/admin/datatransfer_v1' end # Retrieves information about an application for the given application ID. diff --git a/generated/google/apis/admin_directory_v1/service.rb b/generated/google/apis/admin_directory_v1/service.rb index 5cbfa70f3..aad0129d9 100644 --- a/generated/google/apis/admin_directory_v1/service.rb +++ b/generated/google/apis/admin_directory_v1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/directory/v1/') - @batch_path = 'batch' + @batch_path = 'batch/admin/directory_v1' end # Delete an ASP issued by a user. diff --git a/generated/google/apis/adsense_v1_4/service.rb b/generated/google/apis/adsense_v1_4/service.rb index 7c1dd297c..b95610459 100644 --- a/generated/google/apis/adsense_v1_4/service.rb +++ b/generated/google/apis/adsense_v1_4/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adsense/v1.4/') - @batch_path = 'batch' + @batch_path = 'batch/adsense/v1.4' end # Get information about the selected AdSense account. diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 65ca26764..695c9361d 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20170910' + REVISION = '20170912' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/adsensehost_v4_1/service.rb b/generated/google/apis/adsensehost_v4_1/service.rb index fba3eb21d..27fd7ddd0 100644 --- a/generated/google/apis/adsensehost_v4_1/service.rb +++ b/generated/google/apis/adsensehost_v4_1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adsensehost/v4.1/') - @batch_path = 'batch' + @batch_path = 'batch/adsensehost/v4.1' end # Get information about the selected associated AdSense account. diff --git a/generated/google/apis/analytics_v2_4/service.rb b/generated/google/apis/analytics_v2_4/service.rb index 8f1ee5145..e3c5fabf4 100644 --- a/generated/google/apis/analytics_v2_4/service.rb +++ b/generated/google/apis/analytics_v2_4/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'analytics/v2.4/') - @batch_path = 'batch' + @batch_path = 'batch/analytics/v2.4' end # Returns Analytics report data for a view (profile). diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index a2b87aa80..547619e57 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'analytics/v3/') - @batch_path = 'batch/analytics/v3' + @batch_path = 'batch' end # Returns Analytics data for a view (profile). diff --git a/generated/google/apis/appsactivity_v1/service.rb b/generated/google/apis/appsactivity_v1/service.rb index e24fb3ccb..4bd2e12c2 100644 --- a/generated/google/apis/appsactivity_v1/service.rb +++ b/generated/google/apis/appsactivity_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'appsactivity/v1/') - @batch_path = 'batch' + @batch_path = 'batch/appsactivity/v1' end # Returns a list of activities visible to the current logged in user. Visible diff --git a/generated/google/apis/appsmarket_v2/service.rb b/generated/google/apis/appsmarket_v2/service.rb index af9f43496..0e94318cd 100644 --- a/generated/google/apis/appsmarket_v2/service.rb +++ b/generated/google/apis/appsmarket_v2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'appsmarket/v2/') - @batch_path = 'batch' + @batch_path = 'batch/appsmarket/v2' end # diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index bbe688f41..b7ce84b17 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20170831' + REVISION = '20170911' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/appstate_v1/service.rb b/generated/google/apis/appstate_v1/service.rb index cc3d30010..875eed341 100644 --- a/generated/google/apis/appstate_v1/service.rb +++ b/generated/google/apis/appstate_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'appstate/v1/') - @batch_path = 'batch' + @batch_path = 'batch/appstate/v1' end # Clears (sets to empty) the data for the passed key if and only if the passed diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 862193c47..897fed214 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20170903' + REVISION = '20170910' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index a9cac2376..9db21763d 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1985,6 +1985,11 @@ module Google # @return [Fixnum] attr_accessor :total_bytes_processed + # [Output-only] Slot-milliseconds for the job. + # Corresponds to the JSON property `totalSlotMs` + # @return [Fixnum] + attr_accessor :total_slot_ms + # [Output-only, Experimental] Standard SQL only: list of undeclared query # parameters detected during a dry run validation. # Corresponds to the JSON property `undeclaredQueryParameters` @@ -2006,6 +2011,7 @@ module Google @statement_type = args[:statement_type] if args.key?(:statement_type) @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) + @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) @undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters) end end diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 291f5876c..6dabba657 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -809,6 +809,7 @@ module Google property :statement_type, as: 'statementType' property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled' property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' + property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs' collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation end diff --git a/generated/google/apis/blogger_v2/service.rb b/generated/google/apis/blogger_v2/service.rb index 9e4bc56a5..8d35c7fa9 100644 --- a/generated/google/apis/blogger_v2/service.rb +++ b/generated/google/apis/blogger_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'blogger/v2/') - @batch_path = 'batch' + @batch_path = 'batch/blogger/v2' end # Gets one blog by id. diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index e06abf622..f70cd2d7b 100644 --- a/generated/google/apis/calendar_v3.rb +++ b/generated/google/apis/calendar_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/calendar/firstapp module CalendarV3 VERSION = 'V3' - REVISION = '20170903' + REVISION = '20170905' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb index 830788eae..b17562f4f 100644 --- a/generated/google/apis/calendar_v3/service.rb +++ b/generated/google/apis/calendar_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'calendar/v3/') - @batch_path = 'batch' + @batch_path = 'batch/calendar/v3' end # Deletes an access control rule. diff --git a/generated/google/apis/cloudmonitoring_v2beta2/service.rb b/generated/google/apis/cloudmonitoring_v2beta2/service.rb index 077df06e5..5d0b53e79 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2/service.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'cloudmonitoring/v2beta2/projects/') - @batch_path = 'batch/cloudmonitoring/v2beta2' + @batch_path = 'batch' end # Create a new metric. diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index df215b4c5..6b128b3b0 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -20,13 +20,13 @@ module Google module Apis # Cloud Tasks API # - # Cloud Tasks enables developers to manage the execution of large numbers of - # distributed requests. Cloud Tasks is in Alpha. + # Manages the execution of large numbers of distributed requests. Cloud Tasks is + # in Alpha. # # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20170912' + REVISION = '20170915' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 7ecff9a06..d57649359 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -354,38 +354,7 @@ module Google end end - # App Engine task target. - # An App Engine task is a task that has AppEngineTaskTarget set. - # This proto can only be used for tasks in a queue which has - # Queue.app_engine_queue_config set. - # Using this type of task target requires - # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) - # Google IAM permission for the project - # and the following scope: - # `https://www.googleapis.com/auth/cloud-platform` - # The task will be delivered to the URL specified by the - # AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app - # which belongs to the same project as the queue. For more information, see - # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- - # routed) - # and how routing is affected by - # [dispatch files](/appengine/docs/python/config/dispatchref). - # The AppEngineRouting used to construct the URL can be set at - # the queue-level or task-level: - # * If set, AppEngineQueueConfig.app_engine_routing_override is used for - # all tasks in the queue, no matter what the setting is for the - # task-level app_engine_routing. - # The `url` that the task will be sent to is: - # * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url - # The task will be sent to a task handler by an HTTP - # request using the specified AppEngineTaskTarget.http_method (for example - # POST, HTTP GET, etc). The task attempt has succeeded if the task handler - # returns an HTTP response code in the range [200 - 299]. Error 503 is - # considered an App Engine system error instead of an application error. - # Requests returning error 503 will be retried regardless of retry - # configuration and not counted against retry counts. - # Any other response code or a failure to receive a response before the - # deadline is a failed attempt. + # Deprecated. Use AppEngineHttpRequest. class AppEngineTaskTarget include Google::Apis::Core::Hashable @@ -402,69 +371,23 @@ module Google # @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting] attr_accessor :app_engine_routing - # HTTP request headers. - # This map contains the header field names and values. - # Headers can be set when the - # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). - # Repeated headers are not supported but a header value can contain commas. - # Cloud Tasks sets some headers to default values: - # * `User-Agent`: By default, this header is - # `"AppEngine-Google; (+http://code.google.com/appengine)"`. - # This header can be modified, but Cloud Tasks will append - # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the - # modified `User-Agent`. - # If the task has an AppEngineTaskTarget.payload, Cloud Tasks sets the - # following headers: - # * `Content-Type`: By default, the `Content-Type` header is set to - # `"application/octet-stream"`. The default can be overridden by explictly - # setting `Content-Type` to a particular media type when the - # [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). - # For example, `Content-Type` can be set to `"application/json"`. - # * `Content-Length`: This is computed by Cloud Tasks. This value is - # output only. It cannot be changed. - # The headers below cannot be set or overridden: - # * `Host` - # * `X-Google-*` - # * `X-AppEngine-*` - # In addition, some App Engine headers, which contain - # task-specific information, are also be sent to the task handler; see - # [request headers](/appengine/docs/python/taskqueue/push/creating-handlers# - # reading_request_headers). + # Deprecated. Use AppEngineHttpRequest.headers. # Corresponds to the JSON property `headers` # @return [Hash] attr_accessor :headers - # The HTTP method to use for the request. The default is POST. - # The app's request handler for the task's target URL must be able to handle - # HTTP requests with this http_method, otherwise the task attempt will fail - # with error code 405 "Method Not Allowed" because "the method specified in - # the Request-Line is not allowed for the resource identified by the - # Request-URI". See - # [Writing a push task request handler](/appengine/docs/java/taskqueue/push/ - # creating-handlers#writing_a_push_task_request_handler) - # and the documentation for the request handlers in the language your app is - # written in e.g. - # [python RequestHandler](/appengine/docs/python/tools/webapp/ - # requesthandlerclass). + # Deprecated. Use AppEngineHttpRequest.http_method. # Corresponds to the JSON property `httpMethod` # @return [String] attr_accessor :http_method - # Payload. - # The payload will be sent as the HTTP message body. A message - # body, and thus a payload, is allowed only if the HTTP method is - # POST or PUT. It is an error to set a data payload on a task with - # an incompatible HttpMethod. + # 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 - # The relative URL. - # The relative URL must begin with "/" and must be a valid HTTP relative URL. - # It can contain a path, query string arguments, and `#` fragments. - # If the relative URL is empty, then the root path "/" will be used. - # No spaces are allowed, and the maximum length allowed is 2083 characters. + # Deprecated. Use AppEngineHttpRequest.relative_url. # Corresponds to the JSON property `relativeUrl` # @return [String] attr_accessor :relative_url @@ -709,6 +632,31 @@ module Google end end + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for CloudTasks.ListQueues. class ListQueuesResponse include Google::Apis::Core::Hashable @@ -770,6 +718,46 @@ module Google end end + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + # Request message for CloudTasks.PauseQueue. class PauseQueueRequest include Google::Apis::Core::Hashable @@ -908,23 +896,17 @@ module Google end end - # Pull task target. - # A pull task is a task that has PullTaskTarget set. - # This proto can only be used for tasks in a queue which has - # Queue.pull_queue_config set. + # Deprecated. Use PullMessage. class PullTaskTarget include Google::Apis::Core::Hashable - # A data payload consumed by the task worker to execute the task. + # 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 - # A meta-data tag for this task. - # This value is used by CloudTasks.PullTasks calls when - # PullTasksRequest.filter is `tag=`. - # The tag must be less than 500 bytes. + # Deprecated. Use PullMessage.tag. # Corresponds to the JSON property `tag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -948,7 +930,7 @@ module Google # `filter` can be used to specify a subset of tasks to lease. # When `filter` is set to `tag=` then the # PullTasksResponse will contain only tasks whose - # PullTaskTarget.tag is equal to ``. `` can be + # PullMessage.tag is equal to ``. `` can be # a bytes encoded as a string and must be less than 500 bytes. # If `` includes whitespace or special characters (characters which # aren't letters, numbers, or underscores), then it must be double-quoted. @@ -1489,38 +1471,7 @@ module Google # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest] attr_accessor :app_engine_http_request - # App Engine task target. - # An App Engine task is a task that has AppEngineTaskTarget set. - # This proto can only be used for tasks in a queue which has - # Queue.app_engine_queue_config set. - # Using this type of task target requires - # [`appengine.applications.get`](/appengine/docs/admin-api/access-control) - # Google IAM permission for the project - # and the following scope: - # `https://www.googleapis.com/auth/cloud-platform` - # The task will be delivered to the URL specified by the - # AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app - # which belongs to the same project as the queue. For more information, see - # [How Requests are Routed](/appengine/docs/standard/python/how-requests-are- - # routed) - # and how routing is affected by - # [dispatch files](/appengine/docs/python/config/dispatchref). - # The AppEngineRouting used to construct the URL can be set at - # the queue-level or task-level: - # * If set, AppEngineQueueConfig.app_engine_routing_override is used for - # all tasks in the queue, no matter what the setting is for the - # task-level app_engine_routing. - # The `url` that the task will be sent to is: - # * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url - # The task will be sent to a task handler by an HTTP - # request using the specified AppEngineTaskTarget.http_method (for example - # POST, HTTP GET, etc). The task attempt has succeeded if the task handler - # returns an HTTP response code in the range [200 - 299]. Error 503 is - # considered an App Engine system error instead of an application error. - # Requests returning error 503 will be retried regardless of retry - # configuration and not counted against retry counts. - # Any other response code or a failure to receive a response before the - # deadline is a failed attempt. + # Deprecated. Use AppEngineHttpRequest. # Corresponds to the JSON property `appEngineTaskTarget` # @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget] attr_accessor :app_engine_task_target @@ -1559,10 +1510,7 @@ module Google # @return [Google::Apis::CloudtasksV2beta2::PullMessage] attr_accessor :pull_message - # Pull task target. - # A pull task is a task that has PullTaskTarget set. - # This proto can only be used for tasks in a queue which has - # Queue.pull_queue_config set. + # Deprecated. Use PullMessage. # Corresponds to the JSON property `pullTaskTarget` # @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget] attr_accessor :pull_task_target @@ -1716,7 +1664,7 @@ module Google # [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref# # bucket_size). # Corresponds to the JSON property `maxBurstSize` - # @return [Float] + # @return [Fixnum] attr_accessor :max_burst_size # The maximum number of outstanding tasks that Cloud Tasks allows diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb index 9f5a5d509..d2f57defe 100644 --- a/generated/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -94,6 +94,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListQueuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -106,6 +112,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PauseQueueRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -337,6 +349,15 @@ module Google end end + class ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::CloudtasksV2beta2::Location, decorator: Google::Apis::CloudtasksV2beta2::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListQueuesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -355,6 +376,16 @@ module Google end end + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + property :name, as: 'name' + end + end + class PauseQueueRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index 72325c6aa..ac810e14d 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -22,8 +22,8 @@ module Google module CloudtasksV2beta2 # Cloud Tasks API # - # Cloud Tasks enables developers to manage the execution of large numbers of - # distributed requests. Cloud Tasks is in Alpha. + # Manages the execution of large numbers of distributed requests. Cloud Tasks is + # in Alpha. # # @example # require 'google/apis/cloudtasks_v2beta2' @@ -48,6 +48,75 @@ module Google @batch_path = 'batch' end + # Get information about a location. + # @param [String] name + # Resource name for the location. + # @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::CloudtasksV2beta2::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::Location] + # + # @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_project_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::Location::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::Location + 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 information about the supported locations for this service. + # @param [String] name + # The resource that owns the locations collection, if applicable. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @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::CloudtasksV2beta2::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudtasksV2beta2::ListLocationsResponse] + # + # @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_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta2/{+name}/locations', options) + command.response_representation = Google::Apis::CloudtasksV2beta2::ListLocationsResponse::Representation + command.response_class = Google::Apis::CloudtasksV2beta2::ListLocationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a queue. # WARNING: This method is only available to whitelisted # users. Using this method carries some risk. Read @@ -740,7 +809,7 @@ module Google # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` # @param [String] order_by # Sort order used for the query. The fields supported for sorting - # are Task.schedule_time and PullTaskTarget.tag. All results will be + # are Task.schedule_time and PullMessage.tag. All results will be # returned in ascending order. The default ordering is by # Task.schedule_time. # @param [Fixnum] page_size diff --git a/generated/google/apis/clouduseraccounts_vm_beta/service.rb b/generated/google/apis/clouduseraccounts_vm_beta/service.rb index eb3993699..801952c94 100644 --- a/generated/google/apis/clouduseraccounts_vm_beta/service.rb +++ b/generated/google/apis/clouduseraccounts_vm_beta/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'clouduseraccounts/vm_beta/projects/') - @batch_path = 'batch' + @batch_path = 'batch/clouduseraccounts/vm_beta' end # Deletes the specified operation resource. diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index cc7d54aff..8c858a543 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'compute/beta/projects/') - @batch_path = 'batch' + @batch_path = 'batch/compute/beta' end # Retrieves an aggregated list of accelerator types. diff --git a/generated/google/apis/consumersurveys_v2/service.rb b/generated/google/apis/consumersurveys_v2/service.rb index 5fdeccd21..0c3214e87 100644 --- a/generated/google/apis/consumersurveys_v2/service.rb +++ b/generated/google/apis/consumersurveys_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'consumersurveys/v2/') - @batch_path = 'batch' + @batch_path = 'batch/consumersurveys/v2' end # Retrieves a MobileAppPanel that is available to the authenticated user. diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 241601615..5dd59ce3a 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20170912' + REVISION = '20170914' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/customsearch_v1/service.rb b/generated/google/apis/customsearch_v1/service.rb index 340cbbe8d..2cb48d6b4 100644 --- a/generated/google/apis/customsearch_v1/service.rb +++ b/generated/google/apis/customsearch_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'customsearch/') - @batch_path = 'batch' + @batch_path = 'batch/customsearch/v1' end # Returns metadata about the search performed, metadata about the custom search diff --git a/generated/google/apis/dfareporting_v2_7/service.rb b/generated/google/apis/dfareporting_v2_7/service.rb index 7e32aaf59..49ed32b78 100644 --- a/generated/google/apis/dfareporting_v2_7/service.rb +++ b/generated/google/apis/dfareporting_v2_7/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dfareporting/v2.7/') - @batch_path = 'batch' + @batch_path = 'batch/dfareporting/v2.7' end # Gets the account's active ad summary by account ID. diff --git a/generated/google/apis/dfareporting_v2_8/service.rb b/generated/google/apis/dfareporting_v2_8/service.rb index ada3fe457..a7626c9df 100644 --- a/generated/google/apis/dfareporting_v2_8/service.rb +++ b/generated/google/apis/dfareporting_v2_8/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dfareporting/v2.8/') - @batch_path = 'batch' + @batch_path = 'batch/dfareporting/v2.8' end # Gets the account's active ad summary by account ID. diff --git a/generated/google/apis/discovery_v1/service.rb b/generated/google/apis/discovery_v1/service.rb index 8f19cf166..aeab4e037 100644 --- a/generated/google/apis/discovery_v1/service.rb +++ b/generated/google/apis/discovery_v1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'discovery/v1/') - @batch_path = 'batch' + @batch_path = 'batch/discovery/v1' end # Retrieve the description of a particular version of an api. diff --git a/generated/google/apis/doubleclickbidmanager_v1/service.rb b/generated/google/apis/doubleclickbidmanager_v1/service.rb index 95246a237..b3eae1db0 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/') - @batch_path = 'batch' + @batch_path = 'batch/doubleclickbidmanager/v1' end # Retrieves line items in CSV format. diff --git a/generated/google/apis/fusiontables_v1/service.rb b/generated/google/apis/fusiontables_v1/service.rb index 632c4f1ed..339c41d1b 100644 --- a/generated/google/apis/fusiontables_v1/service.rb +++ b/generated/google/apis/fusiontables_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'fusiontables/v1/') - @batch_path = 'batch' + @batch_path = 'batch/fusiontables/v1' end # Deletes the column. diff --git a/generated/google/apis/fusiontables_v2/service.rb b/generated/google/apis/fusiontables_v2/service.rb index dac88977f..79bf68f27 100644 --- a/generated/google/apis/fusiontables_v2/service.rb +++ b/generated/google/apis/fusiontables_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'fusiontables/v2/') - @batch_path = 'batch' + @batch_path = 'batch/fusiontables/v2' end # Deletes the specified column. diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index f6728f0bd..edaf7467d 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20170911' + REVISION = '20170912' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 514a5d928..a8c161a85 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20170831' + REVISION = '20170911' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_management_v1management/service.rb b/generated/google/apis/games_management_v1management/service.rb index a6f18a1d0..ab7c6c409 100644 --- a/generated/google/apis/games_management_v1management/service.rb +++ b/generated/google/apis/games_management_v1management/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1management/') - @batch_path = 'batch' + @batch_path = 'batch/gamesManagement/v1management' end # Resets the achievement with the given ID for the currently authenticated diff --git a/generated/google/apis/games_v1/service.rb b/generated/google/apis/games_v1/service.rb index 2765d08ec..07d580f56 100644 --- a/generated/google/apis/games_v1/service.rb +++ b/generated/google/apis/games_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1/') - @batch_path = 'batch' + @batch_path = 'batch/games/v1' end # Lists all the achievement definitions for your application. diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index 5d0d38278..1ca8bd8e0 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20170905' + REVISION = '20170913' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb index 29fa1ed61..3b9dd0b6e 100644 --- a/generated/google/apis/gmail_v1/classes.rb +++ b/generated/google/apis/gmail_v1/classes.rb @@ -485,13 +485,6 @@ module Google class Label include Google::Apis::Core::Hashable - # Color to assign to the label. This field is hidden behind an API server mendel - # experiment and only available for user-defined labels. Will be unset if the - # label doesn't have a color configured. - # Corresponds to the JSON property `color` - # @return [Google::Apis::GmailV1::LabelColor] - attr_accessor :color - # The immutable ID of the label. # Corresponds to the JSON property `id` # @return [String] @@ -550,7 +543,6 @@ module Google # Update properties of this object def update!(**args) - @color = args[:color] if args.key?(:color) @id = args[:id] if args.key?(:id) @label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility) @message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility) @@ -563,34 +555,6 @@ module Google end end - # - class LabelColor - include Google::Apis::Core::Hashable - - # Background color represented as hex string #RRGGBB (ex #000000). Only a - # restricted predefined set of color values are allowed. See (go/gmail-api-label- - # colors). - # Corresponds to the JSON property `backgroundColor` - # @return [String] - attr_accessor :background_color - - # Text color represented as hex string #RRGGBB (ex #000000). Only a restricted - # predefined set of color values are allowed. See (go/gmail-api-label-colors). - # Corresponds to the JSON property `textColor` - # @return [String] - attr_accessor :text_color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @background_color = args[:background_color] if args.key?(:background_color) - @text_color = args[:text_color] if args.key?(:text_color) - end - end - # class ListDraftsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/gmail_v1/representations.rb b/generated/google/apis/gmail_v1/representations.rb index 235799c44..98a19abf0 100644 --- a/generated/google/apis/gmail_v1/representations.rb +++ b/generated/google/apis/gmail_v1/representations.rb @@ -112,12 +112,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LabelColor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListDraftsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -403,8 +397,6 @@ module Google class Label # @private class Representation < Google::Apis::Core::JsonRepresentation - property :color, as: 'color', class: Google::Apis::GmailV1::LabelColor, decorator: Google::Apis::GmailV1::LabelColor::Representation - property :id, as: 'id' property :label_list_visibility, as: 'labelListVisibility' property :message_list_visibility, as: 'messageListVisibility' @@ -417,14 +409,6 @@ module Google end end - class LabelColor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :background_color, as: 'backgroundColor' - property :text_color, as: 'textColor' - end - end - class ListDraftsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/gmail_v1/service.rb b/generated/google/apis/gmail_v1/service.rb index 145e01579..7b5ca7da3 100644 --- a/generated/google/apis/gmail_v1/service.rb +++ b/generated/google/apis/gmail_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'gmail/v1/users/') - @batch_path = 'batch' + @batch_path = 'batch/gmail/v1' end # Gets the current user's Gmail profile. diff --git a/generated/google/apis/groupssettings_v1/service.rb b/generated/google/apis/groupssettings_v1/service.rb index 8735114de..33070cf55 100644 --- a/generated/google/apis/groupssettings_v1/service.rb +++ b/generated/google/apis/groupssettings_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'groups/v1/groups/') - @batch_path = 'batch' + @batch_path = 'batch/groupssettings/v1' end # Gets one resource by id. diff --git a/generated/google/apis/mirror_v1/service.rb b/generated/google/apis/mirror_v1/service.rb index 32ea9079b..9ce4ee511 100644 --- a/generated/google/apis/mirror_v1/service.rb +++ b/generated/google/apis/mirror_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'mirror/v1/') - @batch_path = 'batch' + @batch_path = 'batch/mirror/v1' end # Inserts a new account for a user diff --git a/generated/google/apis/pagespeedonline_v1/service.rb b/generated/google/apis/pagespeedonline_v1/service.rb index f23c97603..afca863f1 100644 --- a/generated/google/apis/pagespeedonline_v1/service.rb +++ b/generated/google/apis/pagespeedonline_v1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'pagespeedonline/v1/') - @batch_path = 'batch' + @batch_path = 'batch/pagespeedonline/v1' end # Runs PageSpeed analysis on the page at the specified URL, and returns a diff --git a/generated/google/apis/pagespeedonline_v2/service.rb b/generated/google/apis/pagespeedonline_v2/service.rb index 70d7149be..b17321b74 100644 --- a/generated/google/apis/pagespeedonline_v2/service.rb +++ b/generated/google/apis/pagespeedonline_v2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'pagespeedonline/v2/') - @batch_path = 'batch' + @batch_path = 'batch/pagespeedonline/v2' end # Runs PageSpeed analysis on the page at the specified URL, and returns diff --git a/generated/google/apis/prediction_v1_2/service.rb b/generated/google/apis/prediction_v1_2/service.rb index 2b21da72c..52d0314ec 100644 --- a/generated/google/apis/prediction_v1_2/service.rb +++ b/generated/google/apis/prediction_v1_2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.2/') - @batch_path = 'batch' + @batch_path = 'batch/prediction/v1.2' end # Submit data and request a prediction diff --git a/generated/google/apis/prediction_v1_3/service.rb b/generated/google/apis/prediction_v1_3/service.rb index 7d16c4c18..c4a63148e 100644 --- a/generated/google/apis/prediction_v1_3/service.rb +++ b/generated/google/apis/prediction_v1_3/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.3/') - @batch_path = 'batch' + @batch_path = 'batch/prediction/v1.3' end # Submit input and request an output against a hosted model diff --git a/generated/google/apis/prediction_v1_4/service.rb b/generated/google/apis/prediction_v1_4/service.rb index e9335e069..42b8461b6 100644 --- a/generated/google/apis/prediction_v1_4/service.rb +++ b/generated/google/apis/prediction_v1_4/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.4/') - @batch_path = 'batch' + @batch_path = 'batch/prediction/v1.4' end # Submit input and request an output against a hosted model. diff --git a/generated/google/apis/prediction_v1_5/service.rb b/generated/google/apis/prediction_v1_5/service.rb index 39c0b23b6..f08b29a44 100644 --- a/generated/google/apis/prediction_v1_5/service.rb +++ b/generated/google/apis/prediction_v1_5/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.5/') - @batch_path = 'batch' + @batch_path = 'batch/prediction/v1.5' end # Submit input and request an output against a hosted model. diff --git a/generated/google/apis/replicapool_v1beta1/service.rb b/generated/google/apis/replicapool_v1beta1/service.rb index 76f6b9e4d..6d18d8519 100644 --- a/generated/google/apis/replicapool_v1beta1/service.rb +++ b/generated/google/apis/replicapool_v1beta1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'replicapool/v1beta1/projects/') - @batch_path = 'batch' + @batch_path = 'batch/replicapool/v1beta1' end # Deletes a replica pool. diff --git a/generated/google/apis/replicapool_v1beta2/service.rb b/generated/google/apis/replicapool_v1beta2/service.rb index d6d9a63e1..b8d17a67c 100644 --- a/generated/google/apis/replicapool_v1beta2/service.rb +++ b/generated/google/apis/replicapool_v1beta2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/') - @batch_path = 'batch' + @batch_path = 'batch/replicapool/v1beta2' end # Removes the specified instances from the managed instance group, and from any diff --git a/generated/google/apis/replicapoolupdater_v1beta1/service.rb b/generated/google/apis/replicapoolupdater_v1beta1/service.rb index 8a4575663..21294b2e7 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/service.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/service.rb @@ -52,7 +52,7 @@ module Google def initialize super('https://www.googleapis.com/', 'replicapoolupdater/v1beta1/projects/') - @batch_path = 'batch' + @batch_path = 'batch/replicapoolupdater/v1beta1' end # Cancels an update. The update must be PAUSED before it can be cancelled. This diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index 1f40cd3a0..0293180ab 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'apps/reseller/v1/') - @batch_path = 'batch' + @batch_path = 'batch/reseller/v1' end # Get a customer account. diff --git a/generated/google/apis/site_verification_v1/service.rb b/generated/google/apis/site_verification_v1/service.rb index 77a29efea..9ac9ffac4 100644 --- a/generated/google/apis/site_verification_v1/service.rb +++ b/generated/google/apis/site_verification_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'siteVerification/v1/') - @batch_path = 'batch' + @batch_path = 'batch/siteVerification/v1' end # Relinquish ownership of a website or domain. diff --git a/generated/google/apis/sourcerepo_v1.rb b/generated/google/apis/sourcerepo_v1.rb index 94214fcf7..0730c4e7f 100644 --- a/generated/google/apis/sourcerepo_v1.rb +++ b/generated/google/apis/sourcerepo_v1.rb @@ -25,11 +25,14 @@ module Google # @see https://cloud.google.com/source-repositories/docs/apis module SourcerepoV1 VERSION = 'V1' - REVISION = '20170528' + REVISION = '20170908' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Manage your source code repositories + AUTH_SOURCE_FULL_CONTROL = 'https://www.googleapis.com/auth/source.full_control' + # View the contents of your source code repositories AUTH_SOURCE_READ_ONLY = 'https://www.googleapis.com/auth/source.read_only' diff --git a/generated/google/apis/sourcerepo_v1/classes.rb b/generated/google/apis/sourcerepo_v1/classes.rb index cba57dc81..e50ab92bb 100644 --- a/generated/google/apis/sourcerepo_v1/classes.rb +++ b/generated/google/apis/sourcerepo_v1/classes.rb @@ -149,6 +149,14 @@ module Google class Binding include Google::Apis::Core::Hashable + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SourcerepoV1::Expr] + attr_accessor :condition + # Specifies the identities requesting access for a Cloud Platform resource. # `members` can have the following values: # * `allUsers`: A special identifier that represents anyone who is @@ -180,118 +188,12 @@ module Google # Update properties of this object def update!(**args) + @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end end - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - # The log_name to populate in the Cloud Audit Record. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - end - end - - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # Trusted attributes supplied by any service that owns resources and uses - # the IAM system for access control. - # Corresponds to the JSON property `sys` - # @return [String] - attr_accessor :sys - - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @iam = args[:iam] if args.key?(:iam) - @op = args[:op] if args.key?(:op) - @svc = args[:svc] if args.key?(:svc) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field = args[:field] if args.key?(:field) - @metric = args[:metric] if args.key?(:metric) - end - end - - # Write a Data Access (Gin) log - class DataAccessOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -311,6 +213,53 @@ module Google end end + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + # Response for ListRepos. The size is not set in the returned repositories. class ListReposResponse include Google::Apis::Core::Hashable @@ -338,37 +287,6 @@ module Google end end - # Specifies what kind of log the caller must write - class LogConfig - include Google::Apis::Core::Hashable - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::SourcerepoV1::CloudAuditOptions] - attr_accessor :cloud_audit - - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::SourcerepoV1::CounterOptions] - attr_accessor :counter - - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::SourcerepoV1::DataAccessOptions] - attr_accessor :data_access - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) - @counter = args[:counter] if args.key?(:counter) - @data_access = args[:data_access] if args.key?(:data_access) - end - end - # Configuration to automatically mirror a repository from another # hosting service, for example GitHub or BitBucket. class MirrorConfig @@ -441,7 +359,6 @@ module Google attr_accessor :audit_configs # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` # @return [Array] @@ -467,19 +384,6 @@ module Google attr_accessor :iam_owned alias_method :iam_owned?, :iam_owned - # If more than one rule is specified, the rules are applied in the following - # manner: - # - All matching LOG rules are always applied. - # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is - # granted. - # Logging will be applied if one or more matching rule requires logging. - # - Otherwise, if no rule applies, permission is denied. - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - # Version of the `Policy`. The default version is 0. # Corresponds to the JSON property `version` # @return [Fixnum] @@ -495,7 +399,6 @@ module Google @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - @rules = args[:rules] if args.key?(:rules) @version = args[:version] if args.key?(:version) end end @@ -541,68 +444,6 @@ module Google end end - # A rule to be applied in a Policy. - class Rule - include Google::Apis::Core::Hashable - - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # Additional restrictions that must be met - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # If one or more 'in' clauses are specified, the rule matches if - # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries - # that match the LOG action. - # Corresponds to the JSON property `logConfig` - # @return [Array] - attr_accessor :log_config - - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. - # The format for in and not_in entries is the same as for members in a - # Binding (see google/iam/v1/policy.proto). - # Corresponds to the JSON property `notIn` - # @return [Array] - attr_accessor :not_in - - # A permission is a string of form '..' - # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, - # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action = args[:action] if args.key?(:action) - @conditions = args[:conditions] if args.key?(:conditions) - @description = args[:description] if args.key?(:description) - @in = args[:in] if args.key?(:in) - @log_config = args[:log_config] if args.key?(:log_config) - @not_in = args[:not_in] if args.key?(:not_in) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - # Request message for `SetIamPolicy` method. class SetIamPolicyRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/sourcerepo_v1/representations.rb b/generated/google/apis/sourcerepo_v1/representations.rb index ec8cdc9ec..e0df8e83b 100644 --- a/generated/google/apis/sourcerepo_v1/representations.rb +++ b/generated/google/apis/sourcerepo_v1/representations.rb @@ -40,43 +40,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CloudAuditOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Condition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataAccessOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListReposResponse + class Expr class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogConfig + class ListReposResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,12 +76,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Rule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -145,50 +115,29 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::SourcerepoV1::Expr, decorator: Google::Apis::SourcerepoV1::Expr::Representation + collection :members, as: 'members' property :role, as: 'role' end end - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - end - end - - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :iam, as: 'iam' - property :op, as: 'op' - property :svc, as: 'svc' - property :sys, as: 'sys' - property :value, as: 'value' - collection :values, as: 'values' - end - end - - class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :field, as: 'field' - property :metric, as: 'metric' - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Expr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + class ListReposResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -198,18 +147,6 @@ module Google end end - class LogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation - - property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation - - property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation - - end - end - class MirrorConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -228,8 +165,6 @@ module Google property :etag, :base64 => true, as: 'etag' property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation - property :version, as: 'version' end end @@ -245,21 +180,6 @@ module Google end end - class Rule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action, as: 'action' - collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation - - property :description, as: 'description' - collection :in, as: 'in' - collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation - - collection :not_in, as: 'notIn' - collection :permissions, as: 'permissions' - end - end - class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/spectrum_v1explorer/service.rb b/generated/google/apis/spectrum_v1explorer/service.rb index 773c76db0..862e7595f 100644 --- a/generated/google/apis/spectrum_v1explorer/service.rb +++ b/generated/google/apis/spectrum_v1explorer/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'spectrum/v1explorer/paws/') - @batch_path = 'batch' + @batch_path = 'batch/spectrum/v1explorer' end # Requests information about the available spectrum for a device at a location. diff --git a/generated/google/apis/sqladmin_v1beta3/service.rb b/generated/google/apis/sqladmin_v1beta3/service.rb index 02e309965..407b75948 100644 --- a/generated/google/apis/sqladmin_v1beta3/service.rb +++ b/generated/google/apis/sqladmin_v1beta3/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'sql/v1beta3/') - @batch_path = 'batch' + @batch_path = 'batch/sqladmin/v1beta3' end # Retrieves information about a specified backup run for a Cloud SQL instance. diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index aa0ffc36c..a53cfc1b1 100644 --- a/generated/google/apis/streetviewpublish_v1.rb +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/streetview/publish/ module StreetviewpublishV1 VERSION = 'V1' - REVISION = '20170824' + REVISION = '20170914' # Publish and manage your 360 photos on Google Street View AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' diff --git a/generated/google/apis/streetviewpublish_v1/classes.rb b/generated/google/apis/streetviewpublish_v1/classes.rb index 1e201b0ff..d66efa282 100644 --- a/generated/google/apis/streetviewpublish_v1/classes.rb +++ b/generated/google/apis/streetviewpublish_v1/classes.rb @@ -645,9 +645,11 @@ module Google attr_accessor :photo # Mask that identifies fields on the photo metadata to update. - # If not present, the old Photo metadata will be entirely replaced with the - # new Photo metadata in this request. The update fails if invalid fields are - # specified. Multiple fields can be specified in a comma-delimited list. + # If not present, the old Photo + # metadata will be entirely replaced with the + # new Photo metadata in this request. + # The update fails if invalid fields are specified. Multiple fields can be + # specified in a comma-delimited list. # The following fields are valid: # * `pose.heading` # * `pose.latLngPair` diff --git a/generated/google/apis/streetviewpublish_v1/service.rb b/generated/google/apis/streetviewpublish_v1/service.rb index 625a21c0a..095b9914a 100644 --- a/generated/google/apis/streetviewpublish_v1/service.rb +++ b/generated/google/apis/streetviewpublish_v1/service.rb @@ -210,7 +210,7 @@ module Google # Updates the metadata of a Photo, such # as pose, place association, connections, etc. Changing the pixels of a # photo is not supported. - # Only the fields specified in + # Only the fields specified in the # updateMask # field are used. If `updateMask` is not present, the update applies to all # fields. @@ -228,9 +228,11 @@ module Google # @param [Google::Apis::StreetviewpublishV1::Photo] photo_object # @param [String] update_mask # Mask that identifies fields on the photo metadata to update. - # If not present, the old Photo metadata will be entirely replaced with the - # new Photo metadata in this request. The update fails if invalid fields are - # specified. Multiple fields can be specified in a comma-delimited list. + # If not present, the old Photo + # metadata will be entirely replaced with the + # new Photo metadata in this request. + # The update fails if invalid fields are specified. Multiple fields can be + # specified in a comma-delimited list. # The following fields are valid: # * `pose.heading` # * `pose.latLngPair` diff --git a/generated/google/apis/surveys_v2/service.rb b/generated/google/apis/surveys_v2/service.rb index 890d404f9..a3ffdd15f 100644 --- a/generated/google/apis/surveys_v2/service.rb +++ b/generated/google/apis/surveys_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'surveys/v2/') - @batch_path = 'batch' + @batch_path = 'batch/surveys/v2' end # Retrieves a MobileAppPanel that is available to the authenticated user. diff --git a/generated/google/apis/tagmanager_v1/service.rb b/generated/google/apis/tagmanager_v1/service.rb index bfeeaa8fb..83d95eb6f 100644 --- a/generated/google/apis/tagmanager_v1/service.rb +++ b/generated/google/apis/tagmanager_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'tagmanager/v1/') - @batch_path = 'batch' + @batch_path = 'batch/tagmanager/v1' end # Gets a GTM Account. diff --git a/generated/google/apis/tagmanager_v2/service.rb b/generated/google/apis/tagmanager_v2/service.rb index bb0a2f41b..0208e6928 100644 --- a/generated/google/apis/tagmanager_v2/service.rb +++ b/generated/google/apis/tagmanager_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'tagmanager/v2/') - @batch_path = 'batch' + @batch_path = 'batch/tagmanager/v2' end # Gets a GTM Account. diff --git a/generated/google/apis/taskqueue_v1beta1/service.rb b/generated/google/apis/taskqueue_v1beta1/service.rb index 6d507dbfb..93d3dcfe0 100644 --- a/generated/google/apis/taskqueue_v1beta1/service.rb +++ b/generated/google/apis/taskqueue_v1beta1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'taskqueue/v1beta1/projects/') - @batch_path = 'batch' + @batch_path = 'batch/taskqueue/v1beta1' end # Get detailed information about a TaskQueue. diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index 0ac7e437f..914cf305f 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20170911' + REVISION = '20170913' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/toolresults_v1beta3/service.rb b/generated/google/apis/toolresults_v1beta3/service.rb index 2cd4221a5..1adb426c5 100644 --- a/generated/google/apis/toolresults_v1beta3/service.rb +++ b/generated/google/apis/toolresults_v1beta3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/') - @batch_path = 'batch' + @batch_path = 'batch/toolresults/v1beta3' end # Gets the Tool Results settings for a project. diff --git a/generated/google/apis/webmasters_v3/service.rb b/generated/google/apis/webmasters_v3/service.rb index b3c63aff6..73d58d194 100644 --- a/generated/google/apis/webmasters_v3/service.rb +++ b/generated/google/apis/webmasters_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'webmasters/v3/') - @batch_path = 'batch' + @batch_path = 'batch/webmasters/v3' end # Query your data with filters and parameters that you define. Returns zero or diff --git a/generated/google/apis/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb index dcfe438b4..67b32ee57 100644 --- a/generated/google/apis/youtube_analytics_v1.rb +++ b/generated/google/apis/youtube_analytics_v1.rb @@ -25,7 +25,7 @@ module Google # @see http://developers.google.com/youtube/analytics/ module YoutubeAnalyticsV1 VERSION = 'V1' - REVISION = '20170906' + REVISION = '20170913' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_analytics_v1/service.rb b/generated/google/apis/youtube_analytics_v1/service.rb index ab3aee563..d171f3a20 100644 --- a/generated/google/apis/youtube_analytics_v1/service.rb +++ b/generated/google/apis/youtube_analytics_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'youtube/analytics/v1/') - @batch_path = 'batch' + @batch_path = 'batch/youtubeAnalytics/v1' end # Removes an item from a group. diff --git a/generated/google/apis/youtube_partner_v1/service.rb b/generated/google/apis/youtube_partner_v1/service.rb index 82ee418e8..173363eb1 100644 --- a/generated/google/apis/youtube_partner_v1/service.rb +++ b/generated/google/apis/youtube_partner_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'youtube/partner/v1/') - @batch_path = 'batch' + @batch_path = 'batch/youtubePartner/v1' end # Insert an asset label for an owner.