google-apis-youtube_v3 0.18.0 → 0.19.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: 397db2830e03a8d4910f0b468cc9a72448024d3d191825753da6e4bc7cb2d1df
4
- data.tar.gz: ebd51d15b2ea76432d7b74e325cba63ea33a1d6f6ecde98205b98171014d20ec
3
+ metadata.gz: b47f9cdca683ea25264d98a638b7e7543d331d58abc8aa1f926fa5e77ab354d2
4
+ data.tar.gz: b91253ea6e764c15dcc5d5c3a6a96647ea3122e9a2a62071e73d3a25be420bc5
5
5
  SHA512:
6
- metadata.gz: b1428f639b2b040bff450d53181f8707a9261cf935634cce87955685165c1ebcb43ba3d86815a01b82506df800a222fe08a6cc19611181a6ecab0b63ef92d1b1
7
- data.tar.gz: 77f95e51362d1ae81a1c0c18e3e85c5919e7da5b072c2d349a4a7831dc416af5ff32c1e2339108c56fa0d0e7f588aabe77308edecb6f4835d536e8bcccb614f1
6
+ metadata.gz: 6bc826f70879565ac9f12ffa80b718770f2cd9bde8c126b494e6496e4b6d45cc99072edd57b2be48f0de447026b3f0e91d845ab6f1e7e804e03c990d84b2a48a
7
+ data.tar.gz: 1c1e25472c750d58c1751b88758e4276ba71c5c2bc90cdad655a12e1f8ba4ef1d4f1519441bce3d52da1fe83f2f2169760a4fac7de8059df5a1dbf131e16a28e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.19.0 (2022-06-14)
4
+
5
+ * Regenerated from discovery document revision 20220612
6
+ * Regenerated using generator version 0.6.0
7
+
3
8
  ### v0.18.0 (2022-06-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20220608
@@ -7068,6 +7068,38 @@ module Google
7068
7068
  end
7069
7069
  end
7070
7070
 
7071
+ #
7072
+ class ThirdPartyLinkListResponse
7073
+ include Google::Apis::Core::Hashable
7074
+
7075
+ # Etag of this resource.
7076
+ # Corresponds to the JSON property `etag`
7077
+ # @return [String]
7078
+ attr_accessor :etag
7079
+
7080
+ #
7081
+ # Corresponds to the JSON property `items`
7082
+ # @return [Array<Google::Apis::YoutubeV3::ThirdPartyLink>]
7083
+ attr_accessor :items
7084
+
7085
+ # Identifies what kind of resource this is. Value: the fixed string "youtube#
7086
+ # thirdPartyLinkListResponse".
7087
+ # Corresponds to the JSON property `kind`
7088
+ # @return [String]
7089
+ attr_accessor :kind
7090
+
7091
+ def initialize(**args)
7092
+ update!(**args)
7093
+ end
7094
+
7095
+ # Update properties of this object
7096
+ def update!(**args)
7097
+ @etag = args[:etag] if args.key?(:etag)
7098
+ @items = args[:items] if args.key?(:items)
7099
+ @kind = args[:kind] if args.key?(:kind)
7100
+ end
7101
+ end
7102
+
7071
7103
  # Basic information about a third party account link, including its type and
7072
7104
  # type-specific information.
7073
7105
  class ThirdPartyLinkSnippet
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.6.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220608"
25
+ REVISION = "20220612"
26
26
  end
27
27
  end
28
28
  end
@@ -904,6 +904,12 @@ module Google
904
904
  include Google::Apis::Core::JsonObjectSupport
905
905
  end
906
906
 
907
+ class ThirdPartyLinkListResponse
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
907
913
  class ThirdPartyLinkSnippet
908
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
915
 
@@ -2996,6 +3002,16 @@ module Google
2996
3002
  end
2997
3003
  end
2998
3004
 
3005
+ class ThirdPartyLinkListResponse
3006
+ # @private
3007
+ class Representation < Google::Apis::Core::JsonRepresentation
3008
+ property :etag, as: 'etag'
3009
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::ThirdPartyLink, decorator: Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3010
+
3011
+ property :kind, as: 'kind'
3012
+ end
3013
+ end
3014
+
2999
3015
  class ThirdPartyLinkSnippet
3000
3016
  # @private
3001
3017
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3128,18 +3128,18 @@ module Google
3128
3128
  # Request-specific options
3129
3129
  #
3130
3130
  # @yield [result, err] Result & error if block supplied
3131
- # @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
3131
+ # @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLinkListResponse] parsed result object
3132
3132
  # @yieldparam err [StandardError] error object if request failed
3133
3133
  #
3134
- # @return [Google::Apis::YoutubeV3::ThirdPartyLink]
3134
+ # @return [Google::Apis::YoutubeV3::ThirdPartyLinkListResponse]
3135
3135
  #
3136
3136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3137
3137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3138
3138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3139
3139
  def list_third_party_links(part, external_channel_id: nil, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
3140
3140
  command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
3141
- command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
3142
- command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
3141
+ command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLinkListResponse::Representation
3142
+ command.response_class = Google::Apis::YoutubeV3::ThirdPartyLinkListResponse
3143
3143
  command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
3144
3144
  command.query['linkingToken'] = linking_token unless linking_token.nil?
3145
3145
  command.query['part'] = part unless part.nil?
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.18.0
4
+ version: 0.19.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: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.19.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: []