Skip to content

Commit 064b55c

Browse files
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
1 parent 42ae732 commit 064b55c

31 files changed

+165
-1553
lines changed

Diff for: api_names_out.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -12489,6 +12489,16 @@
1248912489
"/chat:v1/CardHeader/imageUrl": image_url
1249012490
"/chat:v1/CardHeader/subtitle": subtitle
1249112491
"/chat:v1/CardHeader/title": title
12492+
"/chat:v1/DeprecatedEvent": deprecated_event
12493+
"/chat:v1/DeprecatedEvent/action": action
12494+
"/chat:v1/DeprecatedEvent/configCompleteRedirectUrl": config_complete_redirect_url
12495+
"/chat:v1/DeprecatedEvent/eventTime": event_time
12496+
"/chat:v1/DeprecatedEvent/message": message
12497+
"/chat:v1/DeprecatedEvent/space": space
12498+
"/chat:v1/DeprecatedEvent/threadKey": thread_key
12499+
"/chat:v1/DeprecatedEvent/token": token
12500+
"/chat:v1/DeprecatedEvent/type": type
12501+
"/chat:v1/DeprecatedEvent/user": user
1249212502
"/chat:v1/Empty": empty
1249312503
"/chat:v1/FormAction": form_action
1249412504
"/chat:v1/FormAction/actionMethodName": action_method_name
@@ -59337,6 +59347,7 @@
5933759347
"/genomics:v2alpha1/Mount/readOnly": read_only
5933859348
"/genomics:v2alpha1/Network": network
5933959349
"/genomics:v2alpha1/Network/name": name
59350+
"/genomics:v2alpha1/Network/subnetwork": subnetwork
5934059351
"/genomics:v2alpha1/Network/usePrivateAddress": use_private_address
5934159352
"/genomics:v2alpha1/Operation": operation
5934259353
"/genomics:v2alpha1/Operation/done": done

Diff for: generated/google/apis/chat_v1.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ module Google
2020
module Apis
2121
# Hangouts Chat API
2222
#
23-
# Enables bots to fetch information and perform actions in the new Hangouts Chat.
23+
# Enables bots to fetch information and perform actions in Hangouts Chat.
2424
#
2525
# @see https://developers.google.com/hangouts/chat
2626
module ChatV1
2727
VERSION = 'V1'
28-
REVISION = '20180424'
28+
REVISION = '20180531'
2929
end
3030
end
3131
end

Diff for: generated/google/apis/chat_v1/classes.rb

+76
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,82 @@ def update!(**args)
264264
end
265265
end
266266

267+
# Hangouts Chat events.
268+
class DeprecatedEvent
269+
include Google::Apis::Core::Hashable
270+
271+
# A form action describes the behavior when the form is submitted.
272+
# For example, an Apps Script can be invoked to handle the form.
273+
# Corresponds to the JSON property `action`
274+
# @return [Google::Apis::ChatV1::FormAction]
275+
attr_accessor :action
276+
277+
# The URL the bot should redirect the user to after they have completed an
278+
# authorization or configuration flow outside of Hangouts Chat. See the
279+
# [Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p)
280+
# for more information.
281+
# Corresponds to the JSON property `configCompleteRedirectUrl`
282+
# @return [String]
283+
attr_accessor :config_complete_redirect_url
284+
285+
# The timestamp indicating when the event was dispatched.
286+
# Corresponds to the JSON property `eventTime`
287+
# @return [String]
288+
attr_accessor :event_time
289+
290+
# A message in Hangouts Chat.
291+
# Corresponds to the JSON property `message`
292+
# @return [Google::Apis::ChatV1::Message]
293+
attr_accessor :message
294+
295+
# A room or DM in Hangouts Chat.
296+
# Corresponds to the JSON property `space`
297+
# @return [Google::Apis::ChatV1::Space]
298+
attr_accessor :space
299+
300+
# The bot-defined key for the thread related to the event. See the
301+
# thread_key field of the
302+
# `spaces.message.create` request for more information.
303+
# Corresponds to the JSON property `threadKey`
304+
# @return [String]
305+
attr_accessor :thread_key
306+
307+
# A secret value that bots can use to verify if a request is from Google. The
308+
# token is randomly generated by Google, remains static, and can be obtained
309+
# from the Hangouts Chat API configuration page in the Cloud Console.
310+
# Developers can revoke/regenerate it if needed from the same page.
311+
# Corresponds to the JSON property `token`
312+
# @return [String]
313+
attr_accessor :token
314+
315+
# The type of the event.
316+
# Corresponds to the JSON property `type`
317+
# @return [String]
318+
attr_accessor :type
319+
320+
# A user in Hangouts Chat.
321+
# Corresponds to the JSON property `user`
322+
# @return [Google::Apis::ChatV1::User]
323+
attr_accessor :user
324+
325+
def initialize(**args)
326+
update!(**args)
327+
end
328+
329+
# Update properties of this object
330+
def update!(**args)
331+
@action = args[:action] if args.key?(:action)
332+
@config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url)
333+
@event_time = args[:event_time] if args.key?(:event_time)
334+
@message = args[:message] if args.key?(:message)
335+
@space = args[:space] if args.key?(:space)
336+
@thread_key = args[:thread_key] if args.key?(:thread_key)
337+
@token = args[:token] if args.key?(:token)
338+
@type = args[:type] if args.key?(:type)
339+
@user = args[:user] if args.key?(:user)
340+
end
341+
end
342+
267343
# A generic empty message that you can re-use to avoid defining duplicated
268344
# empty messages in your APIs. A typical example is to use it as the request
269345
# or the response type of an API method. For instance:

Diff for: generated/google/apis/chat_v1/representations.rb

+25
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
6464
include Google::Apis::Core::JsonObjectSupport
6565
end
6666

67+
class DeprecatedEvent
68+
class Representation < Google::Apis::Core::JsonRepresentation; end
69+
70+
include Google::Apis::Core::JsonObjectSupport
71+
end
72+
6773
class Empty
6874
class Representation < Google::Apis::Core::JsonRepresentation; end
6975

@@ -247,6 +253,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
247253
end
248254
end
249255

256+
class DeprecatedEvent
257+
# @private
258+
class Representation < Google::Apis::Core::JsonRepresentation
259+
property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation
260+
261+
property :config_complete_redirect_url, as: 'configCompleteRedirectUrl'
262+
property :event_time, as: 'eventTime'
263+
property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
264+
265+
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
266+
267+
property :thread_key, as: 'threadKey'
268+
property :token, as: 'token'
269+
property :type, as: 'type'
270+
property :user, as: 'user', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
271+
272+
end
273+
end
274+
250275
class Empty
251276
# @private
252277
class Representation < Google::Apis::Core::JsonRepresentation

Diff for: generated/google/apis/chat_v1/service.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Apis
2222
module ChatV1
2323
# Hangouts Chat API
2424
#
25-
# Enables bots to fetch information and perform actions in the new Hangouts Chat.
25+
# Enables bots to fetch information and perform actions in Hangouts Chat.
2626
#
2727
# @example
2828
# require 'google/apis/chat_v1'

Diff for: generated/google/apis/cloudshell_v1.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Apis
2626
# @see https://cloud.google.com/shell/docs/
2727
module CloudshellV1
2828
VERSION = 'V1'
29-
REVISION = '20171211'
29+
REVISION = '20180602'
3030

3131
# View and manage your data across Google Cloud Platform services
3232
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

Diff for: generated/google/apis/cloudshell_v1alpha1.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Apis
2626
# @see https://cloud.google.com/shell/docs/
2727
module CloudshellV1alpha1
2828
VERSION = 'V1alpha1'
29-
REVISION = '20171211'
29+
REVISION = '20180602'
3030

3131
# View and manage your data across Google Cloud Platform services
3232
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

Diff for: generated/google/apis/genomics_v2alpha1.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Apis
2525
# @see https://cloud.google.com/genomics
2626
module GenomicsV2alpha1
2727
VERSION = 'V2alpha1'
28-
REVISION = '20180528'
28+
REVISION = '20180601'
2929

3030
# View and manage your data across Google Cloud Platform services
3131
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

Diff for: generated/google/apis/genomics_v2alpha1/classes.rb

+7
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,12 @@ class Network
711711
# @return [String]
712712
attr_accessor :name
713713

714+
# If the specified network is configured for custom subnet creation, the
715+
# name of the subnetwork to attach the instance to must be specified here.
716+
# Corresponds to the JSON property `subnetwork`
717+
# @return [String]
718+
attr_accessor :subnetwork
719+
714720
# If set to true, do not attach a public IP address to the VM. Note that
715721
# without an public IP address, additional configuration is required to
716722
# allow the VM to access Google services.
@@ -728,6 +734,7 @@ def initialize(**args)
728734
# Update properties of this object
729735
def update!(**args)
730736
@name = args[:name] if args.key?(:name)
737+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
731738
@use_private_address = args[:use_private_address] if args.key?(:use_private_address)
732739
end
733740
end

Diff for: generated/google/apis/genomics_v2alpha1/representations.rb

+1
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ class Network
403403
# @private
404404
class Representation < Google::Apis::Core::JsonRepresentation
405405
property :name, as: 'name'
406+
property :subnetwork, as: 'subnetwork'
406407
property :use_private_address, as: 'usePrivateAddress'
407408
end
408409
end

Diff for: generated/google/apis/people_v1.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Apis
2525
# @see https://developers.google.com/people/
2626
module PeopleV1
2727
VERSION = 'V1'
28-
REVISION = '20180521'
28+
REVISION = '20180601'
2929

3030
# Manage your contacts
3131
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

Diff for: generated/google/apis/replicapool_v1beta2.rb

-44
This file was deleted.

0 commit comments

Comments
 (0)