google-apis-youtube_v3 0.50.0 → 0.52.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: 2815bf0f9c47f041a65a5abba63a9ca29b36776923714c385e36552ae46ecddc
4
- data.tar.gz: e586aa3170aa3878c9b6c76163a85f560d9a9c9cba9ab59f2ac14665d458d8f3
3
+ metadata.gz: f451150bb3f051a017ce043089925bcced2e2e62c0057f2474d2532d42f8d1bf
4
+ data.tar.gz: d0f4ab784a7cd38f4507d834e422f0d2a500ce71323989cf7b09cd88211beb74
5
5
  SHA512:
6
- metadata.gz: 232b17d15675b11c3157665716cc0ee60c41063cd24c60f03e9ad948f799da4310bc2c09aa839797667dde58f3f82b86e57137497e8c2c93adc1868dc730e0a9
7
- data.tar.gz: '09482e3567a2ffc4ce18b45a899f90d6fb8af26400c8b83814dd5147d1c17ab1d06d0c0632beea6bde5a5fcf12f966b993adc46dabe4a756761b9e5fc9b8e42b'
6
+ metadata.gz: a346154a6ff1d042e51dd4e2abf8a92eb8ef531fd776cd97b72d318baa15f29f2c42ba0862fbe89e94eda29a39a8a62549d10d17568de499ce923efc60753c68
7
+ data.tar.gz: 9f8c5914f9b79040b31d514972ab226af05a9706cb5cb782f12348da0aa13413ddd78380a22967fef29a8a703d889db4541e2c88b980dfc8faf4a325ec722be3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.52.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241203
6
+
7
+ ### v0.51.0 (2024-11-24)
8
+
9
+ * Regenerated from discovery document revision 20241117
10
+
3
11
  ### v0.50.0 (2024-11-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20241105
@@ -1916,6 +1916,11 @@ module Google
1916
1916
  # @return [Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails]
1917
1917
  attr_accessor :billing_details
1918
1918
 
1919
+ # Information specific to merchant affiliate program.
1920
+ # Corresponds to the JSON property `merchantAffiliateProgramDetails`
1921
+ # @return [Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails]
1922
+ attr_accessor :merchant_affiliate_program_details
1923
+
1919
1924
  # Google Merchant Center id of the store.
1920
1925
  # Corresponds to the JSON property `merchantId`
1921
1926
  # @return [Fixnum]
@@ -1938,6 +1943,7 @@ module Google
1938
1943
  # Update properties of this object
1939
1944
  def update!(**args)
1940
1945
  @billing_details = args[:billing_details] if args.key?(:billing_details)
1946
+ @merchant_affiliate_program_details = args[:merchant_affiliate_program_details] if args.key?(:merchant_affiliate_program_details)
1941
1947
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
1942
1948
  @store_name = args[:store_name] if args.key?(:store_name)
1943
1949
  @store_url = args[:store_url] if args.key?(:store_url)
@@ -1963,6 +1969,25 @@ module Google
1963
1969
  end
1964
1970
  end
1965
1971
 
1972
+ # Information specific to merchant affiliate program.
1973
+ class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails
1974
+ include Google::Apis::Core::Hashable
1975
+
1976
+ # The current merchant affiliate program status.
1977
+ # Corresponds to the JSON property `status`
1978
+ # @return [String]
1979
+ attr_accessor :status
1980
+
1981
+ def initialize(**args)
1982
+ update!(**args)
1983
+ end
1984
+
1985
+ # Update properties of this object
1986
+ def update!(**args)
1987
+ @status = args[:status] if args.key?(:status)
1988
+ end
1989
+ end
1990
+
1966
1991
  # Freebase topic information related to the channel.
1967
1992
  class ChannelTopicDetails
1968
1993
  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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241105"
25
+ REVISION = "20241203"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class ChannelTopicDetails
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -1738,6 +1744,8 @@ module Google
1738
1744
  class Representation < Google::Apis::Core::JsonRepresentation
1739
1745
  property :billing_details, as: 'billingDetails', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails::Representation
1740
1746
 
1747
+ property :merchant_affiliate_program_details, as: 'merchantAffiliateProgramDetails', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails::Representation
1748
+
1741
1749
  property :merchant_id, :numeric_string => true, as: 'merchantId'
1742
1750
  property :store_name, as: 'storeName'
1743
1751
  property :store_url, as: 'storeUrl'
@@ -1751,6 +1759,13 @@ module Google
1751
1759
  end
1752
1760
  end
1753
1761
 
1762
+ class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails
1763
+ # @private
1764
+ class Representation < Google::Apis::Core::JsonRepresentation
1765
+ property :status, as: 'status'
1766
+ end
1767
+ end
1768
+
1754
1769
  class ChannelTopicDetails
1755
1770
  # @private
1756
1771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4159,56 +4159,6 @@ module Google
4159
4159
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4160
4160
  execute_or_queue_command(command, &block)
4161
4161
  end
4162
-
4163
- # Allows a user to load live chat through a server-streamed RPC.
4164
- # @param [String] hl
4165
- # Specifies the localization language in which the system messages should be
4166
- # returned.
4167
- # @param [String] live_chat_id
4168
- # The id of the live chat for which comments should be returned.
4169
- # @param [Fixnum] max_results
4170
- # The *maxResults* parameter specifies the maximum number of items that should
4171
- # be returned in the result set. Not used in the streaming RPC.
4172
- # @param [String] page_token
4173
- # The *pageToken* parameter identifies a specific page in the result set that
4174
- # should be returned. In an API response, the nextPageToken property identify
4175
- # other pages that could be retrieved.
4176
- # @param [Array<String>, String] part
4177
- # The *part* parameter specifies the liveChatComment resource parts that the API
4178
- # response will include. Supported values are id, snippet, and authorDetails.
4179
- # @param [Fixnum] profile_image_size
4180
- # Specifies the size of the profile image that should be returned for each user.
4181
- # @param [String] fields
4182
- # Selector specifying which fields to include in a partial response.
4183
- # @param [String] quota_user
4184
- # Available to use for quota purposes for server-side applications. Can be any
4185
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4186
- # @param [Google::Apis::RequestOptions] options
4187
- # Request-specific options
4188
- #
4189
- # @yield [result, err] Result & error if block supplied
4190
- # @yieldparam result [Google::Apis::YoutubeV3::LiveChatMessageListResponse] parsed result object
4191
- # @yieldparam err [StandardError] error object if request failed
4192
- #
4193
- # @return [Google::Apis::YoutubeV3::LiveChatMessageListResponse]
4194
- #
4195
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4196
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4197
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4198
- def stream_youtube_v3_live_chat_message(hl: nil, live_chat_id: nil, max_results: nil, page_token: nil, part: nil, profile_image_size: nil, fields: nil, quota_user: nil, options: nil, &block)
4199
- command = make_simple_command(:get, 'youtube/v3/liveChat/messages/stream', options)
4200
- command.response_representation = Google::Apis::YoutubeV3::LiveChatMessageListResponse::Representation
4201
- command.response_class = Google::Apis::YoutubeV3::LiveChatMessageListResponse
4202
- command.query['hl'] = hl unless hl.nil?
4203
- command.query['liveChatId'] = live_chat_id unless live_chat_id.nil?
4204
- command.query['maxResults'] = max_results unless max_results.nil?
4205
- command.query['pageToken'] = page_token unless page_token.nil?
4206
- command.query['part'] = part unless part.nil?
4207
- command.query['profileImageSize'] = profile_image_size unless profile_image_size.nil?
4208
- command.query['fields'] = fields unless fields.nil?
4209
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4210
- execute_or_queue_command(command, &block)
4211
- end
4212
4162
 
4213
4163
  protected
4214
4164
 
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.50.0
4
+ version: 0.52.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-11-17 00:00:00.000000000 Z
11
+ date: 2024-12-08 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.52.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for YouTube Data API v3 V3