google-api-client 0.9.26 → 0.9.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +36326 -36213
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +155 -155
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +32 -32
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +104 -104
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/appstate_v1.rb +1 -1
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  15. data/generated/google/apis/cloudbuild_v1/classes.rb +260 -248
  16. data/generated/google/apis/cloudbuild_v1/representations.rb +47 -45
  17. data/generated/google/apis/cloudbuild_v1/service.rb +167 -167
  18. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  19. data/generated/google/apis/clouddebugger_v2/classes.rb +569 -569
  20. data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
  21. data/generated/google/apis/clouddebugger_v2/service.rb +145 -145
  22. data/generated/google/apis/cloudkms_v1beta1.rb +4 -3
  23. data/generated/google/apis/cloudkms_v1beta1/classes.rb +428 -428
  24. data/generated/google/apis/cloudkms_v1beta1/representations.rb +115 -115
  25. data/generated/google/apis/cloudkms_v1beta1/service.rb +161 -160
  26. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +583 -583
  29. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +100 -100
  30. data/generated/google/apis/cloudresourcemanager_v1/service.rb +116 -116
  31. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +195 -195
  33. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +58 -58
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +316 -316
  35. data/generated/google/apis/content_v2.rb +1 -1
  36. data/generated/google/apis/content_v2/classes.rb +12 -0
  37. data/generated/google/apis/content_v2/representations.rb +2 -0
  38. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  39. data/generated/google/apis/dataflow_v1b3/classes.rb +2833 -2694
  40. data/generated/google/apis/dataflow_v1b3/representations.rb +666 -666
  41. data/generated/google/apis/dataflow_v1b3/service.rb +351 -349
  42. data/generated/google/apis/datastore_v1.rb +1 -1
  43. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  44. data/generated/google/apis/deploymentmanager_v2/classes.rb +21 -12
  45. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  46. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -5
  47. data/generated/google/apis/dns_v1.rb +1 -1
  48. data/generated/google/apis/dns_v2beta1.rb +1 -1
  49. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  50. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  51. data/generated/google/apis/drive_v2.rb +1 -1
  52. data/generated/google/apis/drive_v2/classes.rb +26 -0
  53. data/generated/google/apis/drive_v2/representations.rb +14 -0
  54. data/generated/google/apis/drive_v2/service.rb +38 -2
  55. data/generated/google/apis/drive_v3.rb +1 -1
  56. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  57. data/generated/google/apis/games_management_v1management.rb +1 -1
  58. data/generated/google/apis/games_v1.rb +1 -1
  59. data/generated/google/apis/genomics_v1.rb +4 -4
  60. data/generated/google/apis/genomics_v1/classes.rb +2317 -2317
  61. data/generated/google/apis/genomics_v1/representations.rb +476 -476
  62. data/generated/google/apis/genomics_v1/service.rb +1038 -1038
  63. data/generated/google/apis/gmail_v1.rb +1 -1
  64. data/generated/google/apis/gmail_v1/classes.rb +82 -1
  65. data/generated/google/apis/gmail_v1/representations.rb +33 -0
  66. data/generated/google/apis/gmail_v1/service.rb +215 -5
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +446 -343
  69. data/generated/google/apis/iam_v1/representations.rb +112 -85
  70. data/generated/google/apis/iam_v1/service.rb +248 -192
  71. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  72. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  73. data/generated/google/apis/kgsearch_v1/service.rb +15 -15
  74. data/generated/google/apis/language_v1beta1.rb +1 -1
  75. data/generated/google/apis/language_v1beta1/classes.rb +396 -396
  76. data/generated/google/apis/language_v1beta1/representations.rb +97 -97
  77. data/generated/google/apis/language_v1beta1/service.rb +42 -42
  78. data/generated/google/apis/logging_v2beta1.rb +1 -1
  79. data/generated/google/apis/logging_v2beta1/classes.rb +855 -855
  80. data/generated/google/apis/logging_v2beta1/representations.rb +155 -155
  81. data/generated/google/apis/logging_v2beta1/service.rb +214 -214
  82. data/generated/google/apis/monitoring_v3.rb +4 -4
  83. data/generated/google/apis/monitoring_v3/classes.rb +551 -551
  84. data/generated/google/apis/monitoring_v3/representations.rb +123 -123
  85. data/generated/google/apis/monitoring_v3/service.rb +80 -80
  86. data/generated/google/apis/plus_domains_v1.rb +1 -1
  87. data/generated/google/apis/plus_v1.rb +1 -1
  88. data/generated/google/apis/pubsub_v1.rb +3 -3
  89. data/generated/google/apis/pubsub_v1/classes.rb +391 -391
  90. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  91. data/generated/google/apis/pubsub_v1/service.rb +257 -257
  92. data/generated/google/apis/sheets_v4.rb +1 -1
  93. data/generated/google/apis/sheets_v4/classes.rb +4334 -4334
  94. data/generated/google/apis/sheets_v4/representations.rb +861 -861
  95. data/generated/google/apis/sheets_v4/service.rb +191 -191
  96. data/generated/google/apis/slides_v1.rb +7 -7
  97. data/generated/google/apis/slides_v1/classes.rb +2726 -2555
  98. data/generated/google/apis/slides_v1/representations.rb +678 -607
  99. data/generated/google/apis/slides_v1/service.rb +16 -16
  100. data/generated/google/apis/speech_v1beta1.rb +1 -1
  101. data/generated/google/apis/speech_v1beta1/classes.rb +57 -59
  102. data/generated/google/apis/speech_v1beta1/representations.rb +9 -9
  103. data/generated/google/apis/speech_v1beta1/service.rb +63 -63
  104. data/generated/google/apis/storage_v1.rb +1 -1
  105. data/generated/google/apis/storage_v1/classes.rb +4 -3
  106. data/generated/google/apis/vision_v1/classes.rb +925 -925
  107. data/generated/google/apis/vision_v1/representations.rb +134 -134
  108. data/generated/google/apis/vision_v1/service.rb +4 -4
  109. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  110. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  111. data/generated/google/apis/youtube_v3.rb +1 -1
  112. data/generated/google/apis/youtube_v3/classes.rb +234 -1
  113. data/generated/google/apis/youtube_v3/representations.rb +83 -0
  114. data/generated/google/apis/youtube_v3/service.rb +55 -0
  115. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  116. data/generated/google/apis/youtubereporting_v1/classes.rb +105 -105
  117. data/generated/google/apis/youtubereporting_v1/representations.rb +31 -31
  118. data/generated/google/apis/youtubereporting_v1/service.rb +78 -78
  119. data/lib/google/apis/core/api_command.rb +11 -5
  120. data/lib/google/apis/core/base_service.rb +7 -5
  121. data/lib/google/apis/errors.rb +4 -0
  122. data/lib/google/apis/version.rb +1 -1
  123. metadata +28 -28
@@ -50,11 +50,11 @@ module Google
50
50
 
51
51
  # Run image detection and annotation for a batch of images.
52
52
  # @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
53
- # @param [String] fields
54
- # Selector specifying which fields to include in a partial response.
55
53
  # @param [String] quota_user
56
54
  # Available to use for quota purposes for server-side applications. Can be any
57
55
  # arbitrary string assigned to a user, but should not exceed 40 characters.
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
58
  # @param [Google::Apis::RequestOptions] options
59
59
  # Request-specific options
60
60
  #
@@ -67,14 +67,14 @@ module Google
67
67
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
68
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
69
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
- def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
70
+ def annotate_image(batch_annotate_images_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
71
71
  command = make_simple_command(:post, 'v1/images:annotate', options)
72
72
  command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
73
73
  command.request_object = batch_annotate_images_request_object
74
74
  command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
75
75
  command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
76
- command.query['fields'] = fields unless fields.nil?
77
76
  command.query['quotaUser'] = quota_user unless quota_user.nil?
77
+ command.query['fields'] = fields unless fields.nil?
78
78
  execute_or_queue_command(command, &block)
79
79
  end
80
80
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see http://developers.google.com/youtube/analytics/
26
26
  module YoutubeAnalyticsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170125'
28
+ REVISION = '20170201'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170124'
28
+ REVISION = '20170131'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/youtube/v3
27
27
  module YoutubeV3
28
28
  VERSION = 'V3'
29
- REVISION = '20161202'
29
+ REVISION = '20170130'
30
30
 
31
31
  # Manage your YouTube account
32
32
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -1861,6 +1861,11 @@ module Google
1861
1861
  class ChannelTopicDetails
1862
1862
  include Google::Apis::Core::Hashable
1863
1863
 
1864
+ # A list of Wikipedia URLs that describe the channel's content.
1865
+ # Corresponds to the JSON property `topicCategories`
1866
+ # @return [Array<String>]
1867
+ attr_accessor :topic_categories
1868
+
1864
1869
  # A list of Freebase topic IDs associated with the channel. You can retrieve
1865
1870
  # information about each topic using the Freebase Topic API.
1866
1871
  # Corresponds to the JSON property `topicIds`
@@ -1873,6 +1878,7 @@ module Google
1873
1878
 
1874
1879
  # Update properties of this object
1875
1880
  def update!(**args)
1881
+ @topic_categories = args[:topic_categories] if args.key?(:topic_categories)
1876
1882
  @topic_ids = args[:topic_ids] if args.key?(:topic_ids)
1877
1883
  end
1878
1884
  end
@@ -4493,7 +4499,8 @@ module Google
4493
4499
  # that funded the broadcast newSponsorEvent - the user that just became a
4494
4500
  # sponsor messageDeletedEvent - the moderator that took the action
4495
4501
  # messageRetractedEvent - the author that retracted their message
4496
- # userBannedEvent - the moderator that took the action
4502
+ # userBannedEvent - the moderator that took the action superChatEvent - the user
4503
+ # that made the purchase
4497
4504
  # Corresponds to the JSON property `authorChannelId`
4498
4505
  # @return [String]
4499
4506
  attr_accessor :author_channel_id
@@ -4558,6 +4565,12 @@ module Google
4558
4565
  # @return [DateTime]
4559
4566
  attr_accessor :published_at
4560
4567
 
4568
+ # Details about the Super Chat event, this is only set if the type is '
4569
+ # superChatEvent'.
4570
+ # Corresponds to the JSON property `superChatDetails`
4571
+ # @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails]
4572
+ attr_accessor :super_chat_details
4573
+
4561
4574
  # Details about the text message, this is only set if the type is '
4562
4575
  # textMessageEvent'.
4563
4576
  # Corresponds to the JSON property `textMessageDetails`
@@ -4593,6 +4606,7 @@ module Google
4593
4606
  @poll_opened_details = args[:poll_opened_details] if args.key?(:poll_opened_details)
4594
4607
  @poll_voted_details = args[:poll_voted_details] if args.key?(:poll_voted_details)
4595
4608
  @published_at = args[:published_at] if args.key?(:published_at)
4609
+ @super_chat_details = args[:super_chat_details] if args.key?(:super_chat_details)
4596
4610
  @text_message_details = args[:text_message_details] if args.key?(:text_message_details)
4597
4611
  @type = args[:type] if args.key?(:type)
4598
4612
  @user_banned_details = args[:user_banned_details] if args.key?(:user_banned_details)
@@ -4866,6 +4880,50 @@ module Google
4866
4880
  end
4867
4881
  end
4868
4882
 
4883
+ #
4884
+ class LiveChatSuperChatDetails
4885
+ include Google::Apis::Core::Hashable
4886
+
4887
+ # A rendered string that displays the fund amount and currency to the user.
4888
+ # Corresponds to the JSON property `amountDisplayString`
4889
+ # @return [String]
4890
+ attr_accessor :amount_display_string
4891
+
4892
+ # The amount purchased by the user, in micros (1,750,000 micros = 1.75).
4893
+ # Corresponds to the JSON property `amountMicros`
4894
+ # @return [String]
4895
+ attr_accessor :amount_micros
4896
+
4897
+ # The currency in which the purchase was made.
4898
+ # Corresponds to the JSON property `currency`
4899
+ # @return [String]
4900
+ attr_accessor :currency
4901
+
4902
+ # The tier in which the amount belongs to. Lower amounts belong to lower tiers.
4903
+ # Starts at 1.
4904
+ # Corresponds to the JSON property `tier`
4905
+ # @return [Fixnum]
4906
+ attr_accessor :tier
4907
+
4908
+ # The comment added by the user to this Super Chat event.
4909
+ # Corresponds to the JSON property `userComment`
4910
+ # @return [String]
4911
+ attr_accessor :user_comment
4912
+
4913
+ def initialize(**args)
4914
+ update!(**args)
4915
+ end
4916
+
4917
+ # Update properties of this object
4918
+ def update!(**args)
4919
+ @amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string)
4920
+ @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
4921
+ @currency = args[:currency] if args.key?(:currency)
4922
+ @tier = args[:tier] if args.key?(:tier)
4923
+ @user_comment = args[:user_comment] if args.key?(:user_comment)
4924
+ end
4925
+ end
4926
+
4869
4927
  #
4870
4928
  class LiveChatTextMessageDetails
4871
4929
  include Google::Apis::Core::Hashable
@@ -6648,6 +6706,174 @@ module Google
6648
6706
  end
6649
6707
  end
6650
6708
 
6709
+ # A superChatEvent resource represents a Super Chat purchase on a YouTube
6710
+ # channel.
6711
+ class SuperChatEvent
6712
+ include Google::Apis::Core::Hashable
6713
+
6714
+ # Etag of this resource.
6715
+ # Corresponds to the JSON property `etag`
6716
+ # @return [String]
6717
+ attr_accessor :etag
6718
+
6719
+ # The ID that YouTube assigns to uniquely identify the Super Chat event.
6720
+ # Corresponds to the JSON property `id`
6721
+ # @return [String]
6722
+ attr_accessor :id
6723
+
6724
+ # Identifies what kind of resource this is. Value: the fixed string "youtube#
6725
+ # superChatEvent".
6726
+ # Corresponds to the JSON property `kind`
6727
+ # @return [String]
6728
+ attr_accessor :kind
6729
+
6730
+ # The snippet object contains basic details about the Super Chat event.
6731
+ # Corresponds to the JSON property `snippet`
6732
+ # @return [Google::Apis::YoutubeV3::SuperChatEventSnippet]
6733
+ attr_accessor :snippet
6734
+
6735
+ def initialize(**args)
6736
+ update!(**args)
6737
+ end
6738
+
6739
+ # Update properties of this object
6740
+ def update!(**args)
6741
+ @etag = args[:etag] if args.key?(:etag)
6742
+ @id = args[:id] if args.key?(:id)
6743
+ @kind = args[:kind] if args.key?(:kind)
6744
+ @snippet = args[:snippet] if args.key?(:snippet)
6745
+ end
6746
+ end
6747
+
6748
+ #
6749
+ class SuperChatEventListResponse
6750
+ include Google::Apis::Core::Hashable
6751
+
6752
+ # Etag of this resource.
6753
+ # Corresponds to the JSON property `etag`
6754
+ # @return [String]
6755
+ attr_accessor :etag
6756
+
6757
+ # Serialized EventId of the request which produced this response.
6758
+ # Corresponds to the JSON property `eventId`
6759
+ # @return [String]
6760
+ attr_accessor :event_id
6761
+
6762
+ # A list of Super Chat purchases that match the request criteria.
6763
+ # Corresponds to the JSON property `items`
6764
+ # @return [Array<Google::Apis::YoutubeV3::SuperChatEvent>]
6765
+ attr_accessor :items
6766
+
6767
+ # Identifies what kind of resource this is. Value: the fixed string "youtube#
6768
+ # superChatEventListResponse".
6769
+ # Corresponds to the JSON property `kind`
6770
+ # @return [String]
6771
+ attr_accessor :kind
6772
+
6773
+ # The token that can be used as the value of the pageToken parameter to retrieve
6774
+ # the next page in the result set.
6775
+ # Corresponds to the JSON property `nextPageToken`
6776
+ # @return [String]
6777
+ attr_accessor :next_page_token
6778
+
6779
+ # Paging details for lists of resources, including total number of items
6780
+ # available and number of resources returned in a single page.
6781
+ # Corresponds to the JSON property `pageInfo`
6782
+ # @return [Google::Apis::YoutubeV3::PageInfo]
6783
+ attr_accessor :page_info
6784
+
6785
+ # Stub token pagination template to suppress results.
6786
+ # Corresponds to the JSON property `tokenPagination`
6787
+ # @return [Google::Apis::YoutubeV3::TokenPagination]
6788
+ attr_accessor :token_pagination
6789
+
6790
+ # The visitorId identifies the visitor.
6791
+ # Corresponds to the JSON property `visitorId`
6792
+ # @return [String]
6793
+ attr_accessor :visitor_id
6794
+
6795
+ def initialize(**args)
6796
+ update!(**args)
6797
+ end
6798
+
6799
+ # Update properties of this object
6800
+ def update!(**args)
6801
+ @etag = args[:etag] if args.key?(:etag)
6802
+ @event_id = args[:event_id] if args.key?(:event_id)
6803
+ @items = args[:items] if args.key?(:items)
6804
+ @kind = args[:kind] if args.key?(:kind)
6805
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6806
+ @page_info = args[:page_info] if args.key?(:page_info)
6807
+ @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
6808
+ @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
6809
+ end
6810
+ end
6811
+
6812
+ #
6813
+ class SuperChatEventSnippet
6814
+ include Google::Apis::Core::Hashable
6815
+
6816
+ # The purchase amount, in micros of the purchase currency. e.g., 1 is
6817
+ # represented as 1000000.
6818
+ # Corresponds to the JSON property `amountMicros`
6819
+ # @return [String]
6820
+ attr_accessor :amount_micros
6821
+
6822
+ # Channel id where the event occurred.
6823
+ # Corresponds to the JSON property `channelId`
6824
+ # @return [String]
6825
+ attr_accessor :channel_id
6826
+
6827
+ # The text contents of the comment left by the user.
6828
+ # Corresponds to the JSON property `commentText`
6829
+ # @return [String]
6830
+ attr_accessor :comment_text
6831
+
6832
+ # The date and time when the event occurred. The value is specified in ISO 8601 (
6833
+ # YYYY-MM-DDThh:mm:ss.sZ) format.
6834
+ # Corresponds to the JSON property `createdAt`
6835
+ # @return [DateTime]
6836
+ attr_accessor :created_at
6837
+
6838
+ # The currency in which the purchase was made. ISO 4217.
6839
+ # Corresponds to the JSON property `currency`
6840
+ # @return [String]
6841
+ attr_accessor :currency
6842
+
6843
+ # A rendered string that displays the purchase amount and currency (e.g., "$1.00"
6844
+ # ). The string is rendered for the given language.
6845
+ # Corresponds to the JSON property `displayString`
6846
+ # @return [String]
6847
+ attr_accessor :display_string
6848
+
6849
+ # The tier for the paid message, which is based on the amount of money spent to
6850
+ # purchase the message.
6851
+ # Corresponds to the JSON property `messageType`
6852
+ # @return [Fixnum]
6853
+ attr_accessor :message_type
6854
+
6855
+ # Details about the supporter.
6856
+ # Corresponds to the JSON property `supporterDetails`
6857
+ # @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
6858
+ attr_accessor :supporter_details
6859
+
6860
+ def initialize(**args)
6861
+ update!(**args)
6862
+ end
6863
+
6864
+ # Update properties of this object
6865
+ def update!(**args)
6866
+ @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
6867
+ @channel_id = args[:channel_id] if args.key?(:channel_id)
6868
+ @comment_text = args[:comment_text] if args.key?(:comment_text)
6869
+ @created_at = args[:created_at] if args.key?(:created_at)
6870
+ @currency = args[:currency] if args.key?(:currency)
6871
+ @display_string = args[:display_string] if args.key?(:display_string)
6872
+ @message_type = args[:message_type] if args.key?(:message_type)
6873
+ @supporter_details = args[:supporter_details] if args.key?(:supporter_details)
6874
+ end
6875
+ end
6876
+
6651
6877
  # A thumbnail is an image representing a YouTube resource.
6652
6878
  class Thumbnail
6653
6879
  include Google::Apis::Core::Hashable
@@ -8320,6 +8546,12 @@ module Google
8320
8546
  # @return [Array<String>]
8321
8547
  attr_accessor :relevant_topic_ids
8322
8548
 
8549
+ # A list of Wikipedia URLs that provide a high-level description of the video's
8550
+ # content.
8551
+ # Corresponds to the JSON property `topicCategories`
8552
+ # @return [Array<String>]
8553
+ attr_accessor :topic_categories
8554
+
8323
8555
  # A list of Freebase topic IDs that are centrally associated with the video.
8324
8556
  # These are topics that are centrally featured in the video, and it can be said
8325
8557
  # that the video is mainly about each of these. You can retrieve information
@@ -8335,6 +8567,7 @@ module Google
8335
8567
  # Update properties of this object
8336
8568
  def update!(**args)
8337
8569
  @relevant_topic_ids = args[:relevant_topic_ids] if args.key?(:relevant_topic_ids)
8570
+ @topic_categories = args[:topic_categories] if args.key?(:topic_categories)
8338
8571
  @topic_ids = args[:topic_ids] if args.key?(:topic_ids)
8339
8572
  end
8340
8573
  end
@@ -604,6 +604,12 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class LiveChatSuperChatDetails
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
607
613
  class LiveChatTextMessageDetails
608
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
615
 
@@ -844,6 +850,24 @@ module Google
844
850
  include Google::Apis::Core::JsonObjectSupport
845
851
  end
846
852
 
853
+ class SuperChatEvent
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class SuperChatEventListResponse
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class SuperChatEventSnippet
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
847
871
  class Thumbnail
848
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
873
 
@@ -1579,6 +1603,7 @@ module Google
1579
1603
  class ChannelTopicDetails
1580
1604
  # @private
1581
1605
  class Representation < Google::Apis::Core::JsonRepresentation
1606
+ collection :topic_categories, as: 'topicCategories'
1582
1607
  collection :topic_ids, as: 'topicIds'
1583
1608
  end
1584
1609
  end
@@ -2242,6 +2267,8 @@ module Google
2242
2267
 
2243
2268
  property :published_at, as: 'publishedAt', type: DateTime
2244
2269
 
2270
+ property :super_chat_details, as: 'superChatDetails', class: Google::Apis::YoutubeV3::LiveChatSuperChatDetails, decorator: Google::Apis::YoutubeV3::LiveChatSuperChatDetails::Representation
2271
+
2245
2272
  property :text_message_details, as: 'textMessageDetails', class: Google::Apis::YoutubeV3::LiveChatTextMessageDetails, decorator: Google::Apis::YoutubeV3::LiveChatTextMessageDetails::Representation
2246
2273
 
2247
2274
  property :type, as: 'type'
@@ -2331,6 +2358,17 @@ module Google
2331
2358
  end
2332
2359
  end
2333
2360
 
2361
+ class LiveChatSuperChatDetails
2362
+ # @private
2363
+ class Representation < Google::Apis::Core::JsonRepresentation
2364
+ property :amount_display_string, as: 'amountDisplayString'
2365
+ property :amount_micros, as: 'amountMicros'
2366
+ property :currency, as: 'currency'
2367
+ property :tier, as: 'tier'
2368
+ property :user_comment, as: 'userComment'
2369
+ end
2370
+ end
2371
+
2334
2372
  class LiveChatTextMessageDetails
2335
2373
  # @private
2336
2374
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2816,6 +2854,50 @@ module Google
2816
2854
  end
2817
2855
  end
2818
2856
 
2857
+ class SuperChatEvent
2858
+ # @private
2859
+ class Representation < Google::Apis::Core::JsonRepresentation
2860
+ property :etag, as: 'etag'
2861
+ property :id, as: 'id'
2862
+ property :kind, as: 'kind'
2863
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SuperChatEventSnippet, decorator: Google::Apis::YoutubeV3::SuperChatEventSnippet::Representation
2864
+
2865
+ end
2866
+ end
2867
+
2868
+ class SuperChatEventListResponse
2869
+ # @private
2870
+ class Representation < Google::Apis::Core::JsonRepresentation
2871
+ property :etag, as: 'etag'
2872
+ property :event_id, as: 'eventId'
2873
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::SuperChatEvent, decorator: Google::Apis::YoutubeV3::SuperChatEvent::Representation
2874
+
2875
+ property :kind, as: 'kind'
2876
+ property :next_page_token, as: 'nextPageToken'
2877
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
2878
+
2879
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
2880
+
2881
+ property :visitor_id, as: 'visitorId'
2882
+ end
2883
+ end
2884
+
2885
+ class SuperChatEventSnippet
2886
+ # @private
2887
+ class Representation < Google::Apis::Core::JsonRepresentation
2888
+ property :amount_micros, as: 'amountMicros'
2889
+ property :channel_id, as: 'channelId'
2890
+ property :comment_text, as: 'commentText'
2891
+ property :created_at, as: 'createdAt', type: DateTime
2892
+
2893
+ property :currency, as: 'currency'
2894
+ property :display_string, as: 'displayString'
2895
+ property :message_type, as: 'messageType'
2896
+ property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
2897
+
2898
+ end
2899
+ end
2900
+
2819
2901
  class Thumbnail
2820
2902
  # @private
2821
2903
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3256,6 +3338,7 @@ module Google
3256
3338
  # @private
3257
3339
  class Representation < Google::Apis::Core::JsonRepresentation
3258
3340
  collection :relevant_topic_ids, as: 'relevantTopicIds'
3341
+ collection :topic_categories, as: 'topicCategories'
3259
3342
  collection :topic_ids, as: 'topicIds'
3260
3343
  end
3261
3344
  end