From 064b55c58e7def50f19a3206e56b6c84f509f53a Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 5 Jun 2018 00:36:18 +0000 Subject: [PATCH] Autogenerated update (2018-06-05) Delete: - replicapool_v1beta2 Update: - chat_v1 - cloudshell_v1 - cloudshell_v1alpha1 - genomics_v2alpha1 - people_v1 - script_v1 - searchconsole_v1 - slides_v1 - streetviewpublish_v1 - texttospeech_v1beta1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - websecurityscanner_v1alpha - youtube_analytics_v2 - youtube_partner_v1 - youtubereporting_v1 --- api_names_out.yaml | 11 + generated/google/apis/chat_v1.rb | 4 +- generated/google/apis/chat_v1/classes.rb | 76 +++ .../google/apis/chat_v1/representations.rb | 25 + generated/google/apis/chat_v1/service.rb | 2 +- generated/google/apis/cloudshell_v1.rb | 2 +- generated/google/apis/cloudshell_v1alpha1.rb | 2 +- generated/google/apis/genomics_v2alpha1.rb | 2 +- .../google/apis/genomics_v2alpha1/classes.rb | 7 + .../apis/genomics_v2alpha1/representations.rb | 1 + generated/google/apis/people_v1.rb | 2 +- generated/google/apis/replicapool_v1beta2.rb | 44 -- .../apis/replicapool_v1beta2/classes.rb | 633 ------------------ .../replicapool_v1beta2/representations.rb | 264 -------- .../apis/replicapool_v1beta2/service.rb | 583 ---------------- generated/google/apis/script_v1.rb | 5 +- generated/google/apis/searchconsole_v1.rb | 2 +- generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 12 +- generated/google/apis/streetviewpublish_v1.rb | 2 +- generated/google/apis/texttospeech_v1beta1.rb | 2 +- generated/google/apis/vision_v1.rb | 2 +- generated/google/apis/vision_v1/classes.rb | 6 +- generated/google/apis/vision_v1p1beta1.rb | 2 +- .../google/apis/vision_v1p1beta1/classes.rb | 9 +- generated/google/apis/vision_v1p2beta1.rb | 2 +- .../google/apis/vision_v1p2beta1/classes.rb | 6 +- .../google/apis/websecurityscanner_v1alpha.rb | 2 +- generated/google/apis/youtube_analytics_v2.rb | 2 +- generated/google/apis/youtube_partner_v1.rb | 2 +- generated/google/apis/youtubereporting_v1.rb | 2 +- 31 files changed, 165 insertions(+), 1553 deletions(-) delete mode 100644 generated/google/apis/replicapool_v1beta2.rb delete mode 100644 generated/google/apis/replicapool_v1beta2/classes.rb delete mode 100644 generated/google/apis/replicapool_v1beta2/representations.rb delete mode 100644 generated/google/apis/replicapool_v1beta2/service.rb diff --git a/api_names_out.yaml b/api_names_out.yaml index d6e857c7c..62f932819 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -12489,6 +12489,16 @@ "/chat:v1/CardHeader/imageUrl": image_url "/chat:v1/CardHeader/subtitle": subtitle "/chat:v1/CardHeader/title": title +"/chat:v1/DeprecatedEvent": deprecated_event +"/chat:v1/DeprecatedEvent/action": action +"/chat:v1/DeprecatedEvent/configCompleteRedirectUrl": config_complete_redirect_url +"/chat:v1/DeprecatedEvent/eventTime": event_time +"/chat:v1/DeprecatedEvent/message": message +"/chat:v1/DeprecatedEvent/space": space +"/chat:v1/DeprecatedEvent/threadKey": thread_key +"/chat:v1/DeprecatedEvent/token": token +"/chat:v1/DeprecatedEvent/type": type +"/chat:v1/DeprecatedEvent/user": user "/chat:v1/Empty": empty "/chat:v1/FormAction": form_action "/chat:v1/FormAction/actionMethodName": action_method_name @@ -59337,6 +59347,7 @@ "/genomics:v2alpha1/Mount/readOnly": read_only "/genomics:v2alpha1/Network": network "/genomics:v2alpha1/Network/name": name +"/genomics:v2alpha1/Network/subnetwork": subnetwork "/genomics:v2alpha1/Network/usePrivateAddress": use_private_address "/genomics:v2alpha1/Operation": operation "/genomics:v2alpha1/Operation/done": done diff --git a/generated/google/apis/chat_v1.rb b/generated/google/apis/chat_v1.rb index 811aed666..716e6f0a5 100644 --- a/generated/google/apis/chat_v1.rb +++ b/generated/google/apis/chat_v1.rb @@ -20,12 +20,12 @@ module Google module Apis # Hangouts Chat API # - # Enables bots to fetch information and perform actions in the new Hangouts Chat. + # Enables bots to fetch information and perform actions in Hangouts Chat. # # @see https://developers.google.com/hangouts/chat module ChatV1 VERSION = 'V1' - REVISION = '20180424' + REVISION = '20180531' end end end diff --git a/generated/google/apis/chat_v1/classes.rb b/generated/google/apis/chat_v1/classes.rb index f6f3b8e7a..4491406c7 100644 --- a/generated/google/apis/chat_v1/classes.rb +++ b/generated/google/apis/chat_v1/classes.rb @@ -264,6 +264,82 @@ module Google end end + # Hangouts Chat events. + class DeprecatedEvent + include Google::Apis::Core::Hashable + + # A form action describes the behavior when the form is submitted. + # For example, an Apps Script can be invoked to handle the form. + # Corresponds to the JSON property `action` + # @return [Google::Apis::ChatV1::FormAction] + attr_accessor :action + + # The URL the bot should redirect the user to after they have completed an + # authorization or configuration flow outside of Hangouts Chat. See the + # [Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p) + # for more information. + # Corresponds to the JSON property `configCompleteRedirectUrl` + # @return [String] + attr_accessor :config_complete_redirect_url + + # The timestamp indicating when the event was dispatched. + # Corresponds to the JSON property `eventTime` + # @return [String] + attr_accessor :event_time + + # A message in Hangouts Chat. + # Corresponds to the JSON property `message` + # @return [Google::Apis::ChatV1::Message] + attr_accessor :message + + # A room or DM in Hangouts Chat. + # Corresponds to the JSON property `space` + # @return [Google::Apis::ChatV1::Space] + attr_accessor :space + + # The bot-defined key for the thread related to the event. See the + # thread_key field of the + # `spaces.message.create` request for more information. + # Corresponds to the JSON property `threadKey` + # @return [String] + attr_accessor :thread_key + + # A secret value that bots can use to verify if a request is from Google. The + # token is randomly generated by Google, remains static, and can be obtained + # from the Hangouts Chat API configuration page in the Cloud Console. + # Developers can revoke/regenerate it if needed from the same page. + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + # The type of the event. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A user in Hangouts Chat. + # Corresponds to the JSON property `user` + # @return [Google::Apis::ChatV1::User] + attr_accessor :user + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url) + @event_time = args[:event_time] if args.key?(:event_time) + @message = args[:message] if args.key?(:message) + @space = args[:space] if args.key?(:space) + @thread_key = args[:thread_key] if args.key?(:thread_key) + @token = args[:token] if args.key?(:token) + @type = args[:type] if args.key?(:type) + @user = args[:user] if args.key?(:user) + 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: diff --git a/generated/google/apis/chat_v1/representations.rb b/generated/google/apis/chat_v1/representations.rb index 7bdb202a3..710cf015f 100644 --- a/generated/google/apis/chat_v1/representations.rb +++ b/generated/google/apis/chat_v1/representations.rb @@ -64,6 +64,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeprecatedEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -247,6 +253,25 @@ module Google end end + class DeprecatedEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation + + property :config_complete_redirect_url, as: 'configCompleteRedirectUrl' + property :event_time, as: 'eventTime' + property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation + + property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation + + property :thread_key, as: 'threadKey' + property :token, as: 'token' + property :type, as: 'type' + property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation + + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/chat_v1/service.rb b/generated/google/apis/chat_v1/service.rb index f541fa72b..c0d8cb3ce 100644 --- a/generated/google/apis/chat_v1/service.rb +++ b/generated/google/apis/chat_v1/service.rb @@ -22,7 +22,7 @@ module Google module ChatV1 # Hangouts Chat API # - # Enables bots to fetch information and perform actions in the new Hangouts Chat. + # Enables bots to fetch information and perform actions in Hangouts Chat. # # @example # require 'google/apis/chat_v1' diff --git a/generated/google/apis/cloudshell_v1.rb b/generated/google/apis/cloudshell_v1.rb index 94baf8a91..1fbb28cb8 100644 --- a/generated/google/apis/cloudshell_v1.rb +++ b/generated/google/apis/cloudshell_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1 VERSION = 'V1' - REVISION = '20171211' + REVISION = '20180602' # 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/cloudshell_v1alpha1.rb b/generated/google/apis/cloudshell_v1alpha1.rb index 0f1be9edd..88ff38ac9 100644 --- a/generated/google/apis/cloudshell_v1alpha1.rb +++ b/generated/google/apis/cloudshell_v1alpha1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1alpha1 VERSION = 'V1alpha1' - REVISION = '20171211' + REVISION = '20180602' # 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/genomics_v2alpha1.rb b/generated/google/apis/genomics_v2alpha1.rb index 99730938d..56c8e4c8b 100644 --- a/generated/google/apis/genomics_v2alpha1.rb +++ b/generated/google/apis/genomics_v2alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV2alpha1 VERSION = 'V2alpha1' - REVISION = '20180528' + REVISION = '20180601' # 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/genomics_v2alpha1/classes.rb b/generated/google/apis/genomics_v2alpha1/classes.rb index 3f8e221cc..9741feced 100644 --- a/generated/google/apis/genomics_v2alpha1/classes.rb +++ b/generated/google/apis/genomics_v2alpha1/classes.rb @@ -711,6 +711,12 @@ module Google # @return [String] attr_accessor :name + # If the specified network is configured for custom subnet creation, the + # name of the subnetwork to attach the instance to must be specified here. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + # If set to true, do not attach a public IP address to the VM. Note that # without an public IP address, additional configuration is required to # allow the VM to access Google services. @@ -728,6 +734,7 @@ module Google # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @use_private_address = args[:use_private_address] if args.key?(:use_private_address) end end diff --git a/generated/google/apis/genomics_v2alpha1/representations.rb b/generated/google/apis/genomics_v2alpha1/representations.rb index 65fc28ff1..875a79814 100644 --- a/generated/google/apis/genomics_v2alpha1/representations.rb +++ b/generated/google/apis/genomics_v2alpha1/representations.rb @@ -403,6 +403,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' + property :subnetwork, as: 'subnetwork' property :use_private_address, as: 'usePrivateAddress' end end diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index e02279ff2..c096ee799 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20180521' + REVISION = '20180601' # Manage your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/replicapool_v1beta2.rb b/generated/google/apis/replicapool_v1beta2.rb deleted file mode 100644 index efebde7c6..000000000 --- a/generated/google/apis/replicapool_v1beta2.rb +++ /dev/null @@ -1,44 +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/replicapool_v1beta2/service.rb' -require 'google/apis/replicapool_v1beta2/classes.rb' -require 'google/apis/replicapool_v1beta2/representations.rb' - -module Google - module Apis - # Google Compute Engine Instance Group Manager API - # - # [Deprecated. Please use Instance Group Manager in Compute API] Provides groups - # of homogenous Compute Engine instances. - # - # @see https://developers.google.com/compute/docs/instance-groups/manager/v1beta2 - module ReplicapoolV1beta2 - VERSION = 'V1beta2' - REVISION = '20160512' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - - # View and manage your Google Compute Engine resources - AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute' - - # View your Google Compute Engine resources - AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly' - end - end -end diff --git a/generated/google/apis/replicapool_v1beta2/classes.rb b/generated/google/apis/replicapool_v1beta2/classes.rb deleted file mode 100644 index 8b9f63627..000000000 --- a/generated/google/apis/replicapool_v1beta2/classes.rb +++ /dev/null @@ -1,633 +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 '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 ReplicapoolV1beta2 - - # An Instance Group Manager resource. - class InstanceGroupManager - include Google::Apis::Core::Hashable - - # The autohealing policy for this managed instance group. You can specify only - # one value. - # Corresponds to the JSON property `autoHealingPolicies` - # @return [Array] - attr_accessor :auto_healing_policies - - # The base instance name to use for instances in this group. The value must be a - # valid RFC1035 name. Supported characters are lowercase letters, numbers, and - # hyphens (-). Instances are named by appending a hyphen and a random four- - # character string to the base instance name. - # Corresponds to the JSON property `baseInstanceName` - # @return [String] - attr_accessor :base_instance_name - - # [Output only] The time the instance group manager was created, in RFC3339 text - # format. - # Corresponds to the JSON property `creationTimestamp` - # @return [String] - attr_accessor :creation_timestamp - - # [Output only] The number of instances that currently exist and are a part of - # this group. This includes instances that are starting but are not yet RUNNING, - # and instances that are in the process of being deleted or abandoned. - # Corresponds to the JSON property `currentSize` - # @return [Fixnum] - attr_accessor :current_size - - # An optional textual description of the instance group manager. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # [Output only] Fingerprint of the instance group manager. This field is used - # for optimistic locking. An up-to-date fingerprint must be provided in order to - # modify the Instance Group Manager resource. - # Corresponds to the JSON property `fingerprint` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :fingerprint - - # [Output only] The full URL of the instance group created by the manager. This - # group contains all of the instances being managed, and cannot contain non- - # managed instances. - # Corresponds to the JSON property `group` - # @return [String] - attr_accessor :group - - # [Output only] A server-assigned unique identifier for the resource. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id - - # The full URL to an instance template from which all new instances will be - # created. - # Corresponds to the JSON property `instanceTemplate` - # @return [String] - attr_accessor :instance_template - - # [Output only] The resource type. Always replicapool#instanceGroupManager. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The name of the instance group manager. Must be 1-63 characters long and - # comply with RFC1035. Supported characters include lowercase letters, numbers, - # and hyphens. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # [Output only] The fully qualified URL for this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # The full URL of all target pools to which new instances in the group are added. - # Updating the target pool values does not affect existing instances. - # Corresponds to the JSON property `targetPools` - # @return [Array] - attr_accessor :target_pools - - # [Output only] The number of instances that the manager is attempting to - # maintain. Deleting or abandoning instances affects this number, as does - # resizing the group. - # Corresponds to the JSON property `targetSize` - # @return [Fixnum] - attr_accessor :target_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies) - @base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name) - @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) - @current_size = args[:current_size] if args.key?(:current_size) - @description = args[:description] if args.key?(:description) - @fingerprint = args[:fingerprint] if args.key?(:fingerprint) - @group = args[:group] if args.key?(:group) - @id = args[:id] if args.key?(:id) - @instance_template = args[:instance_template] if args.key?(:instance_template) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @self_link = args[:self_link] if args.key?(:self_link) - @target_pools = args[:target_pools] if args.key?(:target_pools) - @target_size = args[:target_size] if args.key?(:target_size) - end - end - - # - class InstanceGroupManagerList - include Google::Apis::Core::Hashable - - # Unique identifier for the resource; defined by the server (output only). - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A list of instance resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Type of resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A token used to continue a truncated list request (output only). - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Server defined URL for this resource (output only). - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - end - end - - # - class AbandonInstancesRequest - include Google::Apis::Core::Hashable - - # The names of one or more instances to abandon. For example: - # ` 'instances': [ 'instance-c3po', 'instance-r2d2' ] ` - # Corresponds to the JSON property `instances` - # @return [Array] - attr_accessor :instances - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instances = args[:instances] if args.key?(:instances) - end - end - - # - class DeleteInstancesRequest - include Google::Apis::Core::Hashable - - # Names of instances to delete. - # Example: 'instance-foo', 'instance-bar' - # Corresponds to the JSON property `instances` - # @return [Array] - attr_accessor :instances - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instances = args[:instances] if args.key?(:instances) - end - end - - # - class RecreateInstancesRequest - include Google::Apis::Core::Hashable - - # The names of one or more instances to recreate. For example: - # ` 'instances': [ 'instance-c3po', 'instance-r2d2' ] ` - # Corresponds to the JSON property `instances` - # @return [Array] - attr_accessor :instances - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instances = args[:instances] if args.key?(:instances) - end - end - - # - class SetInstanceTemplateRequest - include Google::Apis::Core::Hashable - - # The full URL to an Instance Template from which all new instances will be - # created. - # Corresponds to the JSON property `instanceTemplate` - # @return [String] - attr_accessor :instance_template - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instance_template = args[:instance_template] if args.key?(:instance_template) - end - end - - # - class SetTargetPoolsRequest - include Google::Apis::Core::Hashable - - # The current fingerprint of the Instance Group Manager resource. If this does - # not match the server-side fingerprint of the resource, then the request will - # be rejected. - # Corresponds to the JSON property `fingerprint` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :fingerprint - - # A list of fully-qualified URLs to existing Target Pool resources. New - # instances in the Instance Group Manager will be added to the specified target - # pools; existing instances are not affected. - # Corresponds to the JSON property `targetPools` - # @return [Array] - attr_accessor :target_pools - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fingerprint = args[:fingerprint] if args.key?(:fingerprint) - @target_pools = args[:target_pools] if args.key?(:target_pools) - end - end - - # An operation resource, used to manage asynchronous API requests. - class Operation - include Google::Apis::Core::Hashable - - # [Output only] An optional identifier specified by the client when the mutation - # was initiated. Must be unique for all operation resources in the project. - # Corresponds to the JSON property `clientOperationId` - # @return [String] - attr_accessor :client_operation_id - - # [Output Only] The time that this operation was requested, in RFC3339 text - # format. - # Corresponds to the JSON property `creationTimestamp` - # @return [String] - attr_accessor :creation_timestamp - - # [Output Only] The time that this operation was completed, in RFC3339 text - # format. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # [Output Only] If errors occurred during processing of this operation, this - # field will be populated. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ReplicapoolV1beta2::Operation::Error] - attr_accessor :error - - # [Output only] If operation fails, the HTTP error message returned. - # Corresponds to the JSON property `httpErrorMessage` - # @return [String] - attr_accessor :http_error_message - - # [Output only] If operation fails, the HTTP error status code returned. - # Corresponds to the JSON property `httpErrorStatusCode` - # @return [Fixnum] - attr_accessor :http_error_status_code - - # [Output Only] Unique identifier for the resource, generated by the server. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id - - # [Output Only] The time that this operation was requested, in RFC3339 text - # format. - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # [Output only] Type of the resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # [Output Only] Name of the resource. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # [Output only] Type of the operation. Operations include insert, update, and - # delete. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # [Output only] An optional progress indicator that ranges from 0 to 100. There - # is no requirement that this be linear or support any granularity of operations. - # This should not be used to guess at when the operation will be complete. This - # number should be monotonically increasing as the operation progresses. - # Corresponds to the JSON property `progress` - # @return [Fixnum] - attr_accessor :progress - - # [Output Only] URL of the region where the operation resides. Only available - # when performing regional operations. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # [Output Only] Server-defined fully-qualified URL for this resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # [Output Only] The time that this operation was started by the server, in - # RFC3339 text format. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # [Output Only] Status of the operation. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # [Output Only] An optional textual description of the current status of the - # operation. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - # [Output Only] Unique target ID which identifies a particular incarnation of - # the target. - # Corresponds to the JSON property `targetId` - # @return [Fixnum] - attr_accessor :target_id - - # [Output only] URL of the resource the operation is mutating. - # Corresponds to the JSON property `targetLink` - # @return [String] - attr_accessor :target_link - - # [Output Only] User who requested the operation, for example: user@example.com. - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # [Output Only] If there are issues with this operation, a warning is returned. - # Corresponds to the JSON property `warnings` - # @return [Array] - attr_accessor :warnings - - # [Output Only] URL of the zone where the operation resides. Only available when - # performing per-zone operations. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) - @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) - @end_time = args[:end_time] if args.key?(:end_time) - @error = args[:error] if args.key?(:error) - @http_error_message = args[:http_error_message] if args.key?(:http_error_message) - @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code) - @id = args[:id] if args.key?(:id) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @progress = args[:progress] if args.key?(:progress) - @region = args[:region] if args.key?(:region) - @self_link = args[:self_link] if args.key?(:self_link) - @start_time = args[:start_time] if args.key?(:start_time) - @status = args[:status] if args.key?(:status) - @status_message = args[:status_message] if args.key?(:status_message) - @target_id = args[:target_id] if args.key?(:target_id) - @target_link = args[:target_link] if args.key?(:target_link) - @user = args[:user] if args.key?(:user) - @warnings = args[:warnings] if args.key?(:warnings) - @zone = args[:zone] if args.key?(:zone) - end - - # [Output Only] If errors occurred during processing of this operation, this - # field will be populated. - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The array of errors encountered while processing this operation. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @errors = args[:errors] if args.key?(:errors) - end - - # - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The error type identifier for this error. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output Only] Indicates the field in the request which caused the error. This - # property is optional. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # [Output Only] An optional, human-readable error message. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @location = args[:location] if args.key?(:location) - @message = args[:message] if args.key?(:message) - end - end - end - - # - class Warning - include Google::Apis::Core::Hashable - - # [Output only] The warning type identifier for this warning. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output only] Metadata for this warning in key:value format. - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - # [Output only] Optional human-readable details for this warning. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @data = args[:data] if args.key?(:data) - @message = args[:message] if args.key?(:message) - end - - # - class Datum - include Google::Apis::Core::Hashable - - # [Output Only] Metadata key for this warning. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # [Output Only] Metadata value for this warning. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - end - end - - # - class OperationList - include Google::Apis::Core::Hashable - - # Unique identifier for the resource; defined by the server (output only). - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The operation resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # Type of resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A token used to continue a truncated list request (output only). - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Server defined URL for this resource (output only). - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - end - end - - # - class ReplicaPoolAutoHealingPolicy - include Google::Apis::Core::Hashable - - # The action to perform when an instance becomes unhealthy. Possible values are - # RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new - # instance that is based on the instance template for this managed instance - # group. REBOOT performs a soft reboot on an instance. If the instance cannot - # reboot, the instance performs a hard restart. - # Corresponds to the JSON property `actionType` - # @return [String] - attr_accessor :action_type - - # The URL for the HealthCheck that signals autohealing. - # Corresponds to the JSON property `healthCheck` - # @return [String] - attr_accessor :health_check - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action_type = args[:action_type] if args.key?(:action_type) - @health_check = args[:health_check] if args.key?(:health_check) - end - end - end - end -end diff --git a/generated/google/apis/replicapool_v1beta2/representations.rb b/generated/google/apis/replicapool_v1beta2/representations.rb deleted file mode 100644 index 4133d608c..000000000 --- a/generated/google/apis/replicapool_v1beta2/representations.rb +++ /dev/null @@ -1,264 +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 '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 ReplicapoolV1beta2 - - class InstanceGroupManager - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstanceGroupManagerList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AbandonInstancesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteInstancesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RecreateInstancesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetInstanceTemplateRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetTargetPoolsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Warning - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Datum - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class OperationList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReplicaPoolAutoHealingPolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstanceGroupManager - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ReplicapoolV1beta2::ReplicaPoolAutoHealingPolicy, decorator: Google::Apis::ReplicapoolV1beta2::ReplicaPoolAutoHealingPolicy::Representation - - property :base_instance_name, as: 'baseInstanceName' - property :creation_timestamp, as: 'creationTimestamp' - property :current_size, as: 'currentSize' - property :description, as: 'description' - property :fingerprint, :base64 => true, as: 'fingerprint' - property :group, as: 'group' - property :id, :numeric_string => true, as: 'id' - property :instance_template, as: 'instanceTemplate' - property :kind, as: 'kind' - property :name, as: 'name' - property :self_link, as: 'selfLink' - collection :target_pools, as: 'targetPools' - property :target_size, as: 'targetSize' - end - end - - class InstanceGroupManagerList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ReplicapoolV1beta2::InstanceGroupManager, decorator: Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - end - end - - class AbandonInstancesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :instances, as: 'instances' - end - end - - class DeleteInstancesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :instances, as: 'instances' - end - end - - class RecreateInstancesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :instances, as: 'instances' - end - end - - class SetInstanceTemplateRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :instance_template, as: 'instanceTemplate' - end - end - - class SetTargetPoolsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fingerprint, :base64 => true, as: 'fingerprint' - collection :target_pools, as: 'targetPools' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_operation_id, as: 'clientOperationId' - property :creation_timestamp, as: 'creationTimestamp' - property :end_time, as: 'endTime' - property :error, as: 'error', class: Google::Apis::ReplicapoolV1beta2::Operation::Error, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Error::Representation - - property :http_error_message, as: 'httpErrorMessage' - property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, :numeric_string => true, as: 'id' - property :insert_time, as: 'insertTime' - property :kind, as: 'kind' - property :name, as: 'name' - property :operation_type, as: 'operationType' - property :progress, as: 'progress' - property :region, as: 'region' - property :self_link, as: 'selfLink' - property :start_time, as: 'startTime' - property :status, as: 'status' - property :status_message, as: 'statusMessage' - property :target_id, :numeric_string => true, as: 'targetId' - property :target_link, as: 'targetLink' - property :user, as: 'user' - collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolV1beta2::Operation::Warning, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Representation - - property :zone, as: 'zone' - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :errors, as: 'errors', class: Google::Apis::ReplicapoolV1beta2::Operation::Error::Error, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Error::Error::Representation - - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :location, as: 'location' - property :message, as: 'message' - end - end - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Datum, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Datum::Representation - - property :message, as: 'message' - end - - class Datum - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - end - end - - class OperationList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ReplicapoolV1beta2::Operation, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - end - end - - class ReplicaPoolAutoHealingPolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action_type, as: 'actionType' - property :health_check, as: 'healthCheck' - end - end - end - end -end diff --git a/generated/google/apis/replicapool_v1beta2/service.rb b/generated/google/apis/replicapool_v1beta2/service.rb deleted file mode 100644 index d0d56496a..000000000 --- a/generated/google/apis/replicapool_v1beta2/service.rb +++ /dev/null @@ -1,583 +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/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ReplicapoolV1beta2 - # Google Compute Engine Instance Group Manager API - # - # [Deprecated. Please use Instance Group Manager in Compute API] Provides groups - # of homogenous Compute Engine instances. - # - # @example - # require 'google/apis/replicapool_v1beta2' - # - # Replicapool = Google::Apis::ReplicapoolV1beta2 # Alias the module - # service = Replicapool::ReplicapoolService.new - # - # @see https://developers.google.com/compute/docs/instance-groups/manager/v1beta2 - class ReplicapoolService < 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] - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - attr_accessor :quota_user - - # @return [String] - # Deprecated. Please use quotaUser instead. - attr_accessor :user_ip - - def initialize - super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/') - @batch_path = 'batch/replicapool/v1beta2' - end - - # Removes the specified instances from the managed instance group, and from any - # target pools of which they were members, without deleting the instances. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Google::Apis::ReplicapoolV1beta2::AbandonInstancesRequest] abandon_instances_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 abandon_instances(project, zone, instance_group_manager, abandon_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::AbandonInstancesRequest::Representation - command.request_object = abandon_instances_request_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Deletes the instance group manager and all instances contained within. If you' - # d like to delete the manager without deleting the instances, you must first - # abandon the instances to remove them from the group. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # Name of the Instance Group Manager resource to delete. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 delete_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Deletes the specified instances. The instances are deleted, then removed from - # the instance group and any target pools of which they were a member. The - # targetSize of the instance group manager is reduced by the number of instances - # deleted. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Google::Apis::ReplicapoolV1beta2::DeleteInstancesRequest] delete_instances_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 delete_instances(project, zone, instance_group_manager, delete_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::DeleteInstancesRequest::Representation - command.request_object = delete_instances_request_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Returns the specified Instance Group Manager resource. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # Name of the instance resource to return. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] - # - # @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_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::InstanceGroupManager - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates an instance group manager, as well as the instance group and the - # specified number of instances. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [Fixnum] size - # Number of instances that should exist. - # @param [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] instance_group_manager_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 insert_instance_group_manager(project, zone, size, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation - command.request_object = instance_group_manager_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.query['size'] = size unless size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the list of Instance Group Manager resources contained within the - # specified zone. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] filter - # Optional. Filter expression for filtering listed resources. - # @param [Fixnum] max_results - # Optional. Maximum count of results to be returned. Maximum value is 500 and - # default value is 500. - # @param [String] page_token - # Optional. Tag returned by a previous list request truncated by maxResults. - # Used to continue a previous list request. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::InstanceGroupManagerList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::InstanceGroupManagerList] - # - # @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_instance_group_managers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::InstanceGroupManagerList::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::InstanceGroupManagerList - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.query['filter'] = filter unless filter.nil? - command.query['maxResults'] = max_results unless max_results.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? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Recreates the specified instances. The instances are deleted, then recreated - # using the instance group manager's current instance template. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Google::Apis::ReplicapoolV1beta2::RecreateInstancesRequest] recreate_instances_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 recreate_instances(project, zone, instance_group_manager, recreate_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::RecreateInstancesRequest::Representation - command.request_object = recreate_instances_request_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Resizes the managed instance group up or down. If resized up, new instances - # are created using the current instance template. If resized down, instances - # are removed in the order outlined in Resizing a managed instance group. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Fixnum] size - # Number of instances that should exist in this Instance Group Manager. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 resize_instance(project, zone, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['size'] = size unless size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Sets the instance template to use when creating new instances in this group. - # Existing instances are not affected. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Google::Apis::ReplicapoolV1beta2::SetInstanceTemplateRequest] set_instance_template_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 set_instance_template(project, zone, instance_group_manager, set_instance_template_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::SetInstanceTemplateRequest::Representation - command.request_object = set_instance_template_request_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Modifies the target pools to which all new instances in this group are - # assigned. Existing instances in the group are not affected. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the instance group manager resides. - # @param [String] instance_group_manager - # The name of the instance group manager. - # @param [Google::Apis::ReplicapoolV1beta2::SetTargetPoolsRequest] set_target_pools_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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 set_target_pools(project, zone, instance_group_manager, set_target_pools_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) - command.request_representation = Google::Apis::ReplicapoolV1beta2::SetTargetPoolsRequest::Representation - command.request_object = set_target_pools_request_object - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the specified zone-specific operation resource. - # @param [String] project - # Name of the project scoping this request. - # @param [String] zone - # Name of the zone scoping this request. - # @param [String] operation - # Name of the operation resource to return. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::Operation] - # - # @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_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['operation'] = operation unless operation.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the list of operation resources contained within the specified zone. - # @param [String] project - # Name of the project scoping this request. - # @param [String] zone - # Name of the zone scoping this request. - # @param [String] filter - # Optional. Filter expression for filtering listed resources. - # @param [Fixnum] max_results - # Optional. Maximum count of results to be returned. Maximum value is 500 and - # default value is 500. - # @param [String] page_token - # Optional. Tag returned by a previous list request truncated by maxResults. - # Used to continue a previous list request. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolV1beta2::OperationList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolV1beta2::OperationList] - # - # @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_zone_operations(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) - command.response_representation = Google::Apis::ReplicapoolV1beta2::OperationList::Representation - command.response_class = Google::Apis::ReplicapoolV1beta2::OperationList - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.query['filter'] = filter unless filter.nil? - command.query['maxResults'] = max_results unless max_results.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? - command.query['userIp'] = user_ip unless user_ip.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? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index 266d4081d..aa9df2588 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -31,7 +31,7 @@ module Google # @see https://developers.google.com/apps-script/api/ module ScriptV1 VERSION = 'V1' - REVISION = '20180530' + REVISION = '20180601' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' @@ -48,6 +48,9 @@ module Google # View and manage the provisioning of users on your domain AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' + # View and manage your Google Docs documents + AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' + # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/searchconsole_v1.rb b/generated/google/apis/searchconsole_v1.rb index 6edf3a1f4..4d51e0b7a 100644 --- a/generated/google/apis/searchconsole_v1.rb +++ b/generated/google/apis/searchconsole_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/webmaster-tools/search-console-api/ module SearchconsoleV1 VERSION = 'V1' - REVISION = '20170805' + REVISION = '20180601' end end end diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index 7a6f9cef4..3d046fd55 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20180521' + REVISION = '20180601' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index 47353c47f..d3db58389 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -737,6 +737,8 @@ module Google end # Creates a video. + # NOTE: Drive video creation requires that the requesting app have at least one + # of the drive, drive.readonly, or drive.file OAuth scopes. class CreateVideoRequest include Google::Apis::Core::Hashable @@ -751,7 +753,9 @@ module Google # The video source's unique identifier for this video. # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, - # the ID is 7U3axjORYZ0. + # the ID is 7U3axjORYZ0. For Drive video + # https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID + # is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -2862,6 +2866,8 @@ module Google attr_accessor :create_table # Creates a video. + # NOTE: Drive video creation requires that the requesting app have at least one + # of the drive, drive.readonly, or drive.file OAuth scopes. # Corresponds to the JSON property `createVideo` # @return [Google::Apis::SlidesV1::CreateVideoRequest] attr_accessor :create_video @@ -5053,8 +5059,8 @@ module Google # @return [String] attr_accessor :source - # An URL to a video. The URL is valid as long as the source video - # exists and sharing settings do not change. + # An URL to a video. The URL is valid as long as the source video exists and + # sharing settings do not change. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index 5e7944866..7e7b55921 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 = '20171211' + REVISION = '20180601' # Publish and manage your 360 photos on Google Street View AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' diff --git a/generated/google/apis/texttospeech_v1beta1.rb b/generated/google/apis/texttospeech_v1beta1.rb index b1c5b09d7..585c8d7b5 100644 --- a/generated/google/apis/texttospeech_v1beta1.rb +++ b/generated/google/apis/texttospeech_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/text-to-speech/ module TexttospeechV1beta1 VERSION = 'V1beta1' - REVISION = '20180512' + REVISION = '20180601' # 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/vision_v1.rb b/generated/google/apis/vision_v1.rb index d48ff4b79..d277b234b 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20180515' + REVISION = '20180601' # 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/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index adfc58861..3051cf3ea 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -2438,7 +2438,8 @@ module Google class GoogleCloudVisionV1p2beta1WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels @@ -3747,7 +3748,8 @@ module Google class WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels diff --git a/generated/google/apis/vision_v1p1beta1.rb b/generated/google/apis/vision_v1p1beta1.rb index e89bb1e3a..8c5ad3960 100644 --- a/generated/google/apis/vision_v1p1beta1.rb +++ b/generated/google/apis/vision_v1p1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20180515' + REVISION = '20180601' # 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/vision_v1p1beta1/classes.rb b/generated/google/apis/vision_v1p1beta1/classes.rb index b7ee66447..062f7eddd 100644 --- a/generated/google/apis/vision_v1p1beta1/classes.rb +++ b/generated/google/apis/vision_v1p1beta1/classes.rb @@ -2424,7 +2424,8 @@ module Google class GoogleCloudVisionV1p1beta1WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels @@ -3955,7 +3956,8 @@ module Google class GoogleCloudVisionV1p2beta1WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels @@ -5092,7 +5094,8 @@ module Google class WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels diff --git a/generated/google/apis/vision_v1p2beta1.rb b/generated/google/apis/vision_v1p2beta1.rb index ebce3a228..7bb246f79 100644 --- a/generated/google/apis/vision_v1p2beta1.rb +++ b/generated/google/apis/vision_v1p2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1p2beta1 VERSION = 'V1p2beta1' - REVISION = '20180515' + REVISION = '20180601' # 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/vision_v1p2beta1/classes.rb b/generated/google/apis/vision_v1p2beta1/classes.rb index 8db47ca4d..bd75731aa 100644 --- a/generated/google/apis/vision_v1p2beta1/classes.rb +++ b/generated/google/apis/vision_v1p2beta1/classes.rb @@ -2553,7 +2553,8 @@ module Google class GoogleCloudVisionV1p2beta1WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels @@ -3710,7 +3711,8 @@ module Google class WebDetection include Google::Apis::Core::Hashable - # Best guess text labels for the request image. + # The service's best guess as to the topic of the request image. + # Inferred from similar images on the open web. # Corresponds to the JSON property `bestGuessLabels` # @return [Array] attr_accessor :best_guess_labels diff --git a/generated/google/apis/websecurityscanner_v1alpha.rb b/generated/google/apis/websecurityscanner_v1alpha.rb index 9d676a506..bf7ebe10e 100644 --- a/generated/google/apis/websecurityscanner_v1alpha.rb +++ b/generated/google/apis/websecurityscanner_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/security-scanner/ module WebsecurityscannerV1alpha VERSION = 'V1alpha' - REVISION = '20180423' + REVISION = '20180601' # 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/youtube_analytics_v2.rb b/generated/google/apis/youtube_analytics_v2.rb index 81d792c28..afe28880f 100644 --- a/generated/google/apis/youtube_analytics_v2.rb +++ b/generated/google/apis/youtube_analytics_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/analytics module YoutubeAnalyticsV2 VERSION = 'V2' - REVISION = '20180514' + REVISION = '20180601' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index de2ef451a..ed1aa0f30 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20180518' + REVISION = '' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtubereporting_v1.rb b/generated/google/apis/youtubereporting_v1.rb index 466df7739..51f9e48fa 100644 --- a/generated/google/apis/youtubereporting_v1.rb +++ b/generated/google/apis/youtubereporting_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/reporting/v1/reports/ module YoutubereportingV1 VERSION = 'V1' - REVISION = '20180325' + REVISION = '20180601' # View monetary and non-monetary YouTube Analytics reports for your YouTube content AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'