google-apis-youtube_v3 0.36.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e53bf8be48108cb7ce3d63a9b18d26f750e88e0acd0a962c791f29097763bd7
4
- data.tar.gz: a4e938796e4728f9f79e31e720ba6147f322cb6edeff8c95b71b62d01f3b1c7f
3
+ metadata.gz: 3d9e9645982b3edc8a8c62242f2bb0f11f82c98afe5abdb1e85c3fd296d6df03
4
+ data.tar.gz: 635be64f4709a9620b0d42234c919f03b12fe4ef808a906686c68bfc5c5aa044
5
5
  SHA512:
6
- metadata.gz: 1f95aaa177e7294d408e8157c53642d4b68b29840225f5a09d23e0daa9471d698d677fc7f6f2a0b5ab27c0c0206a0e52e8b4b2cdf7f634f798ea9ec08fe8e21f
7
- data.tar.gz: 461fe6afa6224d9a808f19e3ed063819b6e7e5f861b0dced27a2cdb7e5d483b471a337aff4556d150461a456905f12aa7b9458111cc3662130ec7e41d0c9f93d
6
+ metadata.gz: 9a4ab6e701a6ba9724bf3389afbded9fca15ec37456ecd8ea411ae3165748a6022d90c4c6ec68fb373dfaf065d4185b60ce3a8d10b37a9c8984fe6376b4e1017
7
+ data.tar.gz: c2f2703d2c4c560dd39f56c70ec5183953e63a24b59ae6e0d6816503bc191632e587c44d5311eb9fb8347f5acb6ddbe5fc8033eabe7fe3901e7697d1e7e71c58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.37.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240213
6
+
3
7
  ### v0.36.0 (2024-01-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240123
@@ -1911,6 +1911,11 @@ module Google
1911
1911
  class ChannelToStoreLinkDetails
1912
1912
  include Google::Apis::Core::Hashable
1913
1913
 
1914
+ # Information specific to billing.
1915
+ # Corresponds to the JSON property `billingDetails`
1916
+ # @return [Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails]
1917
+ attr_accessor :billing_details
1918
+
1914
1919
  # Google Merchant Center id of the store.
1915
1920
  # Corresponds to the JSON property `merchantId`
1916
1921
  # @return [Fixnum]
@@ -1932,12 +1937,32 @@ module Google
1932
1937
 
1933
1938
  # Update properties of this object
1934
1939
  def update!(**args)
1940
+ @billing_details = args[:billing_details] if args.key?(:billing_details)
1935
1941
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
1936
1942
  @store_name = args[:store_name] if args.key?(:store_name)
1937
1943
  @store_url = args[:store_url] if args.key?(:store_url)
1938
1944
  end
1939
1945
  end
1940
1946
 
1947
+ # Information specific to billing.
1948
+ class ChannelToStoreLinkDetailsBillingDetails
1949
+ include Google::Apis::Core::Hashable
1950
+
1951
+ # The current billing profile status.
1952
+ # Corresponds to the JSON property `billingStatus`
1953
+ # @return [String]
1954
+ attr_accessor :billing_status
1955
+
1956
+ def initialize(**args)
1957
+ update!(**args)
1958
+ end
1959
+
1960
+ # Update properties of this object
1961
+ def update!(**args)
1962
+ @billing_status = args[:billing_status] if args.key?(:billing_status)
1963
+ end
1964
+ end
1965
+
1941
1966
  # Freebase topic information related to the channel.
1942
1967
  class ChannelTopicDetails
1943
1968
  include Google::Apis::Core::Hashable
@@ -4308,7 +4333,7 @@ module Google
4308
4333
  # @return [String]
4309
4334
  attr_accessor :kind
4310
4335
 
4311
- # Next ID: 33
4336
+ # Next ID: 34
4312
4337
  # Corresponds to the JSON property `snippet`
4313
4338
  # @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet]
4314
4339
  attr_accessor :snippet
@@ -4505,7 +4530,7 @@ module Google
4505
4530
  end
4506
4531
  end
4507
4532
 
4508
- # Next ID: 33
4533
+ # Next ID: 34
4509
4534
  class LiveChatMessageSnippet
4510
4535
  include Google::Apis::Core::Hashable
4511
4536
 
@@ -4518,7 +4543,8 @@ module Google
4518
4543
  # messageDeletedEvent - the moderator that took the action messageRetractedEvent
4519
4544
  # - the author that retracted their message userBannedEvent - the moderator that
4520
4545
  # took the action superChatEvent - the user that made the purchase
4521
- # superStickerEvent - the user that made the purchase
4546
+ # superStickerEvent - the user that made the purchase pollEvent - the user that
4547
+ # created the poll
4522
4548
  # Corresponds to the JSON property `authorChannelId`
4523
4549
  # @return [String]
4524
4550
  attr_accessor :author_channel_id
@@ -4581,6 +4607,11 @@ module Google
4581
4607
  # @return [Google::Apis::YoutubeV3::LiveChatNewSponsorDetails]
4582
4608
  attr_accessor :new_sponsor_details
4583
4609
 
4610
+ # Details about the poll event, this is only set if the type is 'pollEvent'.
4611
+ # Corresponds to the JSON property `pollDetails`
4612
+ # @return [Google::Apis::YoutubeV3::LiveChatPollDetails]
4613
+ attr_accessor :poll_details
4614
+
4584
4615
  # The date and time when the message was orignally published.
4585
4616
  # Corresponds to the JSON property `publishedAt`
4586
4617
  # @return [DateTime]
@@ -4632,6 +4663,7 @@ module Google
4632
4663
  @message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details)
4633
4664
  @message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details)
4634
4665
  @new_sponsor_details = args[:new_sponsor_details] if args.key?(:new_sponsor_details)
4666
+ @poll_details = args[:poll_details] if args.key?(:poll_details)
4635
4667
  @published_at = args[:published_at] if args.key?(:published_at)
4636
4668
  @super_chat_details = args[:super_chat_details] if args.key?(:super_chat_details)
4637
4669
  @super_sticker_details = args[:super_sticker_details] if args.key?(:super_sticker_details)
@@ -4806,6 +4838,81 @@ module Google
4806
4838
  end
4807
4839
  end
4808
4840
 
4841
+ #
4842
+ class LiveChatPollDetails
4843
+ include Google::Apis::Core::Hashable
4844
+
4845
+ #
4846
+ # Corresponds to the JSON property `metadata`
4847
+ # @return [Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata]
4848
+ attr_accessor :metadata
4849
+
4850
+ #
4851
+ # Corresponds to the JSON property `status`
4852
+ # @return [String]
4853
+ attr_accessor :status
4854
+
4855
+ def initialize(**args)
4856
+ update!(**args)
4857
+ end
4858
+
4859
+ # Update properties of this object
4860
+ def update!(**args)
4861
+ @metadata = args[:metadata] if args.key?(:metadata)
4862
+ @status = args[:status] if args.key?(:status)
4863
+ end
4864
+ end
4865
+
4866
+ #
4867
+ class LiveChatPollDetailsPollMetadata
4868
+ include Google::Apis::Core::Hashable
4869
+
4870
+ # The options will be returned in the order that is displayed in 1P
4871
+ # Corresponds to the JSON property `options`
4872
+ # @return [Array<Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadataPollOption>]
4873
+ attr_accessor :options
4874
+
4875
+ #
4876
+ # Corresponds to the JSON property `questionText`
4877
+ # @return [String]
4878
+ attr_accessor :question_text
4879
+
4880
+ def initialize(**args)
4881
+ update!(**args)
4882
+ end
4883
+
4884
+ # Update properties of this object
4885
+ def update!(**args)
4886
+ @options = args[:options] if args.key?(:options)
4887
+ @question_text = args[:question_text] if args.key?(:question_text)
4888
+ end
4889
+ end
4890
+
4891
+ #
4892
+ class LiveChatPollDetailsPollMetadataPollOption
4893
+ include Google::Apis::Core::Hashable
4894
+
4895
+ #
4896
+ # Corresponds to the JSON property `optionText`
4897
+ # @return [String]
4898
+ attr_accessor :option_text
4899
+
4900
+ #
4901
+ # Corresponds to the JSON property `tally`
4902
+ # @return [Fixnum]
4903
+ attr_accessor :tally
4904
+
4905
+ def initialize(**args)
4906
+ update!(**args)
4907
+ end
4908
+
4909
+ # Update properties of this object
4910
+ def update!(**args)
4911
+ @option_text = args[:option_text] if args.key?(:option_text)
4912
+ @tally = args[:tally] if args.key?(:tally)
4913
+ end
4914
+ end
4915
+
4809
4916
  #
4810
4917
  class LiveChatSuperChatDetails
4811
4918
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module YoutubeV3
18
18
  # Version of the google-apis-youtube_v3 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240123"
25
+ REVISION = "20240213"
26
26
  end
27
27
  end
28
28
  end
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class ChannelToStoreLinkDetailsBillingDetails
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class ChannelTopicDetails
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -592,6 +598,24 @@ module Google
592
598
  include Google::Apis::Core::JsonObjectSupport
593
599
  end
594
600
 
601
+ class LiveChatPollDetails
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class LiveChatPollDetailsPollMetadata
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class LiveChatPollDetailsPollMetadataPollOption
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class LiveChatSuperChatDetails
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -1706,12 +1730,21 @@ module Google
1706
1730
  class ChannelToStoreLinkDetails
1707
1731
  # @private
1708
1732
  class Representation < Google::Apis::Core::JsonRepresentation
1733
+ property :billing_details, as: 'billingDetails', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails::Representation
1734
+
1709
1735
  property :merchant_id, :numeric_string => true, as: 'merchantId'
1710
1736
  property :store_name, as: 'storeName'
1711
1737
  property :store_url, as: 'storeUrl'
1712
1738
  end
1713
1739
  end
1714
1740
 
1741
+ class ChannelToStoreLinkDetailsBillingDetails
1742
+ # @private
1743
+ class Representation < Google::Apis::Core::JsonRepresentation
1744
+ property :billing_status, as: 'billingStatus'
1745
+ end
1746
+ end
1747
+
1715
1748
  class ChannelTopicDetails
1716
1749
  # @private
1717
1750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2349,6 +2382,8 @@ module Google
2349
2382
 
2350
2383
  property :new_sponsor_details, as: 'newSponsorDetails', class: Google::Apis::YoutubeV3::LiveChatNewSponsorDetails, decorator: Google::Apis::YoutubeV3::LiveChatNewSponsorDetails::Representation
2351
2384
 
2385
+ property :poll_details, as: 'pollDetails', class: Google::Apis::YoutubeV3::LiveChatPollDetails, decorator: Google::Apis::YoutubeV3::LiveChatPollDetails::Representation
2386
+
2352
2387
  property :published_at, as: 'publishedAt', type: DateTime
2353
2388
 
2354
2389
  property :super_chat_details, as: 'superChatDetails', class: Google::Apis::YoutubeV3::LiveChatSuperChatDetails, decorator: Google::Apis::YoutubeV3::LiveChatSuperChatDetails::Representation
@@ -2409,6 +2444,32 @@ module Google
2409
2444
  end
2410
2445
  end
2411
2446
 
2447
+ class LiveChatPollDetails
2448
+ # @private
2449
+ class Representation < Google::Apis::Core::JsonRepresentation
2450
+ property :metadata, as: 'metadata', class: Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata, decorator: Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata::Representation
2451
+
2452
+ property :status, as: 'status'
2453
+ end
2454
+ end
2455
+
2456
+ class LiveChatPollDetailsPollMetadata
2457
+ # @private
2458
+ class Representation < Google::Apis::Core::JsonRepresentation
2459
+ collection :options, as: 'options', class: Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadataPollOption, decorator: Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadataPollOption::Representation
2460
+
2461
+ property :question_text, as: 'questionText'
2462
+ end
2463
+ end
2464
+
2465
+ class LiveChatPollDetailsPollMetadataPollOption
2466
+ # @private
2467
+ class Representation < Google::Apis::Core::JsonRepresentation
2468
+ property :option_text, as: 'optionText'
2469
+ property :tally, :numeric_string => true, as: 'tally'
2470
+ end
2471
+ end
2472
+
2412
2473
  class LiveChatSuperChatDetails
2413
2474
  # @private
2414
2475
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-youtube_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
63
63
  post_install_message:
64
64
  rdoc_options: []