google-api-client 0.41.2 → 0.42.0

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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  5. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  7. data/generated/google/apis/admob_v1.rb +1 -1
  8. data/generated/google/apis/admob_v1/service.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/apigee_v1.rb +1 -1
  11. data/generated/google/apis/apigee_v1/classes.rb +1389 -105
  12. data/generated/google/apis/apigee_v1/representations.rb +543 -0
  13. data/generated/google/apis/apigee_v1/service.rb +1139 -93
  14. data/generated/google/apis/appsmarket_v2.rb +1 -1
  15. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  16. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  17. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  18. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  19. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  20. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  21. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  22. data/generated/google/apis/civicinfo_v2.rb +1 -1
  23. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  24. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  25. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  26. data/generated/google/apis/classroom_v1.rb +1 -1
  27. data/generated/google/apis/classroom_v1/service.rb +4 -3
  28. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  29. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  30. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  31. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  32. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  33. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  34. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  35. data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
  36. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  37. data/generated/google/apis/customsearch_v1/service.rb +608 -0
  38. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  39. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
  40. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -2
  41. data/generated/google/apis/displayvideo_v1.rb +1 -1
  42. data/generated/google/apis/displayvideo_v1/classes.rb +12 -5
  43. data/generated/google/apis/dns_v1.rb +4 -4
  44. data/generated/google/apis/dns_v1/classes.rb +313 -162
  45. data/generated/google/apis/dns_v1/service.rb +247 -180
  46. data/generated/google/apis/file_v1.rb +1 -1
  47. data/generated/google/apis/file_v1beta1.rb +1 -1
  48. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  49. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  50. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  51. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  52. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  53. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  54. data/generated/google/apis/games_v1.rb +5 -3
  55. data/generated/google/apis/games_v1/classes.rb +354 -2112
  56. data/generated/google/apis/games_v1/representations.rb +12 -647
  57. data/generated/google/apis/games_v1/service.rb +212 -1154
  58. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  59. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  60. data/generated/google/apis/groupssettings_v1.rb +1 -1
  61. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  62. data/generated/google/apis/ml_v1.rb +1 -1
  63. data/generated/google/apis/ml_v1/classes.rb +6 -6
  64. data/generated/google/apis/monitoring_v3.rb +1 -1
  65. data/generated/google/apis/monitoring_v3/classes.rb +10 -2
  66. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  67. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  68. data/generated/google/apis/pubsub_v1.rb +1 -1
  69. data/generated/google/apis/pubsub_v1/classes.rb +24 -28
  70. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  71. data/generated/google/apis/recommender_v1.rb +1 -1
  72. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  73. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  74. data/generated/google/apis/recommender_v1/service.rb +123 -0
  75. data/generated/google/apis/redis_v1.rb +1 -1
  76. data/generated/google/apis/redis_v1beta1.rb +1 -1
  77. data/generated/google/apis/testing_v1.rb +1 -1
  78. data/generated/google/apis/testing_v1/classes.rb +17 -6
  79. data/generated/google/apis/testing_v1/representations.rb +1 -0
  80. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  81. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  82. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  83. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  84. data/generated/google/apis/youtube_v3.rb +1 -1
  85. data/generated/google/apis/youtube_v3/classes.rb +554 -0
  86. data/generated/google/apis/youtube_v3/representations.rb +281 -0
  87. data/generated/google/apis/youtube_v3/service.rb +259 -0
  88. data/lib/google/apis/version.rb +1 -1
  89. metadata +11 -19
  90. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
  91. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  92. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  93. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  94. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  95. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  96. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  97. data/generated/google/apis/androidpublisher_v2.rb +0 -34
  98. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  100. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  101. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  102. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200623'
28
+ REVISION = '20200706'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200623'
28
+ REVISION = '20200706'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200603'
29
+ REVISION = '20200706'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1528,7 +1528,9 @@ module Google
1528
1528
  include Google::Apis::Core::Hashable
1529
1529
 
1530
1530
  # Required. Group of packages, classes, and/or test methods to be run for
1531
- # each shard. The number of shard_test_targets must be >= 1 and <= 50.
1531
+ # each shard. When any physical devices are selected, the number of
1532
+ # test_targets_for_shard must be >= 1 and <= 50. When no physical devices are
1533
+ # selected, the number must be >= 1 and <= 250.
1532
1534
  # Corresponds to the JSON property `testTargetsForShard`
1533
1535
  # @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
1534
1536
  attr_accessor :test_targets_for_shard
@@ -1688,10 +1690,10 @@ module Google
1688
1690
  attr_accessor :content
1689
1691
 
1690
1692
  # Required. Where to put the content on the device. Must be an absolute,
1691
- # whitelisted path. If the file exists, it will be replaced.
1693
+ # allowlisted path. If the file exists, it will be replaced.
1692
1694
  # The following device-side directories and any of their subdirectories are
1693
- # whitelisted:
1694
- # <p>$`EXTERNAL_STORAGE`, or /sdcard</p>
1695
+ # allowlisted:
1696
+ # <p>$`EXTERNAL_STORAGE`, /sdcard, or /storage</p>
1695
1697
  # <p>$`ANDROID_DATA`/local/tmp, or /data/local/tmp</p>
1696
1698
  # <p>Specifying a path outside of these directory trees is invalid.
1697
1699
  # <p> The paths /sdcard and /data will be made available and treated as
@@ -2190,7 +2192,7 @@ module Google
2190
2192
  attr_accessor :additional_apks
2191
2193
 
2192
2194
  # List of directories on the device to upload to GCS at the end of the test;
2193
- # they must be absolute paths under /sdcard or /data/local/tmp.
2195
+ # they must be absolute paths under /sdcard, /storage or /data/local/tmp.
2194
2196
  # Path names are restricted to characters a-z A-Z 0-9 _ - . + and /
2195
2197
  # Note: The paths /sdcard and /data will be made available and treated as
2196
2198
  # implicit path substitutions. E.g. if /sdcard on a particular device does
@@ -2200,6 +2202,12 @@ module Google
2200
2202
  # @return [Array<String>]
2201
2203
  attr_accessor :directories_to_pull
2202
2204
 
2205
+ # Whether to prevent all runtime permissions to be granted at app install
2206
+ # Corresponds to the JSON property `dontAutograntPermissions`
2207
+ # @return [Boolean]
2208
+ attr_accessor :dont_autogrant_permissions
2209
+ alias_method :dont_autogrant_permissions?, :dont_autogrant_permissions
2210
+
2203
2211
  # Environment variables to set for the test (only applicable for
2204
2212
  # instrumentation tests).
2205
2213
  # Corresponds to the JSON property `environmentVariables`
@@ -2236,6 +2244,7 @@ module Google
2236
2244
  @account = args[:account] if args.key?(:account)
2237
2245
  @additional_apks = args[:additional_apks] if args.key?(:additional_apks)
2238
2246
  @directories_to_pull = args[:directories_to_pull] if args.key?(:directories_to_pull)
2247
+ @dont_autogrant_permissions = args[:dont_autogrant_permissions] if args.key?(:dont_autogrant_permissions)
2239
2248
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
2240
2249
  @files_to_push = args[:files_to_push] if args.key?(:files_to_push)
2241
2250
  @network_profile = args[:network_profile] if args.key?(:network_profile)
@@ -2504,7 +2513,9 @@ module Google
2504
2513
  class UniformSharding
2505
2514
  include Google::Apis::Core::Hashable
2506
2515
 
2507
- # Required. Total number of shards. The number must be >= 1 and <= 50.
2516
+ # Required. Total number of shards. When any physical devices are selected,
2517
+ # the number must be >= 1 and <= 50. When no physical devices are selected,
2518
+ # the number must be >= 1 and <= 250.
2508
2519
  # Corresponds to the JSON property `numShards`
2509
2520
  # @return [Fixnum]
2510
2521
  attr_accessor :num_shards
@@ -1044,6 +1044,7 @@ module Google
1044
1044
  collection :additional_apks, as: 'additionalApks', class: Google::Apis::TestingV1::Apk, decorator: Google::Apis::TestingV1::Apk::Representation
1045
1045
 
1046
1046
  collection :directories_to_pull, as: 'directoriesToPull'
1047
+ property :dont_autogrant_permissions, as: 'dontAutograntPermissions'
1047
1048
  collection :environment_variables, as: 'environmentVariables', class: Google::Apis::TestingV1::EnvironmentVariable, decorator: Google::Apis::TestingV1::EnvironmentVariable::Representation
1048
1049
 
1049
1050
  collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation
@@ -20,12 +20,13 @@ module Google
20
20
  module Apis
21
21
  # YouTube Content ID API
22
22
  #
23
- # API for YouTube partners. To use this API a YouTube CMS account is required.
23
+ # The YouTube Content ID API allows the management of YouTube assets along with
24
+ # their associated content, references, ownership, rights and policies.
24
25
  #
25
- # @see https://developers.google.com/youtube/partner/
26
+ # @see https://devsite.googleplex.com/youtube/partner/docs/v1/
26
27
  module YoutubePartnerV1
27
28
  VERSION = 'V1'
28
- REVISION = '20200525'
29
+ REVISION = '20200707'
29
30
 
30
31
  # View and manage your assets and associated content on YouTube
31
32
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -26,8 +26,8 @@ module Google
26
26
  class AdBreak
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The time of the ad break specified as the number of seconds after the start of
30
- # the video when the break occurs.
29
+ # The time of the ad break specified as the number of seconds after the start
30
+ # of the video when the break occurs.
31
31
  # Corresponds to the JSON property `midrollSeconds`
32
32
  # @return [Fixnum]
33
33
  attr_accessor :midroll_seconds
@@ -48,56 +48,15 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- #
52
- class AllowedAdvertisingOptions
53
- include Google::Apis::Core::Hashable
54
-
55
- # This setting indicates whether the partner can display ads when videos run in
56
- # an embedded player.
57
- # Corresponds to the JSON property `adsOnEmbeds`
58
- # @return [Boolean]
59
- attr_accessor :ads_on_embeds
60
- alias_method :ads_on_embeds?, :ads_on_embeds
61
-
62
- # This property identifies the resource type. Its value is youtubePartner#
63
- # allowedAdvertisingOptions.
64
- # Corresponds to the JSON property `kind`
65
- # @return [String]
66
- attr_accessor :kind
67
-
68
- # A list of ad formats that the partner is allowed to use for its uploaded
69
- # videos.
70
- # Corresponds to the JSON property `licAdFormats`
71
- # @return [Array<String>]
72
- attr_accessor :lic_ad_formats
73
-
74
- # A list of ad formats that the partner is allowed to use for claimed, user-
75
- # uploaded content.
76
- # Corresponds to the JSON property `ugcAdFormats`
77
- # @return [Array<String>]
78
- attr_accessor :ugc_ad_formats
79
-
80
- def initialize(**args)
81
- update!(**args)
82
- end
83
-
84
- # Update properties of this object
85
- def update!(**args)
86
- @ads_on_embeds = args[:ads_on_embeds] if args.key?(:ads_on_embeds)
87
- @kind = args[:kind] if args.key?(:kind)
88
- @lic_ad_formats = args[:lic_ad_formats] if args.key?(:lic_ad_formats)
89
- @ugc_ad_formats = args[:ugc_ad_formats] if args.key?(:ugc_ad_formats)
90
- end
91
- end
92
-
93
51
  #
94
52
  class Asset
95
53
  include Google::Apis::Core::Hashable
96
54
 
97
- # A list of asset IDs that can be used to refer to the asset. The list contains
98
- # values if the asset represents multiple constituent assets that have been
99
- # merged. In that case, any of the asset IDs originally assigned to the
100
- # constituent assets could be used to update the master, or synthesized, asset.
55
+ # A list of asset IDs that can be used to refer to the asset. The list
56
+ # contains values if the asset represents multiple constituent assets that
57
+ # have been merged. In that case, any of the asset IDs originally assigned to
58
+ # the constituent assets could be used to update the master, or synthesized,
59
+ # asset.
101
60
  # Corresponds to the JSON property `aliasId`
102
61
  # @return [Array<String>]
103
62
  attr_accessor :alias_id
@@ -107,8 +66,8 @@ module Google
107
66
  # @return [String]
108
67
  attr_accessor :id
109
68
 
110
- # The type of the API resource. For asset resources, the value is youtubePartner#
111
- # asset.
69
+ # The type of the API resource. For <code>asset</code> resources, the value
70
+ # is <code>youtubePartner#asset</code>.
112
71
  # Corresponds to the JSON property `kind`
113
72
  # @return [String]
114
73
  attr_accessor :kind
@@ -118,8 +77,9 @@ module Google
118
77
  # @return [Array<String>]
119
78
  attr_accessor :label
120
79
 
121
- # The matchPolicy object contains information about the asset's match policy,
122
- # which YouTube applies to user-uploaded videos that match the asset.
80
+ # The <code>matchPolicy</code> object contains information about the asset's
81
+ # match policy, which YouTube applies to user-uploaded videos that match the
82
+ # asset.
123
83
  # Corresponds to the JSON property `matchPolicy`
124
84
  # @return [Google::Apis::YoutubePartnerV1::AssetMatchPolicy]
125
85
  attr_accessor :match_policy
@@ -134,9 +94,9 @@ module Google
134
94
  # @return [Google::Apis::YoutubePartnerV1::AssetMatchPolicy]
135
95
  attr_accessor :match_policy_mine
136
96
 
137
- # The metadata object contains information that identifies and describes the
138
- # asset. This information could be used to search for the asset or to eliminate
139
- # duplication within YouTube's database.
97
+ # The <code>metadata</code> object contains information that identifies and
98
+ # describes the asset. This information could be used to search for the asset
99
+ # or to eliminate duplication within YouTube's database.
140
100
  # Corresponds to the JSON property `metadata`
141
101
  # @return [Google::Apis::YoutubePartnerV1::Metadata]
142
102
  attr_accessor :metadata
@@ -151,15 +111,15 @@ module Google
151
111
  # @return [Google::Apis::YoutubePartnerV1::Metadata]
152
112
  attr_accessor :metadata_mine
153
113
 
154
- # The ownership object identifies an asset's owners and provides additional
155
- # details about their ownership, such as the territories where they own the
156
- # asset.
114
+ # The <code>ownership</code> object identifies an asset's owners and provides
115
+ # additional details about their ownership, such as the territories where
116
+ # they own the asset.
157
117
  # Corresponds to the JSON property `ownership`
158
118
  # @return [Google::Apis::YoutubePartnerV1::RightsOwnership]
159
119
  attr_accessor :ownership
160
120
 
161
- # The ownershipConflicts object contains information about the asset's ownership
162
- # conflicts.
121
+ # The <code>ownershipConflicts</code> object contains information about the
122
+ # asset's ownership conflicts.
163
123
  # Corresponds to the JSON property `ownershipConflicts`
164
124
  # @return [Google::Apis::YoutubePartnerV1::OwnershipConflicts]
165
125
  attr_accessor :ownership_conflicts
@@ -179,15 +139,16 @@ module Google
179
139
  # @return [String]
180
140
  attr_accessor :status
181
141
 
182
- # The date and time the asset was created. The value is specified in RFC 3339 (
183
- # YYYY-MM-DDThh:mm:ss.000Z) format.
142
+ # The date and time the asset was created. The value is specified in <a
143
+ # href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a>
144
+ # (<code>YYYY-MM-DDThh:mm:ss.000Z</code>) format.
184
145
  # Corresponds to the JSON property `timeCreated`
185
- # @return [DateTime]
146
+ # @return [String]
186
147
  attr_accessor :time_created
187
148
 
188
- # The asset's type. This value determines the metadata fields that you can set
189
- # for the asset. In addition, certain API functions may only be supported for
190
- # specific types of assets. For example, composition assets may have more
149
+ # The asset's type. This value determines the metadata fields that you can
150
+ # set for the asset. In addition, certain API functions may only be supported
151
+ # for specific types of assets. For example, composition assets may have more
191
152
  # complex ownership data than other types of assets.
192
153
  # Corresponds to the JSON property `type`
193
154
  # @return [String]
@@ -223,8 +184,8 @@ module Google
223
184
  class AssetLabel
224
185
  include Google::Apis::Core::Hashable
225
186
 
226
- # The type of the API resource. For assetLabel resources, this value is
227
- # youtubePartner#assetLabel.
187
+ # The type of the API resource. For <code>assetLabel</code> resources, this
188
+ # value is <code>youtubePartner#assetLabel</code>.
228
189
  # Corresponds to the JSON property `kind`
229
190
  # @return [String]
230
191
  attr_accessor :kind
@@ -249,13 +210,14 @@ module Google
249
210
  class AssetLabelListResponse
250
211
  include Google::Apis::Core::Hashable
251
212
 
252
- # A list of assetLabel resources that match the request criteria.
213
+ # A list of <code>assetLabel</code> resources that match the request
214
+ # criteria.
253
215
  # Corresponds to the JSON property `items`
254
216
  # @return [Array<Google::Apis::YoutubePartnerV1::AssetLabel>]
255
217
  attr_accessor :items
256
218
 
257
- # The type of the API response. For this operation, the value is youtubePartner#
258
- # assetLabelList.
219
+ # The type of the API response. For this operation, the value is
220
+ # <code>youtubePartner#assetLabelList</code>.
259
221
  # Corresponds to the JSON property `kind`
260
222
  # @return [String]
261
223
  attr_accessor :kind
@@ -275,13 +237,13 @@ module Google
275
237
  class AssetListResponse
276
238
  include Google::Apis::Core::Hashable
277
239
 
278
- # A list of asset resources that match the request criteria.
240
+ # A list of <code>asset</code> resources that match the request criteria.
279
241
  # Corresponds to the JSON property `items`
280
242
  # @return [Array<Google::Apis::YoutubePartnerV1::Asset>]
281
243
  attr_accessor :items
282
244
 
283
- # The type of the API response. For this operation, the value is youtubePartner#
284
- # assetList.
245
+ # The type of the API response. For this operation, the value is
246
+ # <code>youtubePartner#assetList</code>.
285
247
  # Corresponds to the JSON property `kind`
286
248
  # @return [String]
287
249
  attr_accessor :kind
@@ -301,21 +263,22 @@ module Google
301
263
  class AssetMatchPolicy
302
264
  include Google::Apis::Core::Hashable
303
265
 
304
- # The type of the API resource. Value: youtubePartner#assetMatchPolicy.
266
+ # The type of the API resource. Value:
267
+ # <code>youtubePartner#assetMatchPolicy</code>.
305
268
  # Corresponds to the JSON property `kind`
306
269
  # @return [String]
307
270
  attr_accessor :kind
308
271
 
309
- # A value that uniquely identifies the Policy resource that YouTube applies to
310
- # user-uploaded videos that match the asset.
272
+ # A value that uniquely identifies the <code>Policy</code> resource that
273
+ # YouTube applies to user-uploaded videos that match the asset.
311
274
  # Corresponds to the JSON property `policyId`
312
275
  # @return [String]
313
276
  attr_accessor :policy_id
314
277
 
315
278
  # A list of rules that collectively define the policy that the content owner
316
279
  # wants to apply to user-uploaded videos that match the asset. Each rule
317
- # specifies the action that YouTube should take and may optionally specify the
318
- # conditions under which that action is enforced.
280
+ # specifies the action that YouTube should take and may optionally specify
281
+ # the conditions under which that action is enforced.
319
282
  # Corresponds to the JSON property `rules`
320
283
  # @return [Array<Google::Apis::YoutubePartnerV1::PolicyRule>]
321
284
  attr_accessor :rules
@@ -347,8 +310,8 @@ module Google
347
310
  # @return [String]
348
311
  attr_accessor :id
349
312
 
350
- # The type of the API resource. For this resource, the value is youtubePartner#
351
- # assetRelationship.
313
+ # The type of the API resource. For this resource, the value is
314
+ # <code>youtubePartner#assetRelationship</code>.
352
315
  # Corresponds to the JSON property `kind`
353
316
  # @return [String]
354
317
  attr_accessor :kind
@@ -375,24 +338,26 @@ module Google
375
338
  class AssetRelationshipListResponse
376
339
  include Google::Apis::Core::Hashable
377
340
 
378
- # A list of assetRelationship resources that match the request criteria.
341
+ # A list of <code>assetRelationship</code> resources that match the request
342
+ # criteria.
379
343
  # Corresponds to the JSON property `items`
380
344
  # @return [Array<Google::Apis::YoutubePartnerV1::AssetRelationship>]
381
345
  attr_accessor :items
382
346
 
383
- # The type of the API response. For this operation, the value is youtubePartner#
384
- # assetRelationshipList.
347
+ # The type of the API response. For this operation, the value is
348
+ # <code>youtubePartner#assetRelationshipList</code>.
385
349
  # Corresponds to the JSON property `kind`
386
350
  # @return [String]
387
351
  attr_accessor :kind
388
352
 
389
- # The token that can be used as the value of the pageToken parameter to retrieve
390
- # the next page of results.
353
+ # The token that can be used as the value of the <code>pageToken</code>
354
+ # parameter to retrieve the next page of results.
391
355
  # Corresponds to the JSON property `nextPageToken`
392
356
  # @return [String]
393
357
  attr_accessor :next_page_token
394
358
 
395
- # The pageInfo object encapsulates paging information for the result set.
359
+ # The <code>pageInfo</code> object encapsulates paging information for the
360
+ # result set.
396
361
  # Corresponds to the JSON property `pageInfo`
397
362
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
398
363
  attr_accessor :page_info
@@ -419,19 +384,20 @@ module Google
419
384
  # @return [Array<Google::Apis::YoutubePartnerV1::AssetSnippet>]
420
385
  attr_accessor :items
421
386
 
422
- # The type of the API response. For this operation, the value is youtubePartner#
423
- # assetSnippetList.
387
+ # The type of the API response. For this operation, the value is
388
+ # <code>youtubePartner#assetSnippetList</code>.
424
389
  # Corresponds to the JSON property `kind`
425
390
  # @return [String]
426
391
  attr_accessor :kind
427
392
 
428
- # The token that can be used as the value of the pageToken parameter to retrieve
429
- # the next page of results.
393
+ # The token that can be used as the value of the <code>pageToken</code>
394
+ # parameter to retrieve the next page of results.
430
395
  # Corresponds to the JSON property `nextPageToken`
431
396
  # @return [String]
432
397
  attr_accessor :next_page_token
433
398
 
434
- # The pageInfo object encapsulates paging information for the result set.
399
+ # The <code>pageInfo</code> object encapsulates paging information for the
400
+ # result set.
435
401
  # Corresponds to the JSON property `pageInfo`
436
402
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
437
403
  attr_accessor :page_info
@@ -453,8 +419,8 @@ module Google
453
419
  class AssetShare
454
420
  include Google::Apis::Core::Hashable
455
421
 
456
- # The type of the API resource. For this resource, the value is youtubePartner#
457
- # assetShare.
422
+ # The type of the API resource. For this resource, the value is
423
+ # <code>youtubePartner#assetShare</code>.
458
424
  # Corresponds to the JSON property `kind`
459
425
  # @return [String]
460
426
  attr_accessor :kind
@@ -485,24 +451,25 @@ module Google
485
451
  class AssetShareListResponse
486
452
  include Google::Apis::Core::Hashable
487
453
 
488
- # An assetShare resource that matches the request criteria.
454
+ # An <code>assetShare</code> resource that matches the request criteria.
489
455
  # Corresponds to the JSON property `items`
490
456
  # @return [Array<Google::Apis::YoutubePartnerV1::AssetShare>]
491
457
  attr_accessor :items
492
458
 
493
- # The type of the API response. For this operation, the value is youtubePartner#
494
- # assetShareList.
459
+ # The type of the API response. For this operation, the value is
460
+ # <code>youtubePartner#assetShareList</code>.
495
461
  # Corresponds to the JSON property `kind`
496
462
  # @return [String]
497
463
  attr_accessor :kind
498
464
 
499
- # The token that can be used as the value of the pageToken parameter to retrieve
500
- # the next page of results.
465
+ # The token that can be used as the value of the <code>pageToken</code>
466
+ # parameter to retrieve the next page of results.
501
467
  # Corresponds to the JSON property `nextPageToken`
502
468
  # @return [String]
503
469
  attr_accessor :next_page_token
504
470
 
505
- # The pageInfo object encapsulates paging information for the result set.
471
+ # The <code>pageInfo</code> object encapsulates paging information for the
472
+ # result set.
506
473
  # Corresponds to the JSON property `pageInfo`
507
474
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
508
475
  attr_accessor :page_info
@@ -544,16 +511,17 @@ module Google
544
511
  # @return [String]
545
512
  attr_accessor :iswc
546
513
 
547
- # The type of the API resource. For this operation, the value is youtubePartner#
548
- # assetSnippet.
514
+ # The type of the API resource. For this operation, the value is
515
+ # <code>youtubePartner#assetSnippet</code>.
549
516
  # Corresponds to the JSON property `kind`
550
517
  # @return [String]
551
518
  attr_accessor :kind
552
519
 
553
- # The date and time the asset was created. The value is specified in RFC 3339 (
554
- # YYYY-MM-DDThh:mm:ss.000Z) format.
520
+ # The date and time the asset was created. The value is specified in <a
521
+ # href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a>
522
+ # (<code>YYYY-MM-DDThh:mm:ss.000Z</code>) format.
555
523
  # Corresponds to the JSON property `timeCreated`
556
- # @return [DateTime]
524
+ # @return [String]
557
525
  attr_accessor :time_created
558
526
 
559
527
  # Title of this asset.
@@ -562,7 +530,7 @@ module Google
562
530
  attr_accessor :title
563
531
 
564
532
  # The asset's type. This value determines which metadata fields might be
565
- # included in the metadata object.
533
+ # included in the <code>metadata</code> object.
566
534
  # Corresponds to the JSON property `type`
567
535
  # @return [String]
568
536
  attr_accessor :type
@@ -584,12 +552,64 @@ module Google
584
552
  end
585
553
  end
586
554
 
555
+ # Information to read/write to blobstore2.
556
+ class Blobstore2Info
557
+ include Google::Apis::Core::Hashable
558
+
559
+ # The blob generation id.
560
+ # Corresponds to the JSON property `blobGeneration`
561
+ # @return [Fixnum]
562
+ attr_accessor :blob_generation
563
+
564
+ # The blob id, e.g., /blobstore/prod/playground/scotty
565
+ # Corresponds to the JSON property `blobId`
566
+ # @return [String]
567
+ attr_accessor :blob_id
568
+
569
+ # Read handle passed from Bigstore -> Scotty for a GCS download.
570
+ # This is a signed, serialized blobstore2.ReadHandle proto which must never
571
+ # be set outside of Bigstore, and is not applicable to non-GCS media
572
+ # downloads.
573
+ # Corresponds to the JSON property `downloadReadHandle`
574
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
575
+ # @return [String]
576
+ attr_accessor :download_read_handle
577
+
578
+ # The blob read token. Needed to read blobs that have not been
579
+ # replicated. Might not be available until the final call.
580
+ # Corresponds to the JSON property `readToken`
581
+ # @return [String]
582
+ attr_accessor :read_token
583
+
584
+ # Metadata passed from Blobstore -> Scotty for a new GCS upload.
585
+ # This is a signed, serialized blobstore2.BlobMetadataContainer proto which
586
+ # must never be consumed outside of Bigstore, and is not applicable to
587
+ # non-GCS media uploads.
588
+ # Corresponds to the JSON property `uploadMetadataContainer`
589
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
590
+ # @return [String]
591
+ attr_accessor :upload_metadata_container
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @blob_generation = args[:blob_generation] if args.key?(:blob_generation)
600
+ @blob_id = args[:blob_id] if args.key?(:blob_id)
601
+ @download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
602
+ @read_token = args[:read_token] if args.key?(:read_token)
603
+ @upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
604
+ end
605
+ end
606
+
587
607
  #
588
608
  class Campaign
589
609
  include Google::Apis::Core::Hashable
590
610
 
591
- # The campaignData object contains details like the campaign's start and end
592
- # dates, target and source.
611
+ # The <code>campaignData</code> object contains details like the campaign's
612
+ # start and end dates, target and source.
593
613
  # Corresponds to the JSON property `campaignData`
594
614
  # @return [Google::Apis::YoutubePartnerV1::CampaignData]
595
615
  attr_accessor :campaign_data
@@ -599,8 +619,8 @@ module Google
599
619
  # @return [String]
600
620
  attr_accessor :id
601
621
 
602
- # The type of the API resource. For campaign resources, this value is
603
- # youtubePartner#campaign.
622
+ # The type of the API resource. For <code>campaign</code> resources, this
623
+ # value is <code>youtubePartner#campaign</code>.
604
624
  # Corresponds to the JSON property `kind`
605
625
  # @return [String]
606
626
  attr_accessor :kind
@@ -612,12 +632,12 @@ module Google
612
632
 
613
633
  # The time the campaign was created.
614
634
  # Corresponds to the JSON property `timeCreated`
615
- # @return [DateTime]
635
+ # @return [String]
616
636
  attr_accessor :time_created
617
637
 
618
638
  # The time the campaign was last modified.
619
639
  # Corresponds to the JSON property `timeLastModified`
620
- # @return [DateTime]
640
+ # @return [String]
621
641
  attr_accessor :time_last_modified
622
642
 
623
643
  def initialize(**args)
@@ -639,8 +659,8 @@ module Google
639
659
  class CampaignData
640
660
  include Google::Apis::Core::Hashable
641
661
 
642
- # The campaignSource object contains information about the assets for which the
643
- # campaign will generate links.
662
+ # The <code>campaignSource</code> object contains information about the
663
+ # assets for which the campaign will generate links.
644
664
  # Corresponds to the JSON property `campaignSource`
645
665
  # @return [Google::Apis::YoutubePartnerV1::CampaignSource]
646
666
  attr_accessor :campaign_source
@@ -648,7 +668,7 @@ module Google
648
668
  # The time at which the campaign should expire. Do not specify a value if the
649
669
  # campaign has no expiration time.
650
670
  # Corresponds to the JSON property `expireTime`
651
- # @return [DateTime]
671
+ # @return [String]
652
672
  attr_accessor :expire_time
653
673
 
654
674
  # The user-given name of the campaign.
@@ -656,8 +676,8 @@ module Google
656
676
  # @return [String]
657
677
  attr_accessor :name
658
678
 
659
- # A list of videos or channels that will be linked to from claimed videos that
660
- # are included in the campaign.
679
+ # A list of videos or channels that will be linked to from claimed videos
680
+ # that are included in the campaign.
661
681
  # Corresponds to the JSON property `promotedContent`
662
682
  # @return [Array<Google::Apis::YoutubePartnerV1::PromotedContent>]
663
683
  attr_accessor :promoted_content
@@ -665,7 +685,7 @@ module Google
665
685
  # The time at which the campaign should start. Do not specify a value if the
666
686
  # campaign should start immediately.
667
687
  # Corresponds to the JSON property `startTime`
668
- # @return [DateTime]
688
+ # @return [String]
669
689
  attr_accessor :start_time
670
690
 
671
691
  def initialize(**args)
@@ -691,8 +711,8 @@ module Google
691
711
  # @return [Array<Google::Apis::YoutubePartnerV1::Campaign>]
692
712
  attr_accessor :items
693
713
 
694
- # The type of the API response. For this operation, the value is youtubePartner#
695
- # campaignList.
714
+ # The type of the API response. For this operation, the value is
715
+ # <code>youtubePartner#campaignList</code>.
696
716
  # Corresponds to the JSON property `kind`
697
717
  # @return [String]
698
718
  attr_accessor :kind
@@ -762,9 +782,9 @@ module Google
762
782
  class Claim
763
783
  include Google::Apis::Core::Hashable
764
784
 
765
- # The applied policy for the viewing owner on the claim. This might not be the
766
- # same as the final claim policy on the video as it does not consider other
767
- # partners' policy of the same claim.
785
+ # The applied policy for the viewing owner on the claim. This might not be
786
+ # the same as the final claim policy on the video as it does not consider
787
+ # other partners' policy of the same claim.
768
788
  # Corresponds to the JSON property `appliedPolicy`
769
789
  # @return [Google::Apis::YoutubePartnerV1::Policy]
770
790
  attr_accessor :applied_policy
@@ -782,8 +802,8 @@ module Google
782
802
  attr_accessor :block_outside_ownership
783
803
  alias_method :block_outside_ownership?, :block_outside_ownership
784
804
 
785
- # This value indicates whether the claim covers the audio, video, or audiovisual
786
- # portion of the claimed content.
805
+ # This value indicates whether the claim covers the audio, video, or
806
+ # audiovisual portion of the claimed content.
787
807
  # Corresponds to the JSON property `contentType`
788
808
  # @return [String]
789
809
  attr_accessor :content_type
@@ -799,21 +819,21 @@ module Google
799
819
  attr_accessor :is_partner_uploaded
800
820
  alias_method :is_partner_uploaded?, :is_partner_uploaded
801
821
 
802
- # The type of the API resource. For claim resources, this value is
803
- # youtubePartner#claim.
822
+ # The type of the API resource. For <code>claim</code> resources, this value
823
+ # is <code>youtubePartner#claim</code>.
804
824
  # Corresponds to the JSON property `kind`
805
825
  # @return [String]
806
826
  attr_accessor :kind
807
827
 
808
- # If this claim was auto-generated based on a provided reference, this section
809
- # will provide details of the match that generated the claim.
828
+ # If this claim was auto-generated based on a provided reference, this
829
+ # section will provide details of the match that generated the claim.
810
830
  # Corresponds to the JSON property `matchInfo`
811
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo]
831
+ # @return [Google::Apis::YoutubePartnerV1::MatchInfo]
812
832
  attr_accessor :match_info
813
833
 
814
834
  #
815
835
  # Corresponds to the JSON property `origin`
816
- # @return [Google::Apis::YoutubePartnerV1::Claim::Origin]
836
+ # @return [Google::Apis::YoutubePartnerV1::Origin]
817
837
  attr_accessor :origin
818
838
 
819
839
  # The policy provided by the viewing owner on the claim.
@@ -822,15 +842,15 @@ module Google
822
842
  attr_accessor :policy
823
843
 
824
844
  # The claim's status. When updating a claim, you can update its status from
825
- # active to inactive to effectively release the claim, but the API does not
826
- # support other updates to a claim's status.
845
+ # <code>active</code> to <code>inactive</code> to effectively release the
846
+ # claim, but the API does not support other updates to a claim's status.
827
847
  # Corresponds to the JSON property `status`
828
848
  # @return [String]
829
849
  attr_accessor :status
830
850
 
831
851
  # The time the claim was created.
832
852
  # Corresponds to the JSON property `timeCreated`
833
- # @return [DateTime]
853
+ # @return [String]
834
854
  attr_accessor :time_created
835
855
 
836
856
  # The unique YouTube video ID that identifies the video associated with the
@@ -859,138 +879,14 @@ module Google
859
879
  @time_created = args[:time_created] if args.key?(:time_created)
860
880
  @video_id = args[:video_id] if args.key?(:video_id)
861
881
  end
862
-
863
- # If this claim was auto-generated based on a provided reference, this section
864
- # will provide details of the match that generated the claim.
865
- class MatchInfo
866
- include Google::Apis::Core::Hashable
867
-
868
- # Details of the longest match between the reference and the user video.
869
- # Corresponds to the JSON property `longestMatch`
870
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch]
871
- attr_accessor :longest_match
872
-
873
- # Details about each match segment. Each item in the list contains information
874
- # about one match segment associated with the claim. It is possible to have
875
- # multiple match segments. For example, if the audio and video content of an
876
- # uploaded video match that of a reference video, there would be two match
877
- # segments. One segment would describe the audio match and the other would
878
- # describe the video match.
879
- # Corresponds to the JSON property `matchSegments`
880
- # @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
881
- attr_accessor :match_segments
882
-
883
- # The reference ID that generated this match.
884
- # Corresponds to the JSON property `referenceId`
885
- # @return [String]
886
- attr_accessor :reference_id
887
-
888
- # Details of the total amount of reference and user video content which matched
889
- # each other. Note these two values may differ if either the reference or the
890
- # user video contains a loop.
891
- # Corresponds to the JSON property `totalMatch`
892
- # @return [Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch]
893
- attr_accessor :total_match
894
-
895
- def initialize(**args)
896
- update!(**args)
897
- end
898
-
899
- # Update properties of this object
900
- def update!(**args)
901
- @longest_match = args[:longest_match] if args.key?(:longest_match)
902
- @match_segments = args[:match_segments] if args.key?(:match_segments)
903
- @reference_id = args[:reference_id] if args.key?(:reference_id)
904
- @total_match = args[:total_match] if args.key?(:total_match)
905
- end
906
-
907
- # Details of the longest match between the reference and the user video.
908
- class LongestMatch
909
- include Google::Apis::Core::Hashable
910
-
911
- # The duration of the longest match between the reference and the user video.
912
- # Corresponds to the JSON property `durationSecs`
913
- # @return [Fixnum]
914
- attr_accessor :duration_secs
915
-
916
- # The offset in seconds into the reference at which the longest match began.
917
- # Corresponds to the JSON property `referenceOffset`
918
- # @return [Fixnum]
919
- attr_accessor :reference_offset
920
-
921
- # The offset in seconds into the user video at which the longest match began.
922
- # Corresponds to the JSON property `userVideoOffset`
923
- # @return [Fixnum]
924
- attr_accessor :user_video_offset
925
-
926
- def initialize(**args)
927
- update!(**args)
928
- end
929
-
930
- # Update properties of this object
931
- def update!(**args)
932
- @duration_secs = args[:duration_secs] if args.key?(:duration_secs)
933
- @reference_offset = args[:reference_offset] if args.key?(:reference_offset)
934
- @user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
935
- end
936
- end
937
-
938
- # Details of the total amount of reference and user video content which matched
939
- # each other. Note these two values may differ if either the reference or the
940
- # user video contains a loop.
941
- class TotalMatch
942
- include Google::Apis::Core::Hashable
943
-
944
- # The total amount of content in the reference which matched the user video in
945
- # seconds.
946
- # Corresponds to the JSON property `referenceDurationSecs`
947
- # @return [Fixnum]
948
- attr_accessor :reference_duration_secs
949
-
950
- # The total amount of content in the user video which matched the reference in
951
- # seconds.
952
- # Corresponds to the JSON property `userVideoDurationSecs`
953
- # @return [Fixnum]
954
- attr_accessor :user_video_duration_secs
955
-
956
- def initialize(**args)
957
- update!(**args)
958
- end
959
-
960
- # Update properties of this object
961
- def update!(**args)
962
- @reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
963
- @user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
964
- end
965
- end
966
- end
967
-
968
- #
969
- class Origin
970
- include Google::Apis::Core::Hashable
971
-
972
- #
973
- # Corresponds to the JSON property `source`
974
- # @return [String]
975
- attr_accessor :source
976
-
977
- def initialize(**args)
978
- update!(**args)
979
- end
980
-
981
- # Update properties of this object
982
- def update!(**args)
983
- @source = args[:source] if args.key?(:source)
984
- end
985
- end
986
882
  end
987
883
 
988
884
  #
989
885
  class ClaimEvent
990
886
  include Google::Apis::Core::Hashable
991
887
 
992
- # The type of the API resource. For claimEvent resources, this value is
993
- # youtubePartner#claimEvent.
888
+ # The type of the API resource. For <code>claimEvent</code> resources, this
889
+ # value is <code>youtubePartner#claimEvent</code>.
994
890
  # Corresponds to the JSON property `kind`
995
891
  # @return [String]
996
892
  attr_accessor :kind
@@ -1002,12 +898,12 @@ module Google
1002
898
 
1003
899
  # Data related to source of the event.
1004
900
  # Corresponds to the JSON property `source`
1005
- # @return [Google::Apis::YoutubePartnerV1::ClaimEvent::Source]
901
+ # @return [Google::Apis::YoutubePartnerV1::Source]
1006
902
  attr_accessor :source
1007
903
 
1008
904
  # The time when the event occurred.
1009
905
  # Corresponds to the JSON property `time`
1010
- # @return [DateTime]
906
+ # @return [String]
1011
907
  attr_accessor :time
1012
908
 
1013
909
  # Type of the event.
@@ -1017,7 +913,7 @@ module Google
1017
913
 
1018
914
  # Details of event's type.
1019
915
  # Corresponds to the JSON property `typeDetails`
1020
- # @return [Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails]
916
+ # @return [Google::Apis::YoutubePartnerV1::TypeDetails]
1021
917
  attr_accessor :type_details
1022
918
 
1023
919
  def initialize(**args)
@@ -1033,74 +929,6 @@ module Google
1033
929
  @type = args[:type] if args.key?(:type)
1034
930
  @type_details = args[:type_details] if args.key?(:type_details)
1035
931
  end
1036
-
1037
- # Data related to source of the event.
1038
- class Source
1039
- include Google::Apis::Core::Hashable
1040
-
1041
- # Id of content owner that initiated the event.
1042
- # Corresponds to the JSON property `contentOwnerId`
1043
- # @return [String]
1044
- attr_accessor :content_owner_id
1045
-
1046
- # Type of the event source.
1047
- # Corresponds to the JSON property `type`
1048
- # @return [String]
1049
- attr_accessor :type
1050
-
1051
- # Email of user who initiated the event.
1052
- # Corresponds to the JSON property `userEmail`
1053
- # @return [String]
1054
- attr_accessor :user_email
1055
-
1056
- def initialize(**args)
1057
- update!(**args)
1058
- end
1059
-
1060
- # Update properties of this object
1061
- def update!(**args)
1062
- @content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
1063
- @type = args[:type] if args.key?(:type)
1064
- @user_email = args[:user_email] if args.key?(:user_email)
1065
- end
1066
- end
1067
-
1068
- # Details of event's type.
1069
- class TypeDetails
1070
- include Google::Apis::Core::Hashable
1071
-
1072
- # Appeal explanations for dispute_appeal event.
1073
- # Corresponds to the JSON property `appealExplanation`
1074
- # @return [String]
1075
- attr_accessor :appeal_explanation
1076
-
1077
- # Dispute notes for dispute_create events.
1078
- # Corresponds to the JSON property `disputeNotes`
1079
- # @return [String]
1080
- attr_accessor :dispute_notes
1081
-
1082
- # Dispute reason for dispute_create and dispute_appeal events.
1083
- # Corresponds to the JSON property `disputeReason`
1084
- # @return [String]
1085
- attr_accessor :dispute_reason
1086
-
1087
- # Status that was a result of update for claim_update event.
1088
- # Corresponds to the JSON property `updateStatus`
1089
- # @return [String]
1090
- attr_accessor :update_status
1091
-
1092
- def initialize(**args)
1093
- update!(**args)
1094
- end
1095
-
1096
- # Update properties of this object
1097
- def update!(**args)
1098
- @appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
1099
- @dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
1100
- @dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
1101
- @update_status = args[:update_status] if args.key?(:update_status)
1102
- end
1103
- end
1104
932
  end
1105
933
 
1106
934
  #
@@ -1117,8 +945,8 @@ module Google
1117
945
  # @return [String]
1118
946
  attr_accessor :id
1119
947
 
1120
- # The type of the API resource. For claimHistory resources, this value is
1121
- # youtubePartner#claimHistory.
948
+ # The type of the API resource. For <code>claimHistory</code> resources, this
949
+ # value is <code>youtubePartner#claimHistory</code>.
1122
950
  # Corresponds to the JSON property `kind`
1123
951
  # @return [String]
1124
952
  attr_accessor :kind
@@ -1150,25 +978,26 @@ module Google
1150
978
  # @return [Array<Google::Apis::YoutubePartnerV1::Claim>]
1151
979
  attr_accessor :items
1152
980
 
1153
- # The type of the API response. For this operation, the value is youtubePartner#
1154
- # claimList.
981
+ # The type of the API response. For this operation, the value is
982
+ # <code>youtubePartner#claimList</code>.
1155
983
  # Corresponds to the JSON property `kind`
1156
984
  # @return [String]
1157
985
  attr_accessor :kind
1158
986
 
1159
- # The token that can be used as the value of the pageToken parameter to retrieve
1160
- # the next page in the result set.
987
+ # The token that can be used as the value of the <code>pageToken</code>
988
+ # parameter to retrieve the next page in the result set.
1161
989
  # Corresponds to the JSON property `nextPageToken`
1162
990
  # @return [String]
1163
991
  attr_accessor :next_page_token
1164
992
 
1165
- # The pageInfo object encapsulates paging information for the result set.
993
+ # The <code>pageInfo</code> object encapsulates paging information for the
994
+ # result set.
1166
995
  # Corresponds to the JSON property `pageInfo`
1167
996
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
1168
997
  attr_accessor :page_info
1169
998
 
1170
- # The token that can be used as the value of the pageToken parameter to retrieve
1171
- # the previous page in the result set.
999
+ # The token that can be used as the value of the <code>pageToken</code>
1000
+ # parameter to retrieve the previous page in the result set.
1172
1001
  # Corresponds to the JSON property `previousPageToken`
1173
1002
  # @return [String]
1174
1003
  attr_accessor :previous_page_token
@@ -1196,25 +1025,26 @@ module Google
1196
1025
  # @return [Array<Google::Apis::YoutubePartnerV1::ClaimSnippet>]
1197
1026
  attr_accessor :items
1198
1027
 
1199
- # The type of the API response. For this operation, the value is youtubePartner#
1200
- # claimSnippetList.
1028
+ # The type of the API response. For this operation, the value is
1029
+ # <code>youtubePartner#claimSnippetList</code>.
1201
1030
  # Corresponds to the JSON property `kind`
1202
1031
  # @return [String]
1203
1032
  attr_accessor :kind
1204
1033
 
1205
- # The token that can be used as the value of the pageToken parameter to retrieve
1206
- # the next page in the result set.
1034
+ # The token that can be used as the value of the <code>pageToken</code>
1035
+ # parameter to retrieve the next page in the result set.
1207
1036
  # Corresponds to the JSON property `nextPageToken`
1208
1037
  # @return [String]
1209
1038
  attr_accessor :next_page_token
1210
1039
 
1211
- # The pageInfo object encapsulates paging information for the result set.
1040
+ # The <code>pageInfo</code> object encapsulates paging information for the
1041
+ # result set.
1212
1042
  # Corresponds to the JSON property `pageInfo`
1213
1043
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
1214
1044
  attr_accessor :page_info
1215
1045
 
1216
- # The token that can be used as the value of the pageToken parameter to retrieve
1217
- # the previous page in the result set.
1046
+ # The token that can be used as the value of the <code>pageToken</code>
1047
+ # parameter to retrieve the previous page in the result set.
1218
1048
  # Corresponds to the JSON property `previousPageToken`
1219
1049
  # @return [String]
1220
1050
  attr_accessor :previous_page_token
@@ -1243,8 +1073,8 @@ module Google
1243
1073
  # @return [String]
1244
1074
  attr_accessor :asset_id
1245
1075
 
1246
- # This value indicates whether the claim covers the audio, video, or audiovisual
1247
- # portion of the claimed content.
1076
+ # This value indicates whether the claim covers the audio, video, or
1077
+ # audiovisual portion of the claimed content.
1248
1078
  # Corresponds to the JSON property `contentType`
1249
1079
  # @return [String]
1250
1080
  attr_accessor :content_type
@@ -1260,15 +1090,15 @@ module Google
1260
1090
  attr_accessor :is_partner_uploaded
1261
1091
  alias_method :is_partner_uploaded?, :is_partner_uploaded
1262
1092
 
1263
- # The type of the API resource. For this operation, the value is youtubePartner#
1264
- # claimSnippet.
1093
+ # The type of the API resource. For this operation, the value is
1094
+ # <code>youtubePartner#claimSnippet</code>.
1265
1095
  # Corresponds to the JSON property `kind`
1266
1096
  # @return [String]
1267
1097
  attr_accessor :kind
1268
1098
 
1269
1099
  #
1270
1100
  # Corresponds to the JSON property `origin`
1271
- # @return [Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin]
1101
+ # @return [Google::Apis::YoutubePartnerV1::YoutubePartnerApiProtoFrontendV1Origin]
1272
1102
  attr_accessor :origin
1273
1103
 
1274
1104
  # The claim's status.
@@ -1284,12 +1114,12 @@ module Google
1284
1114
 
1285
1115
  # The time the claim was created.
1286
1116
  # Corresponds to the JSON property `timeCreated`
1287
- # @return [DateTime]
1117
+ # @return [String]
1288
1118
  attr_accessor :time_created
1289
1119
 
1290
1120
  # The time the claim status and/or status detail was last modified.
1291
1121
  # Corresponds to the JSON property `timeStatusLastModified`
1292
- # @return [DateTime]
1122
+ # @return [String]
1293
1123
  attr_accessor :time_status_last_modified
1294
1124
 
1295
1125
  # The unique YouTube video ID that identifies the video associated with the
@@ -1328,59 +1158,84 @@ module Google
1328
1158
  @video_title = args[:video_title] if args.key?(:video_title)
1329
1159
  @video_views = args[:video_views] if args.key?(:video_views)
1330
1160
  end
1331
-
1332
- #
1333
- class Origin
1334
- include Google::Apis::Core::Hashable
1335
-
1336
- #
1337
- # Corresponds to the JSON property `source`
1338
- # @return [String]
1339
- attr_accessor :source
1340
-
1341
- def initialize(**args)
1342
- update!(**args)
1343
- end
1344
-
1345
- # Update properties of this object
1346
- def update!(**args)
1347
- @source = args[:source] if args.key?(:source)
1348
- end
1349
- end
1350
1161
  end
1351
1162
 
1352
- #
1353
- class ClaimedVideoDefaults
1163
+ # A sequence of media data references representing composite data.
1164
+ # Introduced to support Bigstore composite objects. For details, visit
1165
+ # http://go/bigstore-composites.
1166
+ class CompositeMedia
1354
1167
  include Google::Apis::Core::Hashable
1355
1168
 
1356
- # Set this property to true to enable automatically generated breaks for a newly
1357
- # claimed video longer than 10 minutes. The first partner that claims the video
1358
- # sets its default advertising options to that video. claimedVideoOptions.
1359
- # auto_generated_breaks_default
1360
- # Corresponds to the JSON property `autoGeneratedBreaks`
1361
- # @return [Boolean]
1362
- attr_accessor :auto_generated_breaks
1363
- alias_method :auto_generated_breaks?, :auto_generated_breaks
1169
+ # Blobstore v1 reference, set if reference_type is BLOBSTORE_REF
1170
+ # This should be the byte representation of a blobstore.BlobRef.
1171
+ # Since Blobstore is deprecating v1, use blobstore2_info instead.
1172
+ # For now, any v2 blob will also be represented in this field as
1173
+ # v1 BlobRef.
1174
+ # Corresponds to the JSON property `blobRef`
1175
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1176
+ # @return [String]
1177
+ attr_accessor :blob_ref
1178
+
1179
+ # Information to read/write to blobstore2.
1180
+ # Corresponds to the JSON property `blobstore2Info`
1181
+ # @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
1182
+ attr_accessor :blobstore2_info
1183
+
1184
+ # A binary data reference for a media download. Serves as a
1185
+ # technology-agnostic binary reference in some Google infrastructure.
1186
+ # This value is a serialized storage_cosmo.BinaryReference proto. Storing
1187
+ # it as bytes is a hack to get around the fact that the cosmo proto
1188
+ # (as well as others it includes) doesn't support JavaScript. This
1189
+ # prevents us from including the actual type of this field.
1190
+ # Corresponds to the JSON property `cosmoBinaryReference`
1191
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1192
+ # @return [String]
1193
+ attr_accessor :cosmo_binary_reference
1194
+
1195
+ # crc32.c hash for the payload.
1196
+ # Corresponds to the JSON property `crc32cHash`
1197
+ # @return [Fixnum]
1198
+ attr_accessor :crc32c_hash
1364
1199
 
1365
- # Set this property to true to indicate that the channel's claimedVideoOptions
1366
- # can override the content owner's claimedVideoOptions.
1367
- # Corresponds to the JSON property `channelOverride`
1368
- # @return [Boolean]
1369
- attr_accessor :channel_override
1370
- alias_method :channel_override?, :channel_override
1200
+ # Media data, set if reference_type is INLINE
1201
+ # Corresponds to the JSON property `inline`
1202
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1203
+ # @return [String]
1204
+ attr_accessor :inline
1371
1205
 
1372
- # Identifies this resource as default options for newly claimed video. Value: "
1373
- # youtubePartner#claimedVideoDefaults".
1374
- # Corresponds to the JSON property `kind`
1206
+ # Size of the data, in bytes
1207
+ # Corresponds to the JSON property `length`
1208
+ # @return [Fixnum]
1209
+ attr_accessor :length
1210
+
1211
+ # MD5 hash for the payload.
1212
+ # Corresponds to the JSON property `md5Hash`
1213
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1375
1214
  # @return [String]
1376
- attr_accessor :kind
1215
+ attr_accessor :md5_hash
1377
1216
 
1378
- # A list of ad formats that could be used as the default settings for a newly
1379
- # claimed video. The first partner that claims the video sets its default
1380
- # advertising options to that video.
1381
- # Corresponds to the JSON property `newVideoDefaults`
1382
- # @return [Array<String>]
1383
- attr_accessor :new_video_defaults
1217
+ # This is a copy of the tech.blob.ObjectId proto, which could not
1218
+ # be used directly here due to transitive closure issues with
1219
+ # JavaScript support; see http://b/8801763.
1220
+ # Corresponds to the JSON property `objectId`
1221
+ # @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
1222
+ attr_accessor :object_id_prop
1223
+
1224
+ # Path to the data, set if reference_type is PATH
1225
+ # Corresponds to the JSON property `path`
1226
+ # @return [String]
1227
+ attr_accessor :path
1228
+
1229
+ # Describes what the field reference contains.
1230
+ # Corresponds to the JSON property `referenceType`
1231
+ # @return [String]
1232
+ attr_accessor :reference_type
1233
+
1234
+ # SHA-1 hash for the payload.
1235
+ # Corresponds to the JSON property `sha1Hash`
1236
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1237
+ # @return [String]
1238
+ attr_accessor :sha1_hash
1384
1239
 
1385
1240
  def initialize(**args)
1386
1241
  update!(**args)
@@ -1388,10 +1243,17 @@ module Google
1388
1243
 
1389
1244
  # Update properties of this object
1390
1245
  def update!(**args)
1391
- @auto_generated_breaks = args[:auto_generated_breaks] if args.key?(:auto_generated_breaks)
1392
- @channel_override = args[:channel_override] if args.key?(:channel_override)
1393
- @kind = args[:kind] if args.key?(:kind)
1394
- @new_video_defaults = args[:new_video_defaults] if args.key?(:new_video_defaults)
1246
+ @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
1247
+ @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
1248
+ @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
1249
+ @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
1250
+ @inline = args[:inline] if args.key?(:inline)
1251
+ @length = args[:length] if args.key?(:length)
1252
+ @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
1253
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1254
+ @path = args[:path] if args.key?(:path)
1255
+ @reference_type = args[:reference_type] if args.key?(:reference_type)
1256
+ @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
1395
1257
  end
1396
1258
  end
1397
1259
 
@@ -1399,9 +1261,9 @@ module Google
1399
1261
  class Conditions
1400
1262
  include Google::Apis::Core::Hashable
1401
1263
 
1402
- # This match condition specifies whether the user- or partner-uploaded content
1403
- # needs to match the audio, video or audiovisual content of a reference file for
1404
- # the rule to apply.
1264
+ # This match condition specifies whether the user- or partner-uploaded
1265
+ # content needs to match the audio, video or audiovisual content of a
1266
+ # reference file for the rule to apply.
1405
1267
  # Corresponds to the JSON property `contentMatchType`
1406
1268
  # @return [Array<String>]
1407
1269
  attr_accessor :content_match_type
@@ -1412,27 +1274,29 @@ module Google
1412
1274
  # @return [Array<Google::Apis::YoutubePartnerV1::IntervalCondition>]
1413
1275
  attr_accessor :match_duration
1414
1276
 
1415
- # This match condition specifies a percentage of the user- or partner-uploaded
1416
- # content that needs to match a reference file for the rule to apply.
1277
+ # This match condition specifies a percentage of the user- or
1278
+ # partner-uploaded content that needs to match a reference file for the rule
1279
+ # to apply.
1417
1280
  # Corresponds to the JSON property `matchPercent`
1418
1281
  # @return [Array<Google::Apis::YoutubePartnerV1::IntervalCondition>]
1419
1282
  attr_accessor :match_percent
1420
1283
 
1421
- # This match condition indicates that the reference must be a certain duration
1422
- # for the rule to apply.
1284
+ # This match condition indicates that the reference must be a certain
1285
+ # duration for the rule to apply.
1423
1286
  # Corresponds to the JSON property `referenceDuration`
1424
1287
  # @return [Array<Google::Apis::YoutubePartnerV1::IntervalCondition>]
1425
1288
  attr_accessor :reference_duration
1426
1289
 
1427
1290
  # This match condition indicates that the specified percentage of a reference
1428
- # file must match the user- or partner-uploaded content for the rule to apply.
1291
+ # file must match the user- or partner-uploaded content for the rule to
1292
+ # apply.
1429
1293
  # Corresponds to the JSON property `referencePercent`
1430
1294
  # @return [Array<Google::Apis::YoutubePartnerV1::IntervalCondition>]
1431
1295
  attr_accessor :reference_percent
1432
1296
 
1433
- # This watch condition specifies where users are (or or not) allowed to watch (
1434
- # or listen to) an asset. YouTube determines whether the condition is satisfied
1435
- # based on the user's location.
1297
+ # This watch condition specifies where users are (or or not) allowed to watch
1298
+ # (or listen to) an asset. YouTube determines whether the condition is
1299
+ # satisfied based on the user's location.
1436
1300
  # Corresponds to the JSON property `requiredTerritories`
1437
1301
  # @return [Google::Apis::YoutubePartnerV1::TerritoryCondition]
1438
1302
  attr_accessor :required_territories
@@ -1492,8 +1356,8 @@ module Google
1492
1356
  # @return [String]
1493
1357
  attr_accessor :display_name
1494
1358
 
1495
- # The email address(es) to which YouTube sends claim dispute notifications and
1496
- # possible claim notifications.
1359
+ # The email address(es) to which YouTube sends claim dispute notifications
1360
+ # and possible claim notifications.
1497
1361
  # Corresponds to the JSON property `disputeNotificationEmails`
1498
1362
  # @return [Array<String>]
1499
1363
  attr_accessor :dispute_notification_emails
@@ -1509,7 +1373,7 @@ module Google
1509
1373
  attr_accessor :id
1510
1374
 
1511
1375
  # The type of the API resource. For content owner resources, the value is
1512
- # youtubePartner#contentOwner.
1376
+ # <code>youtubePartner#contentOwner</code>.
1513
1377
  # Corresponds to the JSON property `kind`
1514
1378
  # @return [String]
1515
1379
  attr_accessor :kind
@@ -1537,27 +1401,16 @@ module Google
1537
1401
  end
1538
1402
 
1539
1403
  #
1540
- class ContentOwnerAdvertisingOption
1404
+ class ContentOwnerListResponse
1541
1405
  include Google::Apis::Core::Hashable
1542
1406
 
1543
- # This object identifies the ad formats that the content owner is allowed to use.
1544
- # Corresponds to the JSON property `allowedOptions`
1545
- # @return [Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions]
1546
- attr_accessor :allowed_options
1547
-
1548
- # This object identifies the advertising options used by default for the content
1549
- # owner's newly claimed videos.
1550
- # Corresponds to the JSON property `claimedVideoOptions`
1551
- # @return [Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults]
1552
- attr_accessor :claimed_video_options
1553
-
1554
- # The value that YouTube uses to uniquely identify the content owner.
1555
- # Corresponds to the JSON property `id`
1556
- # @return [String]
1557
- attr_accessor :id
1407
+ # A list of content owners that match the request criteria.
1408
+ # Corresponds to the JSON property `items`
1409
+ # @return [Array<Google::Apis::YoutubePartnerV1::ContentOwner>]
1410
+ attr_accessor :items
1558
1411
 
1559
- # The type of the API resource. For this resource, the value is youtubePartner#
1560
- # contentOwnerAdvertisingOption.
1412
+ # The type of the API response. For this operation, the value is
1413
+ # <code>youtubePartner#contentOwnerList</code>.
1561
1414
  # Corresponds to the JSON property `kind`
1562
1415
  # @return [String]
1563
1416
  attr_accessor :kind
@@ -1568,27 +1421,48 @@ module Google
1568
1421
 
1569
1422
  # Update properties of this object
1570
1423
  def update!(**args)
1571
- @allowed_options = args[:allowed_options] if args.key?(:allowed_options)
1572
- @claimed_video_options = args[:claimed_video_options] if args.key?(:claimed_video_options)
1573
- @id = args[:id] if args.key?(:id)
1424
+ @items = args[:items] if args.key?(:items)
1574
1425
  @kind = args[:kind] if args.key?(:kind)
1575
1426
  end
1576
1427
  end
1577
1428
 
1578
- #
1579
- class ContentOwnerListResponse
1429
+ # Detailed Content-Type information from Scotty. The Content-Type of the media
1430
+ # will typically be filled in by the header or Scotty's best_guess, but this
1431
+ # extended information provides the backend with more information so that it
1432
+ # can make a better decision if needed. This is only used on media upload
1433
+ # requests from Scotty.
1434
+ class ContentTypeInfo
1580
1435
  include Google::Apis::Core::Hashable
1581
1436
 
1582
- # A list of content owners that match the request criteria.
1583
- # Corresponds to the JSON property `items`
1584
- # @return [Array<Google::Apis::YoutubePartnerV1::ContentOwner>]
1585
- attr_accessor :items
1437
+ # Scotty's best guess of what the content type of the file is.
1438
+ # Corresponds to the JSON property `bestGuess`
1439
+ # @return [String]
1440
+ attr_accessor :best_guess
1586
1441
 
1587
- # The type of the API response. For this operation, the value is youtubePartner#
1588
- # contentOwnerList.
1589
- # Corresponds to the JSON property `kind`
1442
+ # The content type of the file derived by looking at specific
1443
+ # bytes (i.e. "magic bytes") of the actual file.
1444
+ # Corresponds to the JSON property `fromBytes`
1590
1445
  # @return [String]
1591
- attr_accessor :kind
1446
+ attr_accessor :from_bytes
1447
+
1448
+ # The content type of the file derived from the file extension of
1449
+ # the original file name used by the client.
1450
+ # Corresponds to the JSON property `fromFileName`
1451
+ # @return [String]
1452
+ attr_accessor :from_file_name
1453
+
1454
+ # The content type of the file as specified in the request headers,
1455
+ # multipart headers, or RUPIO start request.
1456
+ # Corresponds to the JSON property `fromHeader`
1457
+ # @return [String]
1458
+ attr_accessor :from_header
1459
+
1460
+ # The content type of the file derived from the file extension of the
1461
+ # URL path. The URL path is assumed to represent a file name (which
1462
+ # is typically only true for agents that are providing a REST API).
1463
+ # Corresponds to the JSON property `fromUrlPath`
1464
+ # @return [String]
1465
+ attr_accessor :from_url_path
1592
1466
 
1593
1467
  def initialize(**args)
1594
1468
  update!(**args)
@@ -1596,8 +1470,11 @@ module Google
1596
1470
 
1597
1471
  # Update properties of this object
1598
1472
  def update!(**args)
1599
- @items = args[:items] if args.key?(:items)
1600
- @kind = args[:kind] if args.key?(:kind)
1473
+ @best_guess = args[:best_guess] if args.key?(:best_guess)
1474
+ @from_bytes = args[:from_bytes] if args.key?(:from_bytes)
1475
+ @from_file_name = args[:from_file_name] if args.key?(:from_file_name)
1476
+ @from_header = args[:from_header] if args.key?(:from_header)
1477
+ @from_url_path = args[:from_url_path] if args.key?(:from_url_path)
1601
1478
  end
1602
1479
  end
1603
1480
 
@@ -1610,8 +1487,11 @@ module Google
1610
1487
  # @return [Array<String>]
1611
1488
  attr_accessor :ad_formats
1612
1489
 
1613
- # A list of ISO 3166-1 alpha-2 country codes that identify the countries where
1614
- # ads are enabled.
1490
+ # A list of <a
1491
+ # href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/
1492
+ # country_names_and_code_elements.htm">ISO
1493
+ # 3166-1 alpha-2 country codes</a> that identify the countries where ads are
1494
+ # enabled.
1615
1495
  # Corresponds to the JSON property `territories`
1616
1496
  # @return [Array<String>]
1617
1497
  attr_accessor :territories
@@ -1631,40 +1511,52 @@ module Google
1631
1511
  class CuepointSettings
1632
1512
  include Google::Apis::Core::Hashable
1633
1513
 
1634
- # The cuepoint's type. See the Getting started guide for an explanation of the
1635
- # different types of cuepoints. Also see the Life of a broadcast document for
1636
- # best practices about inserting cuepoints during your broadcast.
1514
+ # The cuepoint's type. See the <a
1515
+ # href="/youtube/v3/live/getting-started#Inserting_Cuepoints">Getting
1516
+ # started</a> guide for an explanation of the different types of cuepoints.
1517
+ # Also see the <a
1518
+ # href="/youtube/v3/live/life-of-a-broadcast#Insert_Cuepoints">Life of a
1519
+ # broadcast</a> document for best practices about inserting cuepoints during
1520
+ # your broadcast.
1637
1521
  # Corresponds to the JSON property `cueType`
1638
1522
  # @return [String]
1639
1523
  attr_accessor :cue_type
1640
1524
 
1641
1525
  # The cuepoint's duration, in seconds. This value must be specified if the
1642
- # cueType is ad and is ignored otherwise.
1526
+ # <code><a href="#cueType">cueType</a></code> is <code>ad</code> and is
1527
+ # ignored otherwise.
1643
1528
  # Corresponds to the JSON property `durationSecs`
1644
1529
  # @return [Fixnum]
1645
1530
  attr_accessor :duration_secs
1646
1531
 
1647
- # This value specifies a point in time in the video when viewers should see an
1648
- # ad or in-stream slate. The property value identifies a time offset, in
1649
- # milliseconds, from the beginning of the monitor stream. Though measured in
1650
- # milliseconds, the value is actually an approximation, and YouTube will insert
1651
- # the cuepoint as closely as possible to that time. You should not specify a
1652
- # value for this parameter if your broadcast does not have a monitor stream.
1653
- # This property's default value is 0, which indicates that the cuepoint should
1654
- # be inserted as soon as possible. If your broadcast stream is not delayed, then
1655
- # 0 is also the only valid value. However, if your broadcast stream is delayed,
1656
- # then the property value can specify the time when the cuepoint should be
1657
- # inserted. See the Getting started guide for more details.
1658
- # Note: If your broadcast had a testing phase, the offset is measured from the
1659
- # time that the testing phase began.
1532
+ # This value specifies a point in time in the video when viewers should see
1533
+ # an ad or <a
1534
+ # href="/youtube/v3/live/getting-started#Displaying_Slates">in-stream
1535
+ # slate</a>. The property value identifies a time offset, in milliseconds,
1536
+ # from the beginning of the monitor stream. Though measured in milliseconds,
1537
+ # the value is actually an approximation, and YouTube will insert the
1538
+ # cuepoint as closely as possible to that time. You should not specify a
1539
+ # value for this parameter if your broadcast does not have a monitor
1540
+ # stream.<br><br> This
1541
+ # property's default value is <code>0</code>, which indicates that the
1542
+ # cuepoint should be inserted as soon as possible. If your broadcast stream
1543
+ # is not delayed, then <code>0</code> is also the only valid value. However,
1544
+ # if your broadcast stream is delayed, then the property value can specify
1545
+ # the time when the cuepoint should be inserted. See the <a
1546
+ # href="/youtube/v3/live/getting-started#Setting_Time_Offsets">Getting
1547
+ # started</a> guide for more details.<br><br> <strong>Note:</strong> If your
1548
+ # broadcast had a testing phase, the offset is measured from the time that
1549
+ # the testing phase began.
1660
1550
  # Corresponds to the JSON property `offsetTimeMs`
1661
1551
  # @return [Fixnum]
1662
1552
  attr_accessor :offset_time_ms
1663
1553
 
1664
1554
  # This value specifies the wall clock time at which the cuepoint should be
1665
- # inserted. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
1555
+ # inserted. The value is specified in <a
1556
+ # href="//www.w3.org/TR/NOTE-datetime">ISO 8601</a>
1557
+ # (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>) format.
1666
1558
  # Corresponds to the JSON property `walltime`
1667
- # @return [DateTime]
1559
+ # @return [String]
1668
1560
  attr_accessor :walltime
1669
1561
 
1670
1562
  def initialize(**args)
@@ -1684,13 +1576,14 @@ module Google
1684
1576
  class Date
1685
1577
  include Google::Apis::Core::Hashable
1686
1578
 
1687
- # The date's day. The value should be an integer between 1 and 31. Note that
1688
- # some day-month combinations are not valid.
1579
+ # The date's day. The value should be an integer between <code>1</code> and
1580
+ # <code>31</code>. Note that some day-month combinations are not valid.
1689
1581
  # Corresponds to the JSON property `day`
1690
1582
  # @return [Fixnum]
1691
1583
  attr_accessor :day
1692
1584
 
1693
- # The date's month. The value should be an integer between 1 and 12.
1585
+ # The date's month. The value should be an integer between <code>1</code> and
1586
+ # <code>12</code>.
1694
1587
  # Corresponds to the JSON property `month`
1695
1588
  # @return [Fixnum]
1696
1589
  attr_accessor :month
@@ -1712,26 +1605,216 @@ module Google
1712
1605
  end
1713
1606
  end
1714
1607
 
1715
- #
1716
- class DateRange
1608
+ # Backend response for a Diff get checksums response.
1609
+ # For details on the Scotty Diff protocol,
1610
+ # visit http://go/scotty-diff-protocol.
1611
+ class DiffChecksumsResponse
1717
1612
  include Google::Apis::Core::Hashable
1718
1613
 
1719
- # The end date (inclusive) for the date range. This value is required for video-
1720
- # on-demand (VOD) orders and optional for electronic sell-through (EST) orders.
1721
- # Corresponds to the JSON property `end`
1722
- # @return [Google::Apis::YoutubePartnerV1::Date]
1723
- attr_accessor :end
1614
+ # A sequence of media data references representing composite data.
1615
+ # Introduced to support Bigstore composite objects. For details, visit
1616
+ # http://go/bigstore-composites.
1617
+ # Corresponds to the JSON property `checksumsLocation`
1618
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1619
+ attr_accessor :checksums_location
1724
1620
 
1725
- # Identifies this resource as order date range. Value: "youtubePartner#dateRange"
1726
- # .
1727
- # Corresponds to the JSON property `kind`
1621
+ # The chunk size of checksums. Must be a multiple of 256KB.
1622
+ # Corresponds to the JSON property `chunkSizeBytes`
1623
+ # @return [Fixnum]
1624
+ attr_accessor :chunk_size_bytes
1625
+
1626
+ # A sequence of media data references representing composite data.
1627
+ # Introduced to support Bigstore composite objects. For details, visit
1628
+ # http://go/bigstore-composites.
1629
+ # Corresponds to the JSON property `objectLocation`
1630
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1631
+ attr_accessor :object_location
1632
+
1633
+ # The total size of the server object.
1634
+ # Corresponds to the JSON property `objectSizeBytes`
1635
+ # @return [Fixnum]
1636
+ attr_accessor :object_size_bytes
1637
+
1638
+ # The object version of the object the checksums are being returned for.
1639
+ # Corresponds to the JSON property `objectVersion`
1728
1640
  # @return [String]
1729
- attr_accessor :kind
1641
+ attr_accessor :object_version
1730
1642
 
1731
- # The start date for the date range. This value is required for all date ranges.
1732
- # Corresponds to the JSON property `start`
1733
- # @return [Google::Apis::YoutubePartnerV1::Date]
1734
- attr_accessor :start
1643
+ def initialize(**args)
1644
+ update!(**args)
1645
+ end
1646
+
1647
+ # Update properties of this object
1648
+ def update!(**args)
1649
+ @checksums_location = args[:checksums_location] if args.key?(:checksums_location)
1650
+ @chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
1651
+ @object_location = args[:object_location] if args.key?(:object_location)
1652
+ @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
1653
+ @object_version = args[:object_version] if args.key?(:object_version)
1654
+ end
1655
+ end
1656
+
1657
+ # Backend response for a Diff download response.
1658
+ # For details on the Scotty Diff protocol,
1659
+ # visit http://go/scotty-diff-protocol.
1660
+ class DiffDownloadResponse
1661
+ include Google::Apis::Core::Hashable
1662
+
1663
+ # A sequence of media data references representing composite data.
1664
+ # Introduced to support Bigstore composite objects. For details, visit
1665
+ # http://go/bigstore-composites.
1666
+ # Corresponds to the JSON property `objectLocation`
1667
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1668
+ attr_accessor :object_location
1669
+
1670
+ def initialize(**args)
1671
+ update!(**args)
1672
+ end
1673
+
1674
+ # Update properties of this object
1675
+ def update!(**args)
1676
+ @object_location = args[:object_location] if args.key?(:object_location)
1677
+ end
1678
+ end
1679
+
1680
+ # A Diff upload request.
1681
+ # For details on the Scotty Diff protocol,
1682
+ # visit http://go/scotty-diff-protocol.
1683
+ class DiffUploadRequest
1684
+ include Google::Apis::Core::Hashable
1685
+
1686
+ # A sequence of media data references representing composite data.
1687
+ # Introduced to support Bigstore composite objects. For details, visit
1688
+ # http://go/bigstore-composites.
1689
+ # Corresponds to the JSON property `checksumsInfo`
1690
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1691
+ attr_accessor :checksums_info
1692
+
1693
+ # A sequence of media data references representing composite data.
1694
+ # Introduced to support Bigstore composite objects. For details, visit
1695
+ # http://go/bigstore-composites.
1696
+ # Corresponds to the JSON property `objectInfo`
1697
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1698
+ attr_accessor :object_info
1699
+
1700
+ # The object version of the object that is the base version the incoming
1701
+ # diff script will be applied to.
1702
+ # This field will always be filled in.
1703
+ # Corresponds to the JSON property `objectVersion`
1704
+ # @return [String]
1705
+ attr_accessor :object_version
1706
+
1707
+ def initialize(**args)
1708
+ update!(**args)
1709
+ end
1710
+
1711
+ # Update properties of this object
1712
+ def update!(**args)
1713
+ @checksums_info = args[:checksums_info] if args.key?(:checksums_info)
1714
+ @object_info = args[:object_info] if args.key?(:object_info)
1715
+ @object_version = args[:object_version] if args.key?(:object_version)
1716
+ end
1717
+ end
1718
+
1719
+ # Backend response for a Diff upload request.
1720
+ # For details on the Scotty Diff protocol,
1721
+ # visit http://go/scotty-diff-protocol.
1722
+ class DiffUploadResponse
1723
+ include Google::Apis::Core::Hashable
1724
+
1725
+ # The object version of the object at the server. Must be included in the
1726
+ # end notification response.
1727
+ # The version in the end notification response must correspond to the new
1728
+ # version of the object that is now stored at the server, after the upload.
1729
+ # Corresponds to the JSON property `objectVersion`
1730
+ # @return [String]
1731
+ attr_accessor :object_version
1732
+
1733
+ # A sequence of media data references representing composite data.
1734
+ # Introduced to support Bigstore composite objects. For details, visit
1735
+ # http://go/bigstore-composites.
1736
+ # Corresponds to the JSON property `originalObject`
1737
+ # @return [Google::Apis::YoutubePartnerV1::CompositeMedia]
1738
+ attr_accessor :original_object
1739
+
1740
+ def initialize(**args)
1741
+ update!(**args)
1742
+ end
1743
+
1744
+ # Update properties of this object
1745
+ def update!(**args)
1746
+ @object_version = args[:object_version] if args.key?(:object_version)
1747
+ @original_object = args[:original_object] if args.key?(:original_object)
1748
+ end
1749
+ end
1750
+
1751
+ # Backend response for a Diff get version response.
1752
+ # For details on the Scotty Diff protocol,
1753
+ # visit http://go/scotty-diff-protocol.
1754
+ class DiffVersionResponse
1755
+ include Google::Apis::Core::Hashable
1756
+
1757
+ # The total size of the server object.
1758
+ # Corresponds to the JSON property `objectSizeBytes`
1759
+ # @return [Fixnum]
1760
+ attr_accessor :object_size_bytes
1761
+
1762
+ # The version of the object stored at the server.
1763
+ # Corresponds to the JSON property `objectVersion`
1764
+ # @return [String]
1765
+ attr_accessor :object_version
1766
+
1767
+ def initialize(**args)
1768
+ update!(**args)
1769
+ end
1770
+
1771
+ # Update properties of this object
1772
+ def update!(**args)
1773
+ @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
1774
+ @object_version = args[:object_version] if args.key?(:object_version)
1775
+ end
1776
+ end
1777
+
1778
+ # Parameters specific to media downloads.
1779
+ class DownloadParameters
1780
+ include Google::Apis::Core::Hashable
1781
+
1782
+ # A boolean to be returned in the response to Scotty. Allows/disallows gzip
1783
+ # encoding of the payload content when the server thinks it's
1784
+ # advantageous (hence, does not guarantee compression) which allows
1785
+ # Scotty to GZip the response to the client.
1786
+ # Corresponds to the JSON property `allowGzipCompression`
1787
+ # @return [Boolean]
1788
+ attr_accessor :allow_gzip_compression
1789
+ alias_method :allow_gzip_compression?, :allow_gzip_compression
1790
+
1791
+ # Determining whether or not Apiary should skip the inclusion
1792
+ # of any Content-Range header on its response to Scotty.
1793
+ # Corresponds to the JSON property `ignoreRange`
1794
+ # @return [Boolean]
1795
+ attr_accessor :ignore_range
1796
+ alias_method :ignore_range?, :ignore_range
1797
+
1798
+ def initialize(**args)
1799
+ update!(**args)
1800
+ end
1801
+
1802
+ # Update properties of this object
1803
+ def update!(**args)
1804
+ @allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
1805
+ @ignore_range = args[:ignore_range] if args.key?(:ignore_range)
1806
+ end
1807
+ end
1808
+
1809
+ # A generic empty message that you can re-use to avoid defining duplicated
1810
+ # empty messages in your APIs. A typical example is to use it as the request
1811
+ # or the response type of an API method. For instance:
1812
+ # service Foo `
1813
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1814
+ # `
1815
+ # The JSON representation for `Empty` is empty JSON object ````.
1816
+ class Empty
1817
+ include Google::Apis::Core::Hashable
1735
1818
 
1736
1819
  def initialize(**args)
1737
1820
  update!(**args)
@@ -1739,9 +1822,6 @@ module Google
1739
1822
 
1740
1823
  # Update properties of this object
1741
1824
  def update!(**args)
1742
- @end = args[:end] if args.key?(:end)
1743
- @kind = args[:kind] if args.key?(:kind)
1744
- @start = args[:start] if args.key?(:start)
1745
1825
  end
1746
1826
  end
1747
1827
 
@@ -1749,16 +1829,18 @@ module Google
1749
1829
  class ExcludedInterval
1750
1830
  include Google::Apis::Core::Hashable
1751
1831
 
1752
- # The end (inclusive) time in seconds of the time window. The value can be any
1753
- # value greater than low. If high is greater than the length of the reference,
1754
- # the interval between low and the end of the reference will be excluded. Every
1755
- # interval must specify a value for this field.
1832
+ # The end (inclusive) time in seconds of the time window. The value can be
1833
+ # any value greater than <code>low</code>. If <code>high</code> is greater
1834
+ # than the length of the reference, the interval between <code>low</code> and
1835
+ # the end of the reference will be excluded. Every interval must specify a
1836
+ # value for this field.
1756
1837
  # Corresponds to the JSON property `high`
1757
1838
  # @return [Float]
1758
1839
  attr_accessor :high
1759
1840
 
1760
- # The start (inclusive) time in seconds of the time window. The value can be any
1761
- # value between 0 and high. Every interval must specify a value for this field.
1841
+ # The start (inclusive) time in seconds of the time window. The value can be
1842
+ # any value between <code>0</code> and <code>high</code>. Every interval must
1843
+ # specify a value for this field.
1762
1844
  # Corresponds to the JSON property `low`
1763
1845
  # @return [Float]
1764
1846
  attr_accessor :low
@@ -1769,9 +1851,10 @@ module Google
1769
1851
  attr_accessor :origin
1770
1852
 
1771
1853
  # The date and time that the exclusion was created. The value is specified in
1772
- # RFC 3339 (YYYY-MM-DDThh:mm:ss.000Z) format.
1854
+ # <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a>
1855
+ # (<code>YYYY-MM-DDThh:mm:ss.000Z</code>) format.
1773
1856
  # Corresponds to the JSON property `timeCreated`
1774
- # @return [DateTime]
1857
+ # @return [String]
1775
1858
  attr_accessor :time_created
1776
1859
 
1777
1860
  def initialize(**args)
@@ -1791,14 +1874,14 @@ module Google
1791
1874
  class IntervalCondition
1792
1875
  include Google::Apis::Core::Hashable
1793
1876
 
1794
- # The maximum (inclusive) allowed value for the condition to be satisfied. The
1795
- # default value is ∞.
1877
+ # The maximum (inclusive) allowed value for the condition to be satisfied.
1878
+ # The default value is <code>&infin;</code>.
1796
1879
  # Corresponds to the JSON property `high`
1797
1880
  # @return [Float]
1798
1881
  attr_accessor :high
1799
1882
 
1800
- # The minimum (inclusive) allowed value for the condition to be satisfied. The
1801
- # default value is -∞.
1883
+ # The minimum (inclusive) allowed value for the condition to be satisfied.
1884
+ # The default value is <code>-&infin;</code>.
1802
1885
  # Corresponds to the JSON property `low`
1803
1886
  # @return [Float]
1804
1887
  attr_accessor :low
@@ -1818,8 +1901,8 @@ module Google
1818
1901
  class LiveCuepoint
1819
1902
  include Google::Apis::Core::Hashable
1820
1903
 
1821
- # The ID that YouTube assigns to uniquely identify the broadcast into which the
1822
- # cuepoint is being inserted.
1904
+ # The ID that YouTube assigns to uniquely identify the broadcast into which
1905
+ # the cuepoint is being inserted.
1823
1906
  # Corresponds to the JSON property `broadcastId`
1824
1907
  # @return [String]
1825
1908
  attr_accessor :broadcast_id
@@ -1829,13 +1912,14 @@ module Google
1829
1912
  # @return [String]
1830
1913
  attr_accessor :id
1831
1914
 
1832
- # The type of the API resource. For liveCuepoint resources, the value is
1833
- # youtubePartner#liveCuepoint.
1915
+ # The type of the API resource. For <code>liveCuepoint</code> resources, the
1916
+ # value is <code>youtubePartner#liveCuepoint</code>.
1834
1917
  # Corresponds to the JSON property `kind`
1835
1918
  # @return [String]
1836
1919
  attr_accessor :kind
1837
1920
 
1838
- # The settings object defines the cuepoint's settings.
1921
+ # The <code><strong>settings</strong></code> object defines the cuepoint's
1922
+ # settings.
1839
1923
  # Corresponds to the JSON property `settings`
1840
1924
  # @return [Google::Apis::YoutubePartnerV1::CuepointSettings]
1841
1925
  attr_accessor :settings
@@ -1846,40 +1930,527 @@ module Google
1846
1930
 
1847
1931
  # Update properties of this object
1848
1932
  def update!(**args)
1849
- @broadcast_id = args[:broadcast_id] if args.key?(:broadcast_id)
1850
- @id = args[:id] if args.key?(:id)
1851
- @kind = args[:kind] if args.key?(:kind)
1852
- @settings = args[:settings] if args.key?(:settings)
1933
+ @broadcast_id = args[:broadcast_id] if args.key?(:broadcast_id)
1934
+ @id = args[:id] if args.key?(:id)
1935
+ @kind = args[:kind] if args.key?(:kind)
1936
+ @settings = args[:settings] if args.key?(:settings)
1937
+ end
1938
+ end
1939
+
1940
+ #
1941
+ class LongestMatch
1942
+ include Google::Apis::Core::Hashable
1943
+
1944
+ # The duration of the longest match between the reference and the user
1945
+ # video.
1946
+ # Corresponds to the JSON property `durationSecs`
1947
+ # @return [Fixnum]
1948
+ attr_accessor :duration_secs
1949
+
1950
+ # The offset in seconds into the reference at which the longest match
1951
+ # began.
1952
+ # Corresponds to the JSON property `referenceOffset`
1953
+ # @return [Fixnum]
1954
+ attr_accessor :reference_offset
1955
+
1956
+ # The offset in seconds into the user video at which the longest match
1957
+ # began.
1958
+ # Corresponds to the JSON property `userVideoOffset`
1959
+ # @return [Fixnum]
1960
+ attr_accessor :user_video_offset
1961
+
1962
+ def initialize(**args)
1963
+ update!(**args)
1964
+ end
1965
+
1966
+ # Update properties of this object
1967
+ def update!(**args)
1968
+ @duration_secs = args[:duration_secs] if args.key?(:duration_secs)
1969
+ @reference_offset = args[:reference_offset] if args.key?(:reference_offset)
1970
+ @user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset)
1971
+ end
1972
+ end
1973
+
1974
+ #
1975
+ class MatchInfo
1976
+ include Google::Apis::Core::Hashable
1977
+
1978
+ # Details of the longest match between the reference and the user video.
1979
+ # Corresponds to the JSON property `longestMatch`
1980
+ # @return [Google::Apis::YoutubePartnerV1::LongestMatch]
1981
+ attr_accessor :longest_match
1982
+
1983
+ # Details about each match segment. Each item in the list contains
1984
+ # information about one match segment associated with the claim. It is
1985
+ # possible to have multiple match segments. For example, if the audio and
1986
+ # video content of an uploaded video match that of a reference video, there
1987
+ # would be two match segments. One segment would describe the audio match
1988
+ # and the other would describe the video match.
1989
+ # Corresponds to the JSON property `matchSegments`
1990
+ # @return [Array<Google::Apis::YoutubePartnerV1::MatchSegment>]
1991
+ attr_accessor :match_segments
1992
+
1993
+ # The <a href="/youtube/partner/docs/v1/reference">reference</a> ID that
1994
+ # generated this match.
1995
+ # Corresponds to the JSON property `referenceId`
1996
+ # @return [String]
1997
+ attr_accessor :reference_id
1998
+
1999
+ # Details of the total amount of reference and user video content which
2000
+ # matched each other. Note these two values may differ if either the
2001
+ # reference or the user video contains a loop.
2002
+ # Corresponds to the JSON property `totalMatch`
2003
+ # @return [Google::Apis::YoutubePartnerV1::TotalMatch]
2004
+ attr_accessor :total_match
2005
+
2006
+ def initialize(**args)
2007
+ update!(**args)
2008
+ end
2009
+
2010
+ # Update properties of this object
2011
+ def update!(**args)
2012
+ @longest_match = args[:longest_match] if args.key?(:longest_match)
2013
+ @match_segments = args[:match_segments] if args.key?(:match_segments)
2014
+ @reference_id = args[:reference_id] if args.key?(:reference_id)
2015
+ @total_match = args[:total_match] if args.key?(:total_match)
2016
+ end
2017
+ end
2018
+
2019
+ #
2020
+ class MatchSegment
2021
+ include Google::Apis::Core::Hashable
2022
+
2023
+ # Identifies the manner in which the claimed video matches the reference
2024
+ # video.
2025
+ # Corresponds to the JSON property `channel`
2026
+ # @return [String]
2027
+ attr_accessor :channel
2028
+
2029
+ # On insert operation of manual claims, the <code>manual_segment</code>
2030
+ # object contains information about the specific portion of the video that is
2031
+ # claimed to be matching.
2032
+ # Corresponds to the JSON property `manual_segment`
2033
+ # @return [Google::Apis::YoutubePartnerV1::Segment2]
2034
+ attr_accessor :manual_segment
2035
+
2036
+ # The <code>reference_segment</code> object contains information about the
2037
+ # matched portion of the reference content.
2038
+ # Corresponds to the JSON property `reference_segment`
2039
+ # @return [Google::Apis::YoutubePartnerV1::Segment]
2040
+ attr_accessor :reference_segment
2041
+
2042
+ # The <code>video_segment</code> object contains information about the
2043
+ # matched portion of the claimed video.
2044
+ # Corresponds to the JSON property `video_segment`
2045
+ # @return [Google::Apis::YoutubePartnerV1::Segment]
2046
+ attr_accessor :video_segment
2047
+
2048
+ def initialize(**args)
2049
+ update!(**args)
2050
+ end
2051
+
2052
+ # Update properties of this object
2053
+ def update!(**args)
2054
+ @channel = args[:channel] if args.key?(:channel)
2055
+ @manual_segment = args[:manual_segment] if args.key?(:manual_segment)
2056
+ @reference_segment = args[:reference_segment] if args.key?(:reference_segment)
2057
+ @video_segment = args[:video_segment] if args.key?(:video_segment)
2058
+ end
2059
+ end
2060
+
2061
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
2062
+ class Media
2063
+ include Google::Apis::Core::Hashable
2064
+
2065
+ # Deprecated, use one of explicit hash type fields instead.
2066
+ # Algorithm used for calculating the hash.
2067
+ # As of 2011/01/21, "MD5" is the only possible value for this field.
2068
+ # New values may be added at any time.
2069
+ # Corresponds to the JSON property `algorithm`
2070
+ # @return [String]
2071
+ attr_accessor :algorithm
2072
+
2073
+ # Use object_id instead.
2074
+ # Corresponds to the JSON property `bigstoreObjectRef`
2075
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2076
+ # @return [String]
2077
+ attr_accessor :bigstore_object_ref
2078
+
2079
+ # Blobstore v1 reference, set if reference_type is BLOBSTORE_REF
2080
+ # This should be the byte representation of a blobstore.BlobRef.
2081
+ # Since Blobstore is deprecating v1, use blobstore2_info instead.
2082
+ # For now, any v2 blob will also be represented in this field as
2083
+ # v1 BlobRef.
2084
+ # Corresponds to the JSON property `blobRef`
2085
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2086
+ # @return [String]
2087
+ attr_accessor :blob_ref
2088
+
2089
+ # Information to read/write to blobstore2.
2090
+ # Corresponds to the JSON property `blobstore2Info`
2091
+ # @return [Google::Apis::YoutubePartnerV1::Blobstore2Info]
2092
+ attr_accessor :blobstore2_info
2093
+
2094
+ # A composite media composed of one or more media objects, set if
2095
+ # reference_type is COMPOSITE_MEDIA. The media length field must be set
2096
+ # to the sum of the lengths of all composite media objects.
2097
+ # Note: All composite media must have length specified.
2098
+ # Corresponds to the JSON property `compositeMedia`
2099
+ # @return [Array<Google::Apis::YoutubePartnerV1::CompositeMedia>]
2100
+ attr_accessor :composite_media
2101
+
2102
+ # MIME type of the data
2103
+ # Corresponds to the JSON property `contentType`
2104
+ # @return [String]
2105
+ attr_accessor :content_type
2106
+
2107
+ # Detailed Content-Type information from Scotty. The Content-Type of the media
2108
+ # will typically be filled in by the header or Scotty's best_guess, but this
2109
+ # extended information provides the backend with more information so that it
2110
+ # can make a better decision if needed. This is only used on media upload
2111
+ # requests from Scotty.
2112
+ # Corresponds to the JSON property `contentTypeInfo`
2113
+ # @return [Google::Apis::YoutubePartnerV1::ContentTypeInfo]
2114
+ attr_accessor :content_type_info
2115
+
2116
+ # A binary data reference for a media download. Serves as a
2117
+ # technology-agnostic binary reference in some Google infrastructure.
2118
+ # This value is a serialized storage_cosmo.BinaryReference proto. Storing
2119
+ # it as bytes is a hack to get around the fact that the cosmo proto
2120
+ # (as well as others it includes) doesn't support JavaScript. This
2121
+ # prevents us from including the actual type of this field.
2122
+ # Corresponds to the JSON property `cosmoBinaryReference`
2123
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2124
+ # @return [String]
2125
+ attr_accessor :cosmo_binary_reference
2126
+
2127
+ # For Scotty Uploads:
2128
+ # Scotty-provided hashes for uploads
2129
+ # For Scotty Downloads:
2130
+ # (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.)
2131
+ # A Hash provided by the agent to be used to verify the data being
2132
+ # downloaded. Currently only supported for inline payloads.
2133
+ # Further, only crc32c_hash is currently supported.
2134
+ # Corresponds to the JSON property `crc32cHash`
2135
+ # @return [Fixnum]
2136
+ attr_accessor :crc32c_hash
2137
+
2138
+ # Backend response for a Diff get checksums response.
2139
+ # For details on the Scotty Diff protocol,
2140
+ # visit http://go/scotty-diff-protocol.
2141
+ # Corresponds to the JSON property `diffChecksumsResponse`
2142
+ # @return [Google::Apis::YoutubePartnerV1::DiffChecksumsResponse]
2143
+ attr_accessor :diff_checksums_response
2144
+
2145
+ # Backend response for a Diff download response.
2146
+ # For details on the Scotty Diff protocol,
2147
+ # visit http://go/scotty-diff-protocol.
2148
+ # Corresponds to the JSON property `diffDownloadResponse`
2149
+ # @return [Google::Apis::YoutubePartnerV1::DiffDownloadResponse]
2150
+ attr_accessor :diff_download_response
2151
+
2152
+ # A Diff upload request.
2153
+ # For details on the Scotty Diff protocol,
2154
+ # visit http://go/scotty-diff-protocol.
2155
+ # Corresponds to the JSON property `diffUploadRequest`
2156
+ # @return [Google::Apis::YoutubePartnerV1::DiffUploadRequest]
2157
+ attr_accessor :diff_upload_request
2158
+
2159
+ # Backend response for a Diff upload request.
2160
+ # For details on the Scotty Diff protocol,
2161
+ # visit http://go/scotty-diff-protocol.
2162
+ # Corresponds to the JSON property `diffUploadResponse`
2163
+ # @return [Google::Apis::YoutubePartnerV1::DiffUploadResponse]
2164
+ attr_accessor :diff_upload_response
2165
+
2166
+ # Backend response for a Diff get version response.
2167
+ # For details on the Scotty Diff protocol,
2168
+ # visit http://go/scotty-diff-protocol.
2169
+ # Corresponds to the JSON property `diffVersionResponse`
2170
+ # @return [Google::Apis::YoutubePartnerV1::DiffVersionResponse]
2171
+ attr_accessor :diff_version_response
2172
+
2173
+ # Parameters specific to media downloads.
2174
+ # Corresponds to the JSON property `downloadParameters`
2175
+ # @return [Google::Apis::YoutubePartnerV1::DownloadParameters]
2176
+ attr_accessor :download_parameters
2177
+
2178
+ # Original file name
2179
+ # Corresponds to the JSON property `filename`
2180
+ # @return [String]
2181
+ attr_accessor :filename
2182
+
2183
+ # Deprecated, use one of explicit hash type fields instead.
2184
+ # These two hash related fields will only be populated on Scotty based media
2185
+ # uploads and will contain the content of the hash group in the
2186
+ # NotificationRequest:
2187
+ # http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash
2188
+ # Hex encoded hash value of the uploaded media.
2189
+ # Corresponds to the JSON property `hash`
2190
+ # @return [String]
2191
+ attr_accessor :hash_prop
2192
+
2193
+ # For Scotty uploads only. If a user sends a hash code and the backend has
2194
+ # requested that Scotty verify the upload against the client hash,
2195
+ # Scotty will perform the check on behalf of the backend and will reject it
2196
+ # if the hashes don't match. This is set to true if Scotty performed
2197
+ # this verification.
2198
+ # Corresponds to the JSON property `hashVerified`
2199
+ # @return [Boolean]
2200
+ attr_accessor :hash_verified
2201
+ alias_method :hash_verified?, :hash_verified
2202
+
2203
+ # Media data, set if reference_type is INLINE
2204
+ # Corresponds to the JSON property `inline`
2205
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2206
+ # @return [String]
2207
+ attr_accessor :inline
2208
+
2209
+ # |is_potential_retry| is set false only when Scotty is
2210
+ # certain that it has not sent the request before. When a client resumes
2211
+ # an upload, this field must be set true in agent calls, because Scotty
2212
+ # cannot be certain that it has never sent the request before due
2213
+ # to potential failure in the session state persistence.
2214
+ # Corresponds to the JSON property `isPotentialRetry`
2215
+ # @return [Boolean]
2216
+ attr_accessor :is_potential_retry
2217
+ alias_method :is_potential_retry?, :is_potential_retry
2218
+
2219
+ # Size of the data, in bytes
2220
+ # Corresponds to the JSON property `length`
2221
+ # @return [Fixnum]
2222
+ attr_accessor :length
2223
+
2224
+ # Scotty-provided MD5 hash for an upload.
2225
+ # Corresponds to the JSON property `md5Hash`
2226
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2227
+ # @return [String]
2228
+ attr_accessor :md5_hash
2229
+
2230
+ # Media id to forward to the operation GetMedia.
2231
+ # Can be set if reference_type is GET_MEDIA.
2232
+ # Corresponds to the JSON property `mediaId`
2233
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2234
+ # @return [String]
2235
+ attr_accessor :media_id
2236
+
2237
+ # This is a copy of the tech.blob.ObjectId proto, which could not
2238
+ # be used directly here due to transitive closure issues with
2239
+ # JavaScript support; see http://b/8801763.
2240
+ # Corresponds to the JSON property `objectId`
2241
+ # @return [Google::Apis::YoutubePartnerV1::ObjectIdProp]
2242
+ attr_accessor :object_id_prop
2243
+
2244
+ # Path to the data, set if reference_type is PATH
2245
+ # Corresponds to the JSON property `path`
2246
+ # @return [String]
2247
+ attr_accessor :path
2248
+
2249
+ # Describes what the field reference contains.
2250
+ # Corresponds to the JSON property `referenceType`
2251
+ # @return [String]
2252
+ attr_accessor :reference_type
2253
+
2254
+ # Scotty-provided SHA1 hash for an upload.
2255
+ # Corresponds to the JSON property `sha1Hash`
2256
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2257
+ # @return [String]
2258
+ attr_accessor :sha1_hash
2259
+
2260
+ # Scotty-provided SHA256 hash for an upload.
2261
+ # Corresponds to the JSON property `sha256Hash`
2262
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2263
+ # @return [String]
2264
+ attr_accessor :sha256_hash
2265
+
2266
+ # Time at which the media data was last updated,
2267
+ # in milliseconds since UNIX epoch
2268
+ # Corresponds to the JSON property `timestamp`
2269
+ # @return [Fixnum]
2270
+ attr_accessor :timestamp
2271
+
2272
+ # A unique fingerprint/version id for the media data
2273
+ # Corresponds to the JSON property `token`
2274
+ # @return [String]
2275
+ attr_accessor :token
2276
+
2277
+ def initialize(**args)
2278
+ update!(**args)
2279
+ end
2280
+
2281
+ # Update properties of this object
2282
+ def update!(**args)
2283
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
2284
+ @bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
2285
+ @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
2286
+ @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
2287
+ @composite_media = args[:composite_media] if args.key?(:composite_media)
2288
+ @content_type = args[:content_type] if args.key?(:content_type)
2289
+ @content_type_info = args[:content_type_info] if args.key?(:content_type_info)
2290
+ @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
2291
+ @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
2292
+ @diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
2293
+ @diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
2294
+ @diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
2295
+ @diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
2296
+ @diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
2297
+ @download_parameters = args[:download_parameters] if args.key?(:download_parameters)
2298
+ @filename = args[:filename] if args.key?(:filename)
2299
+ @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
2300
+ @hash_verified = args[:hash_verified] if args.key?(:hash_verified)
2301
+ @inline = args[:inline] if args.key?(:inline)
2302
+ @is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
2303
+ @length = args[:length] if args.key?(:length)
2304
+ @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
2305
+ @media_id = args[:media_id] if args.key?(:media_id)
2306
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2307
+ @path = args[:path] if args.key?(:path)
2308
+ @reference_type = args[:reference_type] if args.key?(:reference_type)
2309
+ @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
2310
+ @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
2311
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
2312
+ @token = args[:token] if args.key?(:token)
2313
+ end
2314
+ end
2315
+
2316
+ # Extra information added to operations that support Scotty media requests.
2317
+ class MediaRequestInfo
2318
+ include Google::Apis::Core::Hashable
2319
+
2320
+ # The number of current bytes uploaded or downloaded.
2321
+ # Corresponds to the JSON property `currentBytes`
2322
+ # @return [Fixnum]
2323
+ attr_accessor :current_bytes
2324
+
2325
+ # Data to be copied to backend requests. Custom data is returned to Scotty in
2326
+ # the agent_state field, which Scotty will then provide in subsequent upload
2327
+ # notifications.
2328
+ # Corresponds to the JSON property `customData`
2329
+ # @return [String]
2330
+ attr_accessor :custom_data
2331
+
2332
+ # Set if the http request info is diff encoded. The value of
2333
+ # this field is the version number of the base revision.
2334
+ # This is corresponding to Apiary's mediaDiffObjectVersion
2335
+ # (//depot/google3/java/com/google/api/server/media/variable/
2336
+ # DiffObjectVersionVariable.java).
2337
+ # See go/esf-scotty-diff-upload for more information.
2338
+ # Corresponds to the JSON property `diffObjectVersion`
2339
+ # @return [String]
2340
+ attr_accessor :diff_object_version
2341
+
2342
+ # The type of notification received from Scotty.
2343
+ # Corresponds to the JSON property `notificationType`
2344
+ # @return [String]
2345
+ attr_accessor :notification_type
2346
+
2347
+ # The Scotty request ID.
2348
+ # Corresponds to the JSON property `requestId`
2349
+ # @return [String]
2350
+ attr_accessor :request_id
2351
+
2352
+ # The total size of the file.
2353
+ # Corresponds to the JSON property `totalBytes`
2354
+ # @return [Fixnum]
2355
+ attr_accessor :total_bytes
2356
+
2357
+ # Whether the total bytes field contains an estimated data.
2358
+ # Corresponds to the JSON property `totalBytesIsEstimated`
2359
+ # @return [Boolean]
2360
+ attr_accessor :total_bytes_is_estimated
2361
+ alias_method :total_bytes_is_estimated?, :total_bytes_is_estimated
2362
+
2363
+ def initialize(**args)
2364
+ update!(**args)
2365
+ end
2366
+
2367
+ # Update properties of this object
2368
+ def update!(**args)
2369
+ @current_bytes = args[:current_bytes] if args.key?(:current_bytes)
2370
+ @custom_data = args[:custom_data] if args.key?(:custom_data)
2371
+ @diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
2372
+ @notification_type = args[:notification_type] if args.key?(:notification_type)
2373
+ @request_id = args[:request_id] if args.key?(:request_id)
2374
+ @total_bytes = args[:total_bytes] if args.key?(:total_bytes)
2375
+ @total_bytes_is_estimated = args[:total_bytes_is_estimated] if args.key?(:total_bytes_is_estimated)
1853
2376
  end
1854
2377
  end
1855
2378
 
1856
- #
1857
- class MatchSegment
2379
+ # This message is for backends to pass their scotty media specific fields to
2380
+ # ESF. Backend will include this in their response message to ESF.
2381
+ # Example:
2382
+ # ExportFile is an rpc defined for upload using scotty from ESF.
2383
+ # rpc ExportFile(ExportFileRequest) returns (ExportFileResponse)
2384
+ # Message ExportFileResponse will include apiserving.MediaResponseInfo to tell
2385
+ # ESF about data like dynamic_dropzone it needs to pass to Scotty.
2386
+ # message ExportFileResponse `
2387
+ # optional gdata.Media blob = 1;
2388
+ # optional apiserving.MediaResponseInfo media_response_info = 2
2389
+ # `
2390
+ class MediaResponseInfo
1858
2391
  include Google::Apis::Core::Hashable
1859
2392
 
1860
- # Identifies the manner in which the claimed video matches the reference video.
1861
- # Corresponds to the JSON property `channel`
2393
+ # Data to copy from backend response to the next backend requests. Custom
2394
+ # data is returned to Scotty in the agent_state field, which Scotty will then
2395
+ # provide in subsequent upload notifications.
2396
+ # Corresponds to the JSON property `customData`
1862
2397
  # @return [String]
1863
- attr_accessor :channel
2398
+ attr_accessor :custom_data
1864
2399
 
1865
- # On insert operation of manual claims, the manual_segment object contains
1866
- # information about the specific portion of the video that is claimed to be
1867
- # matching.
1868
- # Corresponds to the JSON property `manual_segment`
1869
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1870
- attr_accessor :manual_segment
2400
+ # Specifies any transformation to be applied to data before persisting it or
2401
+ # retrieving from storage. E.g., encryption options for blobstore2.
2402
+ # This should be of the form uploader_service.DataStorageTransform.
2403
+ # Corresponds to the JSON property `dataStorageTransform`
2404
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2405
+ # @return [String]
2406
+ attr_accessor :data_storage_transform
1871
2407
 
1872
- # The reference_segment object contains information about the matched portion of
1873
- # the reference content.
1874
- # Corresponds to the JSON property `reference_segment`
1875
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1876
- attr_accessor :reference_segment
2408
+ # Specifies the Scotty Drop Target to use for uploads. If present in a media
2409
+ # response, Scotty does not upload to a standard drop zone. Instead, Scotty
2410
+ # saves the upload directly to the location specified in this drop target.
2411
+ # Unlike drop zones, the drop target is the final storage location for an
2412
+ # upload. So, the agent does not need to clone the blob at the end of the
2413
+ # upload. The agent is responsible for garbage collecting any orphaned blobs
2414
+ # that may occur due to aborted uploads. For more information, see the drop
2415
+ # target design doc here: http://goto/ScottyDropTarget This field will be
2416
+ # preferred to dynamicDropzone. If provided, the identified field in the
2417
+ # response must be of the type uploader.agent.DropTarget.
2418
+ # Corresponds to the JSON property `dynamicDropTarget`
2419
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2420
+ # @return [String]
2421
+ attr_accessor :dynamic_drop_target
1877
2422
 
1878
- # The video_segment object contains information about the matched portion of the
1879
- # claimed video.
1880
- # Corresponds to the JSON property `video_segment`
1881
- # @return [Google::Apis::YoutubePartnerV1::Segment]
1882
- attr_accessor :video_segment
2423
+ # Specifies the Scotty dropzone to use for uploads.
2424
+ # Corresponds to the JSON property `dynamicDropzone`
2425
+ # @return [String]
2426
+ attr_accessor :dynamic_dropzone
2427
+
2428
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
2429
+ # Corresponds to the JSON property `mediaForDiff`
2430
+ # @return [Google::Apis::YoutubePartnerV1::Media]
2431
+ attr_accessor :media_for_diff
2432
+
2433
+ # Request class to use for all Blobstore operations for this request.
2434
+ # Corresponds to the JSON property `requestClass`
2435
+ # @return [String]
2436
+ attr_accessor :request_class
2437
+
2438
+ # Specifies the TrafficClass that Scotty should use for any RPCs to fetch the
2439
+ # response bytes. Will override the traffic class GTOS of the incoming http
2440
+ # request. This is a temporary field to facilitate whitelisting and
2441
+ # experimentation by the bigstore agent only. For instance, this does not
2442
+ # apply to RTMP reads.
2443
+ # WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
2444
+ # Corresponds to the JSON property `trafficClassField`
2445
+ # @return [String]
2446
+ attr_accessor :traffic_class_field
2447
+
2448
+ # Tells Scotty to verify hashes on the agent's behalf by parsing out the
2449
+ # X-Goog-Hash header.
2450
+ # Corresponds to the JSON property `verifyHashFromHeader`
2451
+ # @return [Boolean]
2452
+ attr_accessor :verify_hash_from_header
2453
+ alias_method :verify_hash_from_header?, :verify_hash_from_header
1883
2454
 
1884
2455
  def initialize(**args)
1885
2456
  update!(**args)
@@ -1887,10 +2458,14 @@ module Google
1887
2458
 
1888
2459
  # Update properties of this object
1889
2460
  def update!(**args)
1890
- @channel = args[:channel] if args.key?(:channel)
1891
- @manual_segment = args[:manual_segment] if args.key?(:manual_segment)
1892
- @reference_segment = args[:reference_segment] if args.key?(:reference_segment)
1893
- @video_segment = args[:video_segment] if args.key?(:video_segment)
2461
+ @custom_data = args[:custom_data] if args.key?(:custom_data)
2462
+ @data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
2463
+ @dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
2464
+ @dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
2465
+ @media_for_diff = args[:media_for_diff] if args.key?(:media_for_diff)
2466
+ @request_class = args[:request_class] if args.key?(:request_class)
2467
+ @traffic_class_field = args[:traffic_class_field] if args.key?(:traffic_class_field)
2468
+ @verify_hash_from_header = args[:verify_hash_from_header] if args.key?(:verify_hash_from_header)
1894
2469
  end
1895
2470
  end
1896
2471
 
@@ -1898,8 +2473,8 @@ module Google
1898
2473
  class Metadata
1899
2474
  include Google::Apis::Core::Hashable
1900
2475
 
1901
- # A list that identifies actors associated with the asset. You can specify up to
1902
- # 50 actors for an asset.
2476
+ # A list that identifies actors associated with the asset. You can specify up
2477
+ # to 50 actors for an asset.
1903
2478
  # Corresponds to the JSON property `actor`
1904
2479
  # @return [Array<String>]
1905
2480
  attr_accessor :actor
@@ -1910,18 +2485,18 @@ module Google
1910
2485
  # @return [String]
1911
2486
  attr_accessor :album
1912
2487
 
1913
- # The artist associated with a music video or sound recording asset. This field
1914
- # is only valid for music video and sound recording assets. It is required for
1915
- # sound recordings included in the AudioSwap program.
2488
+ # The artist associated with a music video or sound recording asset. This
2489
+ # field is only valid for music video and sound recording assets. It is
2490
+ # required for sound recordings included in the AudioSwap program.
1916
2491
  # Corresponds to the JSON property `artist`
1917
2492
  # @return [Array<String>]
1918
2493
  attr_accessor :artist
1919
2494
 
1920
- # Identifies the network or channel that originally broadcast a show or a season
1921
- # of a show. This field should only be included for an asset if the broadcaster
1922
- # associated with the asset is different from the partner uploading the asset to
1923
- # YouTube. Note that a show may have multiple broadcasters; for example, a show
1924
- # may switch networks between seasons.
2495
+ # Identifies the network or channel that originally broadcast a show or a
2496
+ # season of a show. This field should only be included for an asset if the
2497
+ # broadcaster associated with the asset is different from the partner
2498
+ # uploading the asset to YouTube. Note that a show may have multiple
2499
+ # broadcasters; for example, a show may switch networks between seasons.
1925
2500
  # Corresponds to the JSON property `broadcaster`
1926
2501
  # @return [Array<String>]
1927
2502
  attr_accessor :broadcaster
@@ -1931,11 +2506,12 @@ module Google
1931
2506
  # @return [String]
1932
2507
  attr_accessor :category
1933
2508
 
1934
- # The type of video content that the asset represents. This field is only valid
1935
- # for movie and episode assets, and is required for the following types of those
1936
- # assets:
1937
- # - Episode assets that are linked to a show
1938
- # - Movie assets that appear in YouTube's Movies category
2509
+ # The type of video content that the asset represents. This field is only
2510
+ # valid for movie and episode assets, and is required for the following types
2511
+ # of those assets: <ul> <li>Episode assets that are linked to a show</li>
2512
+ # <li>Movie assets that appear in
2513
+ # YouTube's <a href="http://www.youtube.com/movies">Movies</a> category</li>
2514
+ # </ul>
1939
2515
  # Corresponds to the JSON property `contentType`
1940
2516
  # @return [String]
1941
2517
  attr_accessor :content_type
@@ -1945,112 +2521,116 @@ module Google
1945
2521
  # @return [Google::Apis::YoutubePartnerV1::Date]
1946
2522
  attr_accessor :copyright_date
1947
2523
 
1948
- # A unique value that you, the metadata provider, use to identify an asset. The
1949
- # value could be a unique ID that you created for the asset or a standard
2524
+ # A unique value that you, the metadata provider, use to identify an asset.
2525
+ # The value could be a unique ID that you created for the asset or a standard
1950
2526
  # identifier, such as an ISRC. The value has a maximum length of 64 bytes and
1951
- # may contain alphanumeric characters, hyphens (-), underscores (_), periods (.),
1952
- # "at" symbols (@), or forward slashes (/).
2527
+ # may contain alphanumeric characters, hyphens (<code>-</code>), underscores
2528
+ # (<code>_</code>), periods (<code>.</code>), "at" symbols (<code>@</code>),
2529
+ # or forward slashes (<code>/</code>).
1953
2530
  # Corresponds to the JSON property `customId`
1954
2531
  # @return [String]
1955
2532
  attr_accessor :custom_id
1956
2533
 
1957
- # A description of the asset. The description may be displayed on YouTube or in
1958
- # CMS. This field has a maximum length of 5,000 bytes.
2534
+ # A description of the asset. The description may be displayed on YouTube or
2535
+ # in CMS. This field has a maximum length of 5,000 bytes.
1959
2536
  # Corresponds to the JSON property `description`
1960
2537
  # @return [String]
1961
2538
  attr_accessor :description
1962
2539
 
1963
- # A list that identifies directors associated with the asset. You can specify up
1964
- # to 50 directors for an asset.
2540
+ # A list that identifies directors associated with the asset. You can specify
2541
+ # up to 50 directors for an asset.
1965
2542
  # Corresponds to the JSON property `director`
1966
2543
  # @return [Array<String>]
1967
2544
  attr_accessor :director
1968
2545
 
1969
- # The Entertainment Identifier Registry (EIDR) assigned to an asset. This value
1970
- # is only used for episode and movie assets and is optional in both cases. The
1971
- # value contains a standard prefix for EIDR registry, followed by a forward
1972
- # slash, a 20-character hexadecimal string, and an alphanumeric (0-9A-Z) check
1973
- # character.
2546
+ # The Entertainment Identifier Registry (EIDR) assigned to an asset. This
2547
+ # value is only used for episode and movie assets and is optional in both
2548
+ # cases. The value contains a standard prefix for EIDR registry, followed by
2549
+ # a forward slash, a 20-character hexadecimal string, and an alphanumeric
2550
+ # (0-9A-Z) check character.
1974
2551
  # Corresponds to the JSON property `eidr`
1975
2552
  # @return [String]
1976
2553
  attr_accessor :eidr
1977
2554
 
1978
- # The last year that a television show aired. This value is only used for show
1979
- # assets, for which it is optional. Do not specify a value if new show episodes
1980
- # are still being created.
2555
+ # The last year that a television show aired. This value is only used for
2556
+ # show assets, for which it is optional. Do not specify a value if new show
2557
+ # episodes are still being created.
1981
2558
  # Corresponds to the JSON property `endYear`
1982
2559
  # @return [Fixnum]
1983
2560
  attr_accessor :end_year
1984
2561
 
1985
2562
  # The episode number associated with an episode asset. This field is required
1986
- # for and only used for episode assets that are linked to show assets. It has a
1987
- # maximum length of 5 bytes.
2563
+ # for and only used for episode assets that are linked to show assets. It has
2564
+ # a maximum length of 5 bytes.
1988
2565
  # Corresponds to the JSON property `episodeNumber`
1989
2566
  # @return [String]
1990
2567
  attr_accessor :episode_number
1991
2568
 
1992
- # This value indicates that the episodes associated with a particular show asset
1993
- # or a particular season asset are untitled. An untitled show (or season) has
1994
- # episodes which are identified by their episode number or date. If this field
1995
- # is set to true, then YouTube will optimize the title displayed for associated
1996
- # episodes.
2569
+ # This value indicates that the episodes associated with a particular show
2570
+ # asset or a particular season asset are untitled. An untitled show (or
2571
+ # season) has episodes which are identified by their episode number or date.
2572
+ # If this field is set to <code>true</code>, then YouTube will optimize the
2573
+ # title displayed for associated episodes.
1997
2574
  # Corresponds to the JSON property `episodesAreUntitled`
1998
2575
  # @return [Boolean]
1999
2576
  attr_accessor :episodes_are_untitled
2000
2577
  alias_method :episodes_are_untitled?, :episodes_are_untitled
2001
2578
 
2002
- # This field specifies a genre that can be used to categorize an asset. Assets
2003
- # may be categorized in more than one genre, and YouTube uses different sets of
2004
- # genres to categorize different types of assets. For example, Soaps might be a
2005
- # valid genre for a show but not for a movie or sound recording.
2006
- # - Show assets
2007
- # - Movie assets that appear in YouTube's Movies category
2008
- # - Sound recordings included in the AudioSwap program
2579
+ # This field specifies a genre that can be used to categorize an asset.
2580
+ # Assets may be categorized in more than one genre, and YouTube uses
2581
+ # different sets of genres to categorize different types of assets. For
2582
+ # example, <code>Soaps</code> might be a valid genre for a show but not for a
2583
+ # movie or sound recording. <ul> <li>Show assets</li> <li>Movie assets that
2584
+ # appear in
2585
+ # YouTube's <a href="http://www.youtube.com/movies">Movies</a> category</li>
2586
+ # <li>Sound recordings included in the AudioSwap program</li> </ul>
2009
2587
  # Corresponds to the JSON property `genre`
2010
2588
  # @return [Array<String>]
2011
2589
  attr_accessor :genre
2012
2590
 
2013
- # The GRID (Global Release Identifier) of a music video or sound recording. This
2014
- # field's value must contain exactly 18 alphanumeric characters.
2591
+ # The GRID (Global Release Identifier) of a music video or sound recording.
2592
+ # This field's value must contain exactly 18 alphanumeric characters.
2015
2593
  # Corresponds to the JSON property `grid`
2016
2594
  # @return [String]
2017
2595
  attr_accessor :grid
2018
2596
 
2019
- # The six-character Harry Fox Agency (HFA) song code issued to uniquely identify
2020
- # a composition. This value is only valid for composition assets.
2597
+ # The six-character Harry Fox Agency (HFA) song code issued to uniquely
2598
+ # identify a composition. This value is only valid for composition assets.
2021
2599
  # Corresponds to the JSON property `hfa`
2022
2600
  # @return [String]
2023
2601
  attr_accessor :hfa
2024
2602
 
2025
- # An official URL associated with the asset. This field has a maximum length of
2026
- # 1536 bytes. Please do not submit a 1537-byte URL. Your efforts would be futile.
2603
+ # An official URL associated with the asset. This field has a maximum length
2604
+ # of 1536 bytes. Please do not submit a 1537-byte URL. Your efforts would be
2605
+ # futile.
2027
2606
  # Corresponds to the JSON property `infoUrl`
2028
2607
  # @return [String]
2029
2608
  attr_accessor :info_url
2030
2609
 
2031
- # The ISAN (International Standard Audiovisual Number) for the asset. This value
2032
- # is only used for episode and movie assets and is optional in both cases. The
2033
- # value contains 26 characters, which includes the 24 hexadecimal characters of
2034
- # the ISAN as well as two check characters, in the following format:
2035
- # - The first 16 characters in the tag value contain hexadecimal characters
2036
- # specifying the 'root' and 'episode' components of the ISAN.
2037
- # - The seventeenth character is a check character (a letter from A-Z).
2038
- # - Characters 18 to 25 are the remaining eight characters of the ISAN, which
2039
- # specify the 'version' component of the ISAN.
2040
- # - The twenty-sixth character is another check character (A-Z).
2610
+ # The ISAN (International Standard Audiovisual Number) for the asset. This
2611
+ # value is only used for episode and movie assets and is optional in both
2612
+ # cases. The value contains 26 characters, which includes the 24 hexadecimal
2613
+ # characters of the ISAN as well as two check characters, in the following
2614
+ # format: <ul> <li>The first 16 characters in the tag value contain
2615
+ # hexadecimal characters specifying the 'root' and 'episode' components of
2616
+ # the ISAN.</li> <li>The seventeenth character is a check character (a letter
2617
+ # from A-Z).</li> <li>Characters 18 to 25 are the remaining eight characters
2618
+ # of the ISAN, which specify the 'version' component of the ISAN.</li>
2619
+ # <li>The twenty-sixth character is another check character (A-Z).</li> </ul>
2041
2620
  # Corresponds to the JSON property `isan`
2042
2621
  # @return [String]
2043
2622
  attr_accessor :isan
2044
2623
 
2045
2624
  # The ISRC (International Standard Recording Code) of a music video or sound
2046
- # recording asset. This field's value must contain exactly 12 alphanumeric
2047
- # characters.
2625
+ # recording asset. This
2626
+ # field's value must contain exactly 12 alphanumeric characters.
2048
2627
  # Corresponds to the JSON property `isrc`
2049
2628
  # @return [String]
2050
2629
  attr_accessor :isrc
2051
2630
 
2052
- # The ISWC (International Standard Musical Work Code) for a composition asset.
2053
- # The field's value must contain exactly 11 characters in the format of a letter
2631
+ # The ISWC (International Standard Musical Work Code) for a composition
2632
+ # asset. The
2633
+ # field's value must contain exactly 11 characters in the format of a letter
2054
2634
  # (T) followed by 10 digits.
2055
2635
  # Corresponds to the JSON property `iswc`
2056
2636
  # @return [String]
@@ -2068,17 +2648,18 @@ module Google
2068
2648
  # @return [String]
2069
2649
  attr_accessor :label
2070
2650
 
2071
- # Additional information that does not map directly to one of the other metadata
2072
- # fields. This field has a maximum length of 255 bytes.
2651
+ # Additional information that does not map directly to one of the other
2652
+ # metadata fields. This field has a maximum length of 255 bytes.
2073
2653
  # Corresponds to the JSON property `notes`
2074
2654
  # @return [String]
2075
2655
  attr_accessor :notes
2076
2656
 
2077
2657
  # The method by which people first had the opportunity to see a video asset.
2078
- # This value is only used for episode and movie assets. It is required for the
2079
- # assets listed below and otherwise optional:
2080
- # - Episode assets that are linked to a show
2081
- # - Movie assets that appear in YouTube's Movies category
2658
+ # This value is only used for episode and movie assets. It is required for
2659
+ # the assets listed below and otherwise optional: <ul> <li>Episode assets
2660
+ # that are linked to a show</li> <li>Movie assets that appear in
2661
+ # YouTube's <a href="http://www.youtube.com/movies">Movies</a> category</li>
2662
+ # </ul>
2082
2663
  # Corresponds to the JSON property `originalReleaseMedium`
2083
2664
  # @return [String]
2084
2665
  attr_accessor :original_release_medium
@@ -2089,50 +2670,55 @@ module Google
2089
2670
  # @return [Array<String>]
2090
2671
  attr_accessor :producer
2091
2672
 
2092
- # A list of ratings that an asset received. The rating must be valid under the
2093
- # specified rating system.
2673
+ # A list of ratings that an asset received. The rating must be valid under
2674
+ # the specified rating system.
2094
2675
  # Corresponds to the JSON property `ratings`
2095
2676
  # @return [Array<Google::Apis::YoutubePartnerV1::Rating>]
2096
2677
  attr_accessor :ratings
2097
2678
 
2098
2679
  # The date that an asset was publicly released. For season assets, this value
2099
- # specifies the first date that the season aired. Dates prior to the year 1902
2100
- # are not supported. This value is valid for episode, season, movie, music video,
2101
- # and sound recording assets. It is required for the assets listed below and
2102
- # otherwise optional:
2103
- # - Episode assets that are linked to a show
2104
- # - Movie assets that appear in YouTube's Movies category
2680
+ # specifies the first date that the season aired. Dates prior to the year
2681
+ # 1902 are not supported. This value is valid for episode, season, movie,
2682
+ # music video, and sound recording assets. It is required for the assets
2683
+ # listed below and otherwise optional: <ul> <li>Episode assets that are
2684
+ # linked to a show</li> <li>Movie assets that appear in
2685
+ # YouTube's <a href="http://www.youtube.com/movies">Movies</a> category</li>
2686
+ # </ul>
2105
2687
  # Corresponds to the JSON property `releaseDate`
2106
2688
  # @return [Google::Apis::YoutubePartnerV1::Date]
2107
2689
  attr_accessor :release_date
2108
2690
 
2109
- # The season number that identifies a season asset, or the season number that is
2110
- # associated with an episode asset. This field has a maximum length of 5 bytes.
2691
+ # The season number that identifies a season asset, or the season number that
2692
+ # is associated with an episode asset. This field has a maximum length of 5
2693
+ # bytes.
2111
2694
  # Corresponds to the JSON property `seasonNumber`
2112
2695
  # @return [String]
2113
2696
  attr_accessor :season_number
2114
2697
 
2115
- # The customId of the show asset that a season or episode asset is associated
2116
- # with. It is required for season and episode assets that appear in the Shows
2117
- # category on YouTube, and it is not valid for other types of assets. This field
2118
- # has a maximum length of 64 bytes and may contain alphanumeric characters,
2119
- # hyphens (-), underscores (_), periods (.), "at" symbols (@), or forward
2120
- # slashes (/).
2698
+ # The <code>customId</code> of the show asset that a season or episode asset
2699
+ # is associated with. It is required for season and episode assets that
2700
+ # appear in the <a href="http://www.youtube.com/shows">Shows</a> category on
2701
+ # YouTube, and it is not valid for other types of assets. This field has a
2702
+ # maximum length of 64 bytes and may contain alphanumeric characters, hyphens
2703
+ # (<code>-</code>), underscores (<code>_</code>), periods (<code>.</code>),
2704
+ # "at" symbols (<code>@</code>), or forward slashes (<code>/</code>).
2121
2705
  # Corresponds to the JSON property `showCustomId`
2122
2706
  # @return [String]
2123
2707
  attr_accessor :show_custom_id
2124
2708
 
2125
- # The name of the show that an episode asset is associated with. Note: This tag
2126
- # is only used for and valid for episodes that are not associated with show
2127
- # assets and enables those assets to still display a show title in the asset
2128
- # metadata section of CMS. This field has a maximum length of 120 bytes.
2709
+ # The name of the show that an episode asset is associated with.
2710
+ # <strong>Note:</strong> This tag is only used for and valid for episodes
2711
+ # that are not associated with show assets and enables those assets to still
2712
+ # display a show title in the asset metadata section of CMS. This field has a
2713
+ # maximum length of 120 bytes.
2129
2714
  # Corresponds to the JSON property `showTitle`
2130
2715
  # @return [String]
2131
2716
  attr_accessor :show_title
2132
2717
 
2133
- # The video's primary spoken language. The value can be any ISO 639-1 two-letter
2134
- # language code. This value is only used for episode and movie assets and is not
2135
- # valid for other types of assets.
2718
+ # The video's primary spoken language. The value can be any <a
2719
+ # href="http://www.loc.gov/standards/iso639-2/php/code_list.php">ISO 639-1
2720
+ # two-letter language code</a>. This value is only used for episode and movie
2721
+ # assets and is not valid for other types of assets.
2136
2722
  # Corresponds to the JSON property `spokenLanguage`
2137
2723
  # @return [String]
2138
2724
  attr_accessor :spoken_language
@@ -2143,21 +2729,22 @@ module Google
2143
2729
  # @return [Fixnum]
2144
2730
  attr_accessor :start_year
2145
2731
 
2146
- # A list of languages for which the video has either a separate caption track or
2147
- # burnt-in captions that are part of the video. Each value in the list should be
2148
- # an ISO 639-1 two-letter language code. This value is only used for episode and
2149
- # movie assets and is not valid for other types of assets.
2732
+ # A list of languages for which the video has either a separate caption track
2733
+ # or burnt-in captions that are part of the video. Each value in the list
2734
+ # should be an <a
2735
+ # href="http://www.loc.gov/standards/iso639-2/php/code_list.php">ISO 639-1
2736
+ # two-letter language code</a>. This value is only used for episode and movie
2737
+ # assets and is not valid for other types of assets.
2150
2738
  # Corresponds to the JSON property `subtitledLanguage`
2151
2739
  # @return [Array<String>]
2152
2740
  attr_accessor :subtitled_language
2153
2741
 
2154
- # The asset's title or name. The value has a maximum length of 255 bytes. This
2155
- # value is required for the assets listed below and optional for all other
2156
- # assets:
2157
- # - Show assets
2158
- # - Episode assets that are linked to a show
2159
- # - Movie assets that appear in YouTube's Movies category
2160
- # - Sound recordings included in the AudioSwap program
2742
+ # The asset's title or name. The value has a maximum length of 255 bytes.
2743
+ # This value is required for the assets listed below and optional for all
2744
+ # other assets: <ul> <li>Show assets</li> <li>Episode assets that are linked
2745
+ # to a show</li> <li>Movie assets that appear in
2746
+ # YouTube's <a href="http://www.youtube.com/movies">Movies</a> category</li>
2747
+ # <li>Sound recordings included in the AudioSwap program</li> </ul>
2161
2748
  # Corresponds to the JSON property `title`
2162
2749
  # @return [String]
2163
2750
  attr_accessor :title
@@ -2167,8 +2754,8 @@ module Google
2167
2754
  # @return [String]
2168
2755
  attr_accessor :tms_id
2169
2756
 
2170
- # Specifies the total number of full-length episodes in the season. This value
2171
- # is used only for season assets.
2757
+ # Specifies the total number of full-length episodes in the season. This
2758
+ # value is used only for season assets.
2172
2759
  # Corresponds to the JSON property `totalEpisodesExpected`
2173
2760
  # @return [Fixnum]
2174
2761
  attr_accessor :total_episodes_expected
@@ -2178,8 +2765,8 @@ module Google
2178
2765
  # @return [String]
2179
2766
  attr_accessor :upc
2180
2767
 
2181
- # A list that identifies writers associated with the asset. You can specify up
2182
- # to 50 writers for an asset.
2768
+ # A list that identifies writers associated with the asset. You can specify
2769
+ # up to 50 writers for an asset.
2183
2770
  # Corresponds to the JSON property `writer`
2184
2771
  # @return [Array<String>]
2185
2772
  attr_accessor :writer
@@ -2237,25 +2824,27 @@ module Google
2237
2824
  include Google::Apis::Core::Hashable
2238
2825
 
2239
2826
  # The type of the API resource. For metadata history resources, the value is
2240
- # youtubePartner#metadataHistory.
2827
+ # <code>youtubePartner#metadataHistory</code>.
2241
2828
  # Corresponds to the JSON property `kind`
2242
2829
  # @return [String]
2243
2830
  attr_accessor :kind
2244
2831
 
2245
- # The metadata object contains the metadata provided by the specified source (
2246
- # origination) at the specified time (timeProvided).
2832
+ # The <code>metadata</code> object contains the metadata provided by the
2833
+ # specified source (<code>origination</code>) at the specified time
2834
+ # (<code>timeProvided</code>).
2247
2835
  # Corresponds to the JSON property `metadata`
2248
2836
  # @return [Google::Apis::YoutubePartnerV1::Metadata]
2249
2837
  attr_accessor :metadata
2250
2838
 
2251
- # The origination object contains information that describes the metadata source.
2839
+ # The <code>origination</code> object contains information that describes the
2840
+ # metadata source.
2252
2841
  # Corresponds to the JSON property `origination`
2253
2842
  # @return [Google::Apis::YoutubePartnerV1::Origination]
2254
2843
  attr_accessor :origination
2255
2844
 
2256
2845
  # The time the metadata was provided.
2257
2846
  # Corresponds to the JSON property `timeProvided`
2258
- # @return [DateTime]
2847
+ # @return [String]
2259
2848
  attr_accessor :time_provided
2260
2849
 
2261
2850
  def initialize(**args)
@@ -2275,14 +2864,14 @@ module Google
2275
2864
  class MetadataHistoryListResponse
2276
2865
  include Google::Apis::Core::Hashable
2277
2866
 
2278
- # A list of metadata history (youtubePartner#metadataHistory) resources that
2279
- # match the request criteria.
2867
+ # A list of metadata history (<code>youtubePartner#metadataHistory</code>)
2868
+ # resources that match the request criteria.
2280
2869
  # Corresponds to the JSON property `items`
2281
2870
  # @return [Array<Google::Apis::YoutubePartnerV1::MetadataHistory>]
2282
2871
  attr_accessor :items
2283
2872
 
2284
- # The type of the API response. For this operation, the value is youtubePartner#
2285
- # metadataHistoryList.
2873
+ # The type of the API response. For this operation, the value is
2874
+ # <code>youtubePartner#metadataHistoryList</code>.
2286
2875
  # Corresponds to the JSON property `kind`
2287
2876
  # @return [String]
2288
2877
  attr_accessor :kind
@@ -2298,115 +2887,30 @@ module Google
2298
2887
  end
2299
2888
  end
2300
2889
 
2301
- #
2302
- class Order
2890
+ # This is a copy of the tech.blob.ObjectId proto, which could not
2891
+ # be used directly here due to transitive closure issues with
2892
+ # JavaScript support; see http://b/8801763.
2893
+ class ObjectIdProp
2303
2894
  include Google::Apis::Core::Hashable
2304
2895
 
2305
- # Links an order to the avails associated with it.
2306
- # Corresponds to the JSON property `availGroupId`
2307
- # @return [String]
2308
- attr_accessor :avail_group_id
2309
-
2310
- # Channel ID - identifies the channel this order and video are associated with
2311
- # Corresponds to the JSON property `channelId`
2312
- # @return [String]
2313
- attr_accessor :channel_id
2314
-
2315
- # Type of content possible values are
2316
- # - MOVIE
2317
- # - SHOW
2318
- # Corresponds to the JSON property `contentType`
2319
- # @return [String]
2320
- attr_accessor :content_type
2321
-
2322
- # Two letter country code for the order only countries where YouTube does
2323
- # transactional business are allowed.
2324
- # Corresponds to the JSON property `country`
2325
- # @return [String]
2326
- attr_accessor :country
2327
-
2328
- # Secondary id to be used to identify content in other systems like partner
2329
- # database
2330
- # Corresponds to the JSON property `customId`
2331
- # @return [String]
2332
- attr_accessor :custom_id
2333
-
2334
- # Date when this content was first made available on DVD
2335
- # Corresponds to the JSON property `dvdReleaseDate`
2336
- # @return [Google::Apis::YoutubePartnerV1::Date]
2337
- attr_accessor :dvd_release_date
2338
-
2339
- # Range of time content is to be available for rental.
2340
- # Corresponds to the JSON property `estDates`
2341
- # @return [Google::Apis::YoutubePartnerV1::DateRange]
2342
- attr_accessor :est_dates
2343
-
2344
- # History log of events for this order
2345
- # Corresponds to the JSON property `events`
2346
- # @return [Array<Google::Apis::YoutubePartnerV1::StateCompleted>]
2347
- attr_accessor :events
2348
-
2349
- # Order Id unique identifier for an order.
2350
- # Corresponds to the JSON property `id`
2351
- # @return [String]
2352
- attr_accessor :id
2353
-
2354
- # Identifies this resource as order. Value: "youtubePartner#order".
2355
- # Corresponds to the JSON property `kind`
2356
- # @return [String]
2357
- attr_accessor :kind
2358
-
2359
- # Title if the order is type movie.
2360
- # Corresponds to the JSON property `movie`
2361
- # @return [String]
2362
- attr_accessor :movie
2363
-
2364
- # Date when this content was first made available to the public
2365
- # Corresponds to the JSON property `originalReleaseDate`
2366
- # @return [Google::Apis::YoutubePartnerV1::Date]
2367
- attr_accessor :original_release_date
2368
-
2369
- # The priority for the order in the QC review queue once the content is ready
2370
- # for QC.
2371
- # Corresponds to the JSON property `priority`
2372
- # @return [String]
2373
- attr_accessor :priority
2374
-
2375
- # Post production house that is to process this order
2376
- # Corresponds to the JSON property `productionHouse`
2377
- # @return [String]
2378
- attr_accessor :production_house
2379
-
2380
- # Youtube purchase order reference for the post production house.
2381
- # Corresponds to the JSON property `purchaseOrder`
2896
+ # The name of the bucket to which this object belongs.
2897
+ # Corresponds to the JSON property `bucketName`
2382
2898
  # @return [String]
2383
- attr_accessor :purchase_order
2384
-
2385
- # Minumim set of requirements for this order to be complete such as is a trailer
2386
- # required.
2387
- # Corresponds to the JSON property `requirements`
2388
- # @return [Google::Apis::YoutubePartnerV1::Requirements]
2389
- attr_accessor :requirements
2899
+ attr_accessor :bucket_name
2390
2900
 
2391
- # Details of a show, show name, season number, episode etc.
2392
- # Corresponds to the JSON property `show`
2393
- # @return [Google::Apis::YoutubePartnerV1::ShowDetails]
2394
- attr_accessor :show
2395
-
2396
- # The order's status.
2397
- # Corresponds to the JSON property `status`
2398
- # @return [String]
2399
- attr_accessor :status
2901
+ # Generation of the object. Generations are monotonically increasing
2902
+ # across writes, allowing them to be be compared to determine which
2903
+ # generation is newer. If this is omitted in a request, then you are
2904
+ # requesting the live object.
2905
+ # See http://go/bigstore-versions
2906
+ # Corresponds to the JSON property `generation`
2907
+ # @return [Fixnum]
2908
+ attr_accessor :generation
2400
2909
 
2401
- # Video ID the video that this order is associated with if any.
2402
- # Corresponds to the JSON property `videoId`
2910
+ # The name of the object.
2911
+ # Corresponds to the JSON property `objectName`
2403
2912
  # @return [String]
2404
- attr_accessor :video_id
2405
-
2406
- # Range of time content is to be available for purchase.
2407
- # Corresponds to the JSON property `vodDates`
2408
- # @return [Google::Apis::YoutubePartnerV1::DateRange]
2409
- attr_accessor :vod_dates
2913
+ attr_accessor :object_name
2410
2914
 
2411
2915
  def initialize(**args)
2412
2916
  update!(**args)
@@ -2414,60 +2918,20 @@ module Google
2414
2918
 
2415
2919
  # Update properties of this object
2416
2920
  def update!(**args)
2417
- @avail_group_id = args[:avail_group_id] if args.key?(:avail_group_id)
2418
- @channel_id = args[:channel_id] if args.key?(:channel_id)
2419
- @content_type = args[:content_type] if args.key?(:content_type)
2420
- @country = args[:country] if args.key?(:country)
2421
- @custom_id = args[:custom_id] if args.key?(:custom_id)
2422
- @dvd_release_date = args[:dvd_release_date] if args.key?(:dvd_release_date)
2423
- @est_dates = args[:est_dates] if args.key?(:est_dates)
2424
- @events = args[:events] if args.key?(:events)
2425
- @id = args[:id] if args.key?(:id)
2426
- @kind = args[:kind] if args.key?(:kind)
2427
- @movie = args[:movie] if args.key?(:movie)
2428
- @original_release_date = args[:original_release_date] if args.key?(:original_release_date)
2429
- @priority = args[:priority] if args.key?(:priority)
2430
- @production_house = args[:production_house] if args.key?(:production_house)
2431
- @purchase_order = args[:purchase_order] if args.key?(:purchase_order)
2432
- @requirements = args[:requirements] if args.key?(:requirements)
2433
- @show = args[:show] if args.key?(:show)
2434
- @status = args[:status] if args.key?(:status)
2435
- @video_id = args[:video_id] if args.key?(:video_id)
2436
- @vod_dates = args[:vod_dates] if args.key?(:vod_dates)
2921
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
2922
+ @generation = args[:generation] if args.key?(:generation)
2923
+ @object_name = args[:object_name] if args.key?(:object_name)
2437
2924
  end
2438
2925
  end
2439
2926
 
2440
2927
  #
2441
- class OrderListResponse
2928
+ class Origin
2442
2929
  include Google::Apis::Core::Hashable
2443
2930
 
2444
- # A list of orders that match the request criteria.
2445
- # Corresponds to the JSON property `items`
2446
- # @return [Array<Google::Apis::YoutubePartnerV1::Order>]
2447
- attr_accessor :items
2448
-
2449
- # The type of the API response. For this operation, the value is youtubePartner#
2450
- # orderList.
2451
- # Corresponds to the JSON property `kind`
2452
- # @return [String]
2453
- attr_accessor :kind
2454
-
2455
- # The token that can be used as the value of the pageToken parameter to retrieve
2456
- # the next page in the result set.
2457
- # Corresponds to the JSON property `nextPageToken`
2458
- # @return [String]
2459
- attr_accessor :next_page_token
2460
-
2461
- # The pageInfo object encapsulates paging information for the result set.
2462
- # Corresponds to the JSON property `pageInfo`
2463
- # @return [Google::Apis::YoutubePartnerV1::PageInfo]
2464
- attr_accessor :page_info
2465
-
2466
- # The token that can be used as the value of the pageToken parameter to retrieve
2467
- # the previous page in the result set.
2468
- # Corresponds to the JSON property `previousPageToken`
2931
+ #
2932
+ # Corresponds to the JSON property `source`
2469
2933
  # @return [String]
2470
- attr_accessor :previous_page_token
2934
+ attr_accessor :source
2471
2935
 
2472
2936
  def initialize(**args)
2473
2937
  update!(**args)
@@ -2475,11 +2939,7 @@ module Google
2475
2939
 
2476
2940
  # Update properties of this object
2477
2941
  def update!(**args)
2478
- @items = args[:items] if args.key?(:items)
2479
- @kind = args[:kind] if args.key?(:kind)
2480
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2481
- @page_info = args[:page_info] if args.key?(:page_info)
2482
- @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
2942
+ @source = args[:source] if args.key?(:source)
2483
2943
  end
2484
2944
  end
2485
2945
 
@@ -2519,26 +2979,29 @@ module Google
2519
2979
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryConflicts>]
2520
2980
  attr_accessor :general
2521
2981
 
2522
- # The type of the API resource. For ownershipConflicts resources, the value is
2523
- # youtubePartner#ownershipConflicts.
2982
+ # The type of the API resource. For <code>ownershipConflicts</code>
2983
+ # resources, the value is <code>youtubePartner#ownershipConflicts</code>.
2524
2984
  # Corresponds to the JSON property `kind`
2525
2985
  # @return [String]
2526
2986
  attr_accessor :kind
2527
2987
 
2528
2988
  # A list that identifies ownership conflicts of the mechanical rights for a
2529
- # composition asset and the territories where conflicting ownership is inserted.
2989
+ # composition asset and the territories where conflicting ownership is
2990
+ # inserted.
2530
2991
  # Corresponds to the JSON property `mechanical`
2531
2992
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryConflicts>]
2532
2993
  attr_accessor :mechanical
2533
2994
 
2534
2995
  # A list that identifies ownership conflicts of the performance rights for a
2535
- # composition asset and the territories where conflicting ownership is inserted.
2996
+ # composition asset and the territories where conflicting ownership is
2997
+ # inserted.
2536
2998
  # Corresponds to the JSON property `performance`
2537
2999
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryConflicts>]
2538
3000
  attr_accessor :performance
2539
3001
 
2540
- # A list that identifies ownership conflicts of the synchronization rights for a
2541
- # composition asset and the territories where conflicting ownership is inserted.
3002
+ # A list that identifies ownership conflicts of the synchronization rights
3003
+ # for a composition asset and the territories where conflicting ownership is
3004
+ # inserted.
2542
3005
  # Corresponds to the JSON property `synchronization`
2543
3006
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryConflicts>]
2544
3007
  attr_accessor :synchronization
@@ -2561,14 +3024,14 @@ module Google
2561
3024
  class OwnershipHistoryListResponse
2562
3025
  include Google::Apis::Core::Hashable
2563
3026
 
2564
- # A list of ownership history (youtubePartner#ownershipHistory) resources that
2565
- # match the request criteria.
3027
+ # A list of ownership history (<code>youtubePartner#ownershipHistory</code>)
3028
+ # resources that match the request criteria.
2566
3029
  # Corresponds to the JSON property `items`
2567
3030
  # @return [Array<Google::Apis::YoutubePartnerV1::RightsOwnershipHistory>]
2568
3031
  attr_accessor :items
2569
3032
 
2570
- # The type of the API response. For this operation, the value is youtubePartner#
2571
- # ownershipHistoryList.
3033
+ # The type of the API response. For this operation, the value is
3034
+ # <code>youtubePartner#ownershipHistoryList</code>.
2572
3035
  # Corresponds to the JSON property `kind`
2573
3036
  # @return [String]
2574
3037
  attr_accessor :kind
@@ -2603,15 +3066,16 @@ module Google
2603
3066
  # @return [String]
2604
3067
  attr_accessor :id
2605
3068
 
2606
- # The type of the API resource. For package resources, this value is
2607
- # youtubePartner#package.
3069
+ # The type of the API resource. For <code>package</code> resources, this
3070
+ # value is <code>youtubePartner#package</code>.
2608
3071
  # Corresponds to the JSON property `kind`
2609
3072
  # @return [String]
2610
3073
  attr_accessor :kind
2611
3074
 
2612
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
2613
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
2614
- # return the error messages in English ("en").
3075
+ # The desired locale of the error messages as defined in BCP 47
3076
+ # (http:
3077
+ # //tools.ietf.org/html/bcp47). For example, "en-US" or "de". If not
3078
+ # // specified we will return the error messages in English ("en").
2615
3079
  # Corresponds to the JSON property `locale`
2616
3080
  # @return [String]
2617
3081
  attr_accessor :locale
@@ -2631,10 +3095,11 @@ module Google
2631
3095
  # @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]
2632
3096
  attr_accessor :status_reports
2633
3097
 
2634
- # The package creation time. The value is specified in RFC 3339 (YYYY-MM-DDThh:
2635
- # mm:ss.000Z) format.
3098
+ # The package creation time. The value is specified in <a
3099
+ # href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a>
3100
+ # (<code>YYYY-MM-DDThh:mm:ss.000Z</code>) format.
2636
3101
  # Corresponds to the JSON property `timeCreated`
2637
- # @return [DateTime]
3102
+ # @return [String]
2638
3103
  attr_accessor :time_created
2639
3104
 
2640
3105
  # The package type.
@@ -2676,22 +3141,23 @@ module Google
2676
3141
  # @return [Array<Google::Apis::YoutubePartnerV1::ValidateError>]
2677
3142
  attr_accessor :errors
2678
3143
 
2679
- # The type of the API response. For this operation, the value is youtubePartner#
2680
- # packageInsert.
3144
+ # The type of the API response. For this operation, the value is
3145
+ # <code>youtubePartner#packageInsert</code>.
2681
3146
  # Corresponds to the JSON property `kind`
2682
3147
  # @return [String]
2683
3148
  attr_accessor :kind
2684
3149
 
2685
- # The package resource.
3150
+ # The <code>package</code> resource.
2686
3151
  # Corresponds to the JSON property `resource`
2687
3152
  # @return [Google::Apis::YoutubePartnerV1::Package]
2688
3153
  attr_accessor :resource
2689
3154
 
2690
3155
  # The package insert status. Indicates whether the insert operation completed
2691
- # successfully or identifies the general cause of failure. For most cases where
2692
- # the insert operation failed, the errors are described in the API response's
2693
- # errors object. However, if the operation failed because the package contained
2694
- # non-metadata files, the errors object is not included in the response.
3156
+ # successfully or identifies the general cause of failure. For most cases
3157
+ # where the insert operation failed, the errors are described in the API
3158
+ # response's <code>errors</code> object. However, if the operation failed
3159
+ # because the package contained non-metadata files, the <code>errors</code>
3160
+ # object is not included in the response.
2695
3161
  # Corresponds to the JSON property `status`
2696
3162
  # @return [String]
2697
3163
  attr_accessor :status
@@ -2754,7 +3220,7 @@ module Google
2754
3220
  # @return [String]
2755
3221
  attr_accessor :id
2756
3222
 
2757
- # Identifies this as a policy. Value: "youtubePartner#policy"
3223
+ # Identifies this as a policy. Value: "<code>youtubePartner#policy</code>"
2758
3224
  # Corresponds to the JSON property `kind`
2759
3225
  # @return [String]
2760
3226
  attr_accessor :kind
@@ -2772,7 +3238,7 @@ module Google
2772
3238
 
2773
3239
  # The time the policy was updated.
2774
3240
  # Corresponds to the JSON property `timeUpdated`
2775
- # @return [DateTime]
3241
+ # @return [String]
2776
3242
  attr_accessor :time_updated
2777
3243
 
2778
3244
  def initialize(**args)
@@ -2799,8 +3265,8 @@ module Google
2799
3265
  # @return [Array<Google::Apis::YoutubePartnerV1::Policy>]
2800
3266
  attr_accessor :items
2801
3267
 
2802
- # The type of the API response. For this operation, the value is youtubePartner#
2803
- # policyList.
3268
+ # The type of the API response. For this operation, the value is
3269
+ # <code>youtubePartner#policyList</code>.
2804
3270
  # Corresponds to the JSON property `kind`
2805
3271
  # @return [String]
2806
3272
  attr_accessor :kind
@@ -2820,20 +3286,20 @@ module Google
2820
3286
  class PolicyRule
2821
3287
  include Google::Apis::Core::Hashable
2822
3288
 
2823
- # The policy that YouTube should enforce if the rule's conditions are all valid
2824
- # for an asset or for an attempt to view that asset on YouTube.
3289
+ # The policy that YouTube should enforce if the rule's conditions are all
3290
+ # valid for an asset or for an attempt to view that asset on YouTube.
2825
3291
  # Corresponds to the JSON property `action`
2826
3292
  # @return [String]
2827
3293
  attr_accessor :action
2828
3294
 
2829
- # A set of conditions that must be met for the rule's action (and subactions) to
2830
- # be enforced. For a rule to be valid, all of its conditions must be met.
3295
+ # A set of conditions that must be met for the rule's action (and subactions)
3296
+ # to be enforced. For a rule to be valid, all of its conditions must be met.
2831
3297
  # Corresponds to the JSON property `conditions`
2832
3298
  # @return [Google::Apis::YoutubePartnerV1::Conditions]
2833
3299
  attr_accessor :conditions
2834
3300
 
2835
- # A list of additional actions that YouTube should take if the conditions in the
2836
- # rule are met.
3301
+ # A list of additional actions that YouTube should take if the conditions in
3302
+ # the rule are met.
2837
3303
  # Corresponds to the JSON property `subaction`
2838
3304
  # @return [Array<String>]
2839
3305
  attr_accessor :subaction
@@ -2854,10 +3320,11 @@ module Google
2854
3320
  class PromotedContent
2855
3321
  include Google::Apis::Core::Hashable
2856
3322
 
2857
- # A list of link targets that will be used to generate the annotation link that
2858
- # appears on videos included in the campaign. If more than one link is
2859
- # specified, the link that is displayed to viewers will be randomly selected
2860
- # from the list.
3323
+ # A list of link targets that will be used to generate the annotation link
3324
+ # that appears on videos included in the <a
3325
+ # href="https://support.google.com/youtube/answer/6078374?ref_topic=4515467">
3326
+ # campaign</a>. If more than one link is specified, the link that is
3327
+ # displayed to viewers will be randomly selected from the list.
2861
3328
  # Corresponds to the JSON property `link`
2862
3329
  # @return [Array<Google::Apis::YoutubePartnerV1::CampaignTargetLink>]
2863
3330
  attr_accessor :link
@@ -2907,17 +3374,18 @@ module Google
2907
3374
  # @return [String]
2908
3375
  attr_accessor :asset_id
2909
3376
 
2910
- # Set this field's value to true to indicate that the reference content should
2911
- # be included in YouTube's AudioSwap program.
3377
+ # Set this field's value to <code>true</code> to indicate that the reference
3378
+ # content should be included in YouTube's AudioSwap program.
2912
3379
  # Corresponds to the JSON property `audioswapEnabled`
2913
3380
  # @return [Boolean]
2914
3381
  attr_accessor :audioswap_enabled
2915
3382
  alias_method :audioswap_enabled?, :audioswap_enabled
2916
3383
 
2917
3384
  # This field is present if the reference was created by associating an asset
2918
- # with an existing YouTube video that was uploaded to a YouTube channel linked
2919
- # to your CMS account. In that case, this field contains the ID of the claim
2920
- # representing the resulting association between the asset and the video.
3385
+ # with an existing YouTube video that was uploaded to a YouTube channel
3386
+ # linked to your CMS account. In that case, this field contains the ID of the
3387
+ # claim representing the resulting association between the asset and the
3388
+ # video.
2921
3389
  # Corresponds to the JSON property `claimId`
2922
3390
  # @return [String]
2923
3391
  attr_accessor :claim_id
@@ -2927,27 +3395,33 @@ module Google
2927
3395
  # @return [String]
2928
3396
  attr_accessor :content_type
2929
3397
 
2930
- # The ID that uniquely identifies the reference that this reference duplicates.
2931
- # This field is only present if the reference's status is inactive with reason
2932
- # REASON_DUPLICATE_FOR_OWNERS.
3398
+ # The ID that uniquely identifies the reference that this reference
3399
+ # duplicates. This field is only present if the
3400
+ # reference's status is <code>inactive</code> with reason
3401
+ # <code>REASON_DUPLICATE_FOR_OWNERS</code>.
2933
3402
  # Corresponds to the JSON property `duplicateLeader`
2934
3403
  # @return [String]
2935
3404
  attr_accessor :duplicate_leader
2936
3405
 
2937
- # The list of time intervals from this reference that will be ignored during the
2938
- # match process.
3406
+ # The list of time intervals from this reference that will be ignored during
3407
+ # the match process.
2939
3408
  # Corresponds to the JSON property `excludedIntervals`
2940
3409
  # @return [Array<Google::Apis::YoutubePartnerV1::ExcludedInterval>]
2941
3410
  attr_accessor :excluded_intervals
2942
3411
 
2943
- # When uploading a reference, set this value to true to indicate that the
2944
- # reference is a pre-generated fingerprint.
3412
+ # When uploading a reference, set this value to <code>true</code> to indicate
3413
+ # that the reference is a pre-generated fingerprint.
2945
3414
  # Corresponds to the JSON property `fpDirect`
2946
3415
  # @return [Boolean]
2947
3416
  attr_accessor :fp_direct
2948
3417
  alias_method :fp_direct?, :fp_direct
2949
3418
 
2950
- # The MD5 hashcode of the reference content. Deprecated! This is no longer
3419
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
3420
+ # Corresponds to the JSON property `gdataMedia`
3421
+ # @return [Google::Apis::YoutubePartnerV1::Media]
3422
+ attr_accessor :gdata_media
3423
+
3424
+ # The MD5 hashcode of the reference content. Deprecated! This is no longer
2951
3425
  # populated.
2952
3426
  # Corresponds to the JSON property `hashCode`
2953
3427
  # @return [String]
@@ -2958,15 +3432,16 @@ module Google
2958
3432
  # @return [String]
2959
3433
  attr_accessor :id
2960
3434
 
2961
- # Set this value to true to indicate that the reference should not be used to
2962
- # generate claims. This field is only used on AudioSwap references.
3435
+ # Set this value to <code>true</code> to indicate that the reference should
3436
+ # not be used to generate claims. This field is only used on AudioSwap
3437
+ # references.
2963
3438
  # Corresponds to the JSON property `ignoreFpMatch`
2964
3439
  # @return [Boolean]
2965
3440
  attr_accessor :ignore_fp_match
2966
3441
  alias_method :ignore_fp_match?, :ignore_fp_match
2967
3442
 
2968
- # The type of the API resource. For reference resources, the value is
2969
- # youtubePartner#reference.
3443
+ # The type of the API resource. For <code>reference</code> resources, the
3444
+ # value is <code>youtubePartner#reference</code>.
2970
3445
  # Corresponds to the JSON property `kind`
2971
3446
  # @return [String]
2972
3447
  attr_accessor :kind
@@ -2976,8 +3451,28 @@ module Google
2976
3451
  # @return [Float]
2977
3452
  attr_accessor :length
2978
3453
 
2979
- # The origination object contains information that describes the reference
2980
- # source.
3454
+ # Extra information added to operations that support Scotty media requests.
3455
+ # Corresponds to the JSON property `mediaRequestInfo`
3456
+ # @return [Google::Apis::YoutubePartnerV1::MediaRequestInfo]
3457
+ attr_accessor :media_request_info
3458
+
3459
+ # This message is for backends to pass their scotty media specific fields to
3460
+ # ESF. Backend will include this in their response message to ESF.
3461
+ # Example:
3462
+ # ExportFile is an rpc defined for upload using scotty from ESF.
3463
+ # rpc ExportFile(ExportFileRequest) returns (ExportFileResponse)
3464
+ # Message ExportFileResponse will include apiserving.MediaResponseInfo to tell
3465
+ # ESF about data like dynamic_dropzone it needs to pass to Scotty.
3466
+ # message ExportFileResponse `
3467
+ # optional gdata.Media blob = 1;
3468
+ # optional apiserving.MediaResponseInfo media_response_info = 2
3469
+ # `
3470
+ # Corresponds to the JSON property `mediaResponseInfo`
3471
+ # @return [Google::Apis::YoutubePartnerV1::MediaResponseInfo]
3472
+ attr_accessor :media_response_info
3473
+
3474
+ # The <code>origination</code> object contains information that describes the
3475
+ # reference source.
2981
3476
  # Corresponds to the JSON property `origination`
2982
3477
  # @return [Google::Apis::YoutubePartnerV1::Origination]
2983
3478
  attr_accessor :origination
@@ -2988,28 +3483,29 @@ module Google
2988
3483
  attr_accessor :status
2989
3484
 
2990
3485
  # An explanation of how a reference entered its current state. This value is
2991
- # only present if the reference's status is either inactive or deleted.
3486
+ # only present if the
3487
+ # reference's status is either <code>inactive</code> or <code>deleted</code>.
2992
3488
  # Corresponds to the JSON property `statusReason`
2993
3489
  # @return [String]
2994
3490
  attr_accessor :status_reason
2995
3491
 
2996
- # Set this value to true to indicate that YouTube should prioritize Content ID
2997
- # processing for a video file. YouTube processes urgent video files before other
2998
- # files that are not marked as urgent. This setting is primarily used for videos
2999
- # of live events or other videos that require time-sensitive processing. The
3000
- # sooner YouTube completes Content ID processing for a video, the sooner YouTube
3001
- # can match user-uploaded videos to that video.
3002
- # Note that marking all of your files as urgent could delay processing for those
3003
- # files.
3492
+ # Set this value to <code>true</code> to indicate that YouTube should
3493
+ # prioritize Content ID processing for a video file. YouTube processes urgent
3494
+ # video files before other files that are not marked as urgent. This setting
3495
+ # is primarily used for videos of live events or other videos that require
3496
+ # time-sensitive processing. The sooner YouTube completes Content ID
3497
+ # processing for a video, the sooner YouTube can match user-uploaded videos
3498
+ # to that video.<br/><br/>Note that marking all of your files as urgent could
3499
+ # delay processing for those files.
3004
3500
  # Corresponds to the JSON property `urgent`
3005
3501
  # @return [Boolean]
3006
3502
  attr_accessor :urgent
3007
3503
  alias_method :urgent?, :urgent
3008
3504
 
3009
3505
  # This field is present if the reference was created by associating an asset
3010
- # with an existing YouTube video that was uploaded to a YouTube channel linked
3011
- # to your CMS account. In that case, this field contains the ID of the source
3012
- # video.
3506
+ # with an existing YouTube video that was uploaded to a YouTube channel
3507
+ # linked to your CMS account. In that case, this field contains the ID of the
3508
+ # source video.
3013
3509
  # Corresponds to the JSON property `videoId`
3014
3510
  # @return [String]
3015
3511
  attr_accessor :video_id
@@ -3027,11 +3523,14 @@ module Google
3027
3523
  @duplicate_leader = args[:duplicate_leader] if args.key?(:duplicate_leader)
3028
3524
  @excluded_intervals = args[:excluded_intervals] if args.key?(:excluded_intervals)
3029
3525
  @fp_direct = args[:fp_direct] if args.key?(:fp_direct)
3526
+ @gdata_media = args[:gdata_media] if args.key?(:gdata_media)
3030
3527
  @hash_code = args[:hash_code] if args.key?(:hash_code)
3031
3528
  @id = args[:id] if args.key?(:id)
3032
3529
  @ignore_fp_match = args[:ignore_fp_match] if args.key?(:ignore_fp_match)
3033
3530
  @kind = args[:kind] if args.key?(:kind)
3034
3531
  @length = args[:length] if args.key?(:length)
3532
+ @media_request_info = args[:media_request_info] if args.key?(:media_request_info)
3533
+ @media_response_info = args[:media_response_info] if args.key?(:media_response_info)
3035
3534
  @origination = args[:origination] if args.key?(:origination)
3036
3535
  @status = args[:status] if args.key?(:status)
3037
3536
  @status_reason = args[:status_reason] if args.key?(:status_reason)
@@ -3051,7 +3550,7 @@ module Google
3051
3550
 
3052
3551
  # Conflict review expiry time.
3053
3552
  # Corresponds to the JSON property `expiryTime`
3054
- # @return [DateTime]
3553
+ # @return [String]
3055
3554
  attr_accessor :expiry_time
3056
3555
 
3057
3556
  # A value that YouTube assigns and uses to uniquely identify a reference
@@ -3060,14 +3559,14 @@ module Google
3060
3559
  # @return [String]
3061
3560
  attr_accessor :id
3062
3561
 
3063
- # The type of the API resource. For referenceConflict resources, the value is
3064
- # youtubePartner#referenceConflict.
3562
+ # The type of the API resource. For <code>referenceConflict</code> resources,
3563
+ # the value is <code>youtubePartner#referenceConflict</code>.
3065
3564
  # Corresponds to the JSON property `kind`
3066
3565
  # @return [String]
3067
3566
  attr_accessor :kind
3068
3567
 
3069
- # The list of matches between conflicting and original references at the time of
3070
- # conflict creation.
3568
+ # The list of matches between conflicting and original references at the time
3569
+ # of conflict creation.
3071
3570
  # Corresponds to the JSON property `matches`
3072
3571
  # @return [Array<Google::Apis::YoutubePartnerV1::ReferenceConflictMatch>]
3073
3572
  attr_accessor :matches
@@ -3107,19 +3606,20 @@ module Google
3107
3606
  # @return [Array<Google::Apis::YoutubePartnerV1::ReferenceConflict>]
3108
3607
  attr_accessor :items
3109
3608
 
3110
- # The type of the API response. For this operation, the value is youtubePartner#
3111
- # referenceConflictList.
3609
+ # The type of the API response. For this operation, the value is
3610
+ # <code>youtubePartner#referenceConflictList</code>.
3112
3611
  # Corresponds to the JSON property `kind`
3113
3612
  # @return [String]
3114
3613
  attr_accessor :kind
3115
3614
 
3116
- # The token that can be used as the value of the pageToken parameter to retrieve
3117
- # the next page in the result set.
3615
+ # The token that can be used as the value of the <code>pageToken</code>
3616
+ # parameter to retrieve the next page in the result set.
3118
3617
  # Corresponds to the JSON property `nextPageToken`
3119
3618
  # @return [String]
3120
3619
  attr_accessor :next_page_token
3121
3620
 
3122
- # The pageInfo object encapsulates paging information for the result set.
3621
+ # The <code>pageInfo</code> object encapsulates paging information for the
3622
+ # result set.
3123
3623
  # Corresponds to the JSON property `pageInfo`
3124
3624
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
3125
3625
  attr_accessor :page_info
@@ -3183,19 +3683,20 @@ module Google
3183
3683
  # @return [Array<Google::Apis::YoutubePartnerV1::Reference>]
3184
3684
  attr_accessor :items
3185
3685
 
3186
- # The type of the API response. For this operation, the value is youtubePartner#
3187
- # referenceList.
3686
+ # The type of the API response. For this operation, the value is
3687
+ # <code>youtubePartner#referenceList</code>.
3188
3688
  # Corresponds to the JSON property `kind`
3189
3689
  # @return [String]
3190
3690
  attr_accessor :kind
3191
3691
 
3192
- # The token that can be used as the value of the pageToken parameter to retrieve
3193
- # the next page in the result set.
3692
+ # The token that can be used as the value of the <code>pageToken</code>
3693
+ # parameter to retrieve the next page in the result set.
3194
3694
  # Corresponds to the JSON property `nextPageToken`
3195
3695
  # @return [String]
3196
3696
  attr_accessor :next_page_token
3197
3697
 
3198
- # The pageInfo object encapsulates paging information for the result set.
3698
+ # The <code>pageInfo</code> object encapsulates paging information for the
3699
+ # result set.
3199
3700
  # Corresponds to the JSON property `pageInfo`
3200
3701
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
3201
3702
  attr_accessor :page_info
@@ -3213,83 +3714,28 @@ module Google
3213
3714
  end
3214
3715
  end
3215
3716
 
3216
- #
3217
- class Requirements
3218
- include Google::Apis::Core::Hashable
3219
-
3220
- # This value indicates whether the order requires closed captions.
3221
- # Corresponds to the JSON property `caption`
3222
- # @return [Boolean]
3223
- attr_accessor :caption
3224
- alias_method :caption?, :caption
3225
-
3226
- # This value indicates whether the order requires HD-quality video.
3227
- # Corresponds to the JSON property `hdTranscode`
3228
- # @return [Boolean]
3229
- attr_accessor :hd_transcode
3230
- alias_method :hd_transcode?, :hd_transcode
3231
-
3232
- # This value indicates whether the order requires poster artwork.
3233
- # Corresponds to the JSON property `posterArt`
3234
- # @return [Boolean]
3235
- attr_accessor :poster_art
3236
- alias_method :poster_art?, :poster_art
3237
-
3238
- # This value indicates whether the order requires spotlight artwork.
3239
- # Corresponds to the JSON property `spotlightArt`
3240
- # @return [Boolean]
3241
- attr_accessor :spotlight_art
3242
- alias_method :spotlight_art?, :spotlight_art
3243
-
3244
- # This value indicates whether the spotlight artwork for the order needs to be
3245
- # reviewed.
3246
- # Corresponds to the JSON property `spotlightReview`
3247
- # @return [Boolean]
3248
- attr_accessor :spotlight_review
3249
- alias_method :spotlight_review?, :spotlight_review
3250
-
3251
- # This value indicates whether the order requires a trailer.
3252
- # Corresponds to the JSON property `trailer`
3253
- # @return [Boolean]
3254
- attr_accessor :trailer
3255
- alias_method :trailer?, :trailer
3256
-
3257
- def initialize(**args)
3258
- update!(**args)
3259
- end
3260
-
3261
- # Update properties of this object
3262
- def update!(**args)
3263
- @caption = args[:caption] if args.key?(:caption)
3264
- @hd_transcode = args[:hd_transcode] if args.key?(:hd_transcode)
3265
- @poster_art = args[:poster_art] if args.key?(:poster_art)
3266
- @spotlight_art = args[:spotlight_art] if args.key?(:spotlight_art)
3267
- @spotlight_review = args[:spotlight_review] if args.key?(:spotlight_review)
3268
- @trailer = args[:trailer] if args.key?(:trailer)
3269
- end
3270
- end
3271
-
3272
3717
  #
3273
3718
  class RightsOwnership
3274
3719
  include Google::Apis::Core::Hashable
3275
3720
 
3276
- # A list that identifies the owners of an asset and the territories where each
3277
- # owner has ownership. General asset ownership is used for all types of assets
3278
- # and is the only type of ownership data that can be provided for assets that
3279
- # are not compositions.
3280
- # Note: You cannot specify general ownership rights and also specify either
3281
- # mechanical, performance, or synchronization rights.
3721
+ # A list that identifies the owners of an asset and the territories where
3722
+ # each owner has ownership. General asset ownership is used for all types of
3723
+ # assets and is the only type of ownership data that can be provided for
3724
+ # assets that are not compositions.<br/><br/> <strong>Note:</strong> You
3725
+ # cannot specify general ownership rights and also specify either mechanical,
3726
+ # performance, or synchronization rights.
3282
3727
  # Corresponds to the JSON property `general`
3283
3728
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
3284
3729
  attr_accessor :general
3285
3730
 
3286
- # The type of the API resource. For rightsOwnership resources, the value is
3287
- # youtubePartner#rightsOwnership.
3731
+ # The type of the API resource. For <code>rightsOwnership</code> resources,
3732
+ # the value is <code>youtubePartner#rightsOwnership</code>.
3288
3733
  # Corresponds to the JSON property `kind`
3289
3734
  # @return [String]
3290
3735
  attr_accessor :kind
3291
3736
 
3292
- # A list that identifies owners of the mechanical rights for a composition asset.
3737
+ # A list that identifies owners of the mechanical rights for a composition
3738
+ # asset.
3293
3739
  # Corresponds to the JSON property `mechanical`
3294
3740
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
3295
3741
  attr_accessor :mechanical
@@ -3300,8 +3746,8 @@ module Google
3300
3746
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
3301
3747
  attr_accessor :performance
3302
3748
 
3303
- # A list that identifies owners of the synchronization rights for a composition
3304
- # asset.
3749
+ # A list that identifies owners of the synchronization rights for a
3750
+ # composition asset.
3305
3751
  # Corresponds to the JSON property `synchronization`
3306
3752
  # @return [Array<Google::Apis::YoutubePartnerV1::TerritoryOwners>]
3307
3753
  attr_accessor :synchronization
@@ -3325,25 +3771,27 @@ module Google
3325
3771
  include Google::Apis::Core::Hashable
3326
3772
 
3327
3773
  # The type of the API resource. For ownership history resources, the value is
3328
- # youtubePartner#rightsOwnershipHistory.
3774
+ # <code>youtubePartner#rightsOwnershipHistory</code>.
3329
3775
  # Corresponds to the JSON property `kind`
3330
3776
  # @return [String]
3331
3777
  attr_accessor :kind
3332
3778
 
3333
- # The origination object contains information that describes the metadata source.
3779
+ # The <code>origination</code> object contains information that describes the
3780
+ # metadata source.
3334
3781
  # Corresponds to the JSON property `origination`
3335
3782
  # @return [Google::Apis::YoutubePartnerV1::Origination]
3336
3783
  attr_accessor :origination
3337
3784
 
3338
- # The ownership object contains the ownership data provided by the specified
3339
- # source (origination) at the specified time (timeProvided).
3785
+ # The <code>ownership</code> object contains the ownership data provided by
3786
+ # the specified source (<code>origination</code>) at the specified time
3787
+ # (<code>timeProvided</code>).
3340
3788
  # Corresponds to the JSON property `ownership`
3341
3789
  # @return [Google::Apis::YoutubePartnerV1::RightsOwnership]
3342
3790
  attr_accessor :ownership
3343
3791
 
3344
3792
  # The time that the ownership data was provided.
3345
3793
  # Corresponds to the JSON property `timeProvided`
3346
- # @return [DateTime]
3794
+ # @return [String]
3347
3795
  attr_accessor :time_provided
3348
3796
 
3349
3797
  def initialize(**args)
@@ -3368,13 +3816,41 @@ module Google
3368
3816
  # @return [Fixnum]
3369
3817
  attr_accessor :duration
3370
3818
 
3371
- # The finish time of the segment, measured in milliseconds from the beginning.
3819
+ # The type of the API resource. For segment resources, the value is
3820
+ # <code>youtubePartner#segment</code>.
3821
+ # Corresponds to the JSON property `kind`
3822
+ # @return [String]
3823
+ attr_accessor :kind
3824
+
3825
+ # The start time of the segment, measured in milliseconds from the beginning.
3826
+ # Corresponds to the JSON property `start`
3827
+ # @return [Fixnum]
3828
+ attr_accessor :start
3829
+
3830
+ def initialize(**args)
3831
+ update!(**args)
3832
+ end
3833
+
3834
+ # Update properties of this object
3835
+ def update!(**args)
3836
+ @duration = args[:duration] if args.key?(:duration)
3837
+ @kind = args[:kind] if args.key?(:kind)
3838
+ @start = args[:start] if args.key?(:start)
3839
+ end
3840
+ end
3841
+
3842
+ #
3843
+ class Segment2
3844
+ include Google::Apis::Core::Hashable
3845
+
3846
+ # The finish time of the segment, measured in milliseconds from the
3847
+ # beginning.
3372
3848
  # Corresponds to the JSON property `finish`
3373
3849
  # @return [String]
3374
3850
  attr_accessor :finish
3375
3851
 
3376
3852
  # The type of the API resource. For segment resources, the value is
3377
- # youtubePartner#segment.
3853
+ # <code>youtubePartner#segment</code>.
3378
3854
  # Corresponds to the JSON property `kind`
3379
3855
  # @return [String]
3380
3856
  attr_accessor :kind
@@ -3390,7 +3866,6 @@ module Google
3390
3866
 
3391
3867
  # Update properties of this object
3392
3868
  def update!(**args)
3393
- @duration = args[:duration] if args.key?(:duration)
3394
3869
  @finish = args[:finish] if args.key?(:finish)
3395
3870
  @kind = args[:kind] if args.key?(:kind)
3396
3871
  @start = args[:start] if args.key?(:start)
@@ -3398,28 +3873,23 @@ module Google
3398
3873
  end
3399
3874
 
3400
3875
  #
3401
- class ShowDetails
3876
+ class Source
3402
3877
  include Google::Apis::Core::Hashable
3403
3878
 
3404
- # The episode number associated with the episode.
3405
- # Corresponds to the JSON property `episodeNumber`
3406
- # @return [String]
3407
- attr_accessor :episode_number
3408
-
3409
- # The episode's title.
3410
- # Corresponds to the JSON property `episodeTitle`
3879
+ # Id of content owner that initiated the event.
3880
+ # Corresponds to the JSON property `contentOwnerId`
3411
3881
  # @return [String]
3412
- attr_accessor :episode_title
3882
+ attr_accessor :content_owner_id
3413
3883
 
3414
- # The season number associated with the episode.
3415
- # Corresponds to the JSON property `seasonNumber`
3884
+ # Type of the event source.
3885
+ # Corresponds to the JSON property `type`
3416
3886
  # @return [String]
3417
- attr_accessor :season_number
3887
+ attr_accessor :type
3418
3888
 
3419
- # The show's title
3420
- # Corresponds to the JSON property `title`
3889
+ # Email of user who initiated the event.
3890
+ # Corresponds to the JSON property `userEmail`
3421
3891
  # @return [String]
3422
- attr_accessor :title
3892
+ attr_accessor :user_email
3423
3893
 
3424
3894
  def initialize(**args)
3425
3895
  update!(**args)
@@ -3427,10 +3897,9 @@ module Google
3427
3897
 
3428
3898
  # Update properties of this object
3429
3899
  def update!(**args)
3430
- @episode_number = args[:episode_number] if args.key?(:episode_number)
3431
- @episode_title = args[:episode_title] if args.key?(:episode_title)
3432
- @season_number = args[:season_number] if args.key?(:season_number)
3433
- @title = args[:title] if args.key?(:title)
3900
+ @content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id)
3901
+ @type = args[:type] if args.key?(:type)
3902
+ @user_email = args[:user_email] if args.key?(:user_email)
3434
3903
  end
3435
3904
  end
3436
3905
 
@@ -3438,8 +3907,8 @@ module Google
3438
3907
  class SpreadsheetTemplate
3439
3908
  include Google::Apis::Core::Hashable
3440
3909
 
3441
- # The type of the API resource. For spreadsheet template resources, the value is
3442
- # youtubePartner#spreadsheetTemplate.
3910
+ # The type of the API resource. For spreadsheet template resources, the value
3911
+ # is <code>youtubePartner#spreadsheetTemplate</code>.
3443
3912
  # Corresponds to the JSON property `kind`
3444
3913
  # @return [String]
3445
3914
  attr_accessor :kind
@@ -3482,14 +3951,15 @@ module Google
3482
3951
  class SpreadsheetTemplateListResponse
3483
3952
  include Google::Apis::Core::Hashable
3484
3953
 
3485
- # A list of spreadsheet templates (youtubePartner#spreadsheetTemplate) resources
3486
- # that match the request criteria.
3954
+ # A list of spreadsheet templates
3955
+ # (<code>youtubePartner#spreadsheetTemplate</code>) resources that match the
3956
+ # request criteria.
3487
3957
  # Corresponds to the JSON property `items`
3488
3958
  # @return [Array<Google::Apis::YoutubePartnerV1::SpreadsheetTemplate>]
3489
3959
  attr_accessor :items
3490
3960
 
3491
- # The type of the API response. For this operation, the value is youtubePartner#
3492
- # spreadsheetTemplateList.
3961
+ # The type of the API response. For this operation, the value is
3962
+ # <code>youtubePartner#spreadsheetTemplateList</code>.
3493
3963
  # Corresponds to the JSON property `kind`
3494
3964
  # @return [String]
3495
3965
  attr_accessor :kind
@@ -3511,31 +3981,6 @@ module Google
3511
3981
  end
3512
3982
  end
3513
3983
 
3514
- #
3515
- class StateCompleted
3516
- include Google::Apis::Core::Hashable
3517
-
3518
- # The state that the order entered.
3519
- # Corresponds to the JSON property `state`
3520
- # @return [String]
3521
- attr_accessor :state
3522
-
3523
- # The time that the state transition occurred.
3524
- # Corresponds to the JSON property `timeCompleted`
3525
- # @return [Fixnum]
3526
- attr_accessor :time_completed
3527
-
3528
- def initialize(**args)
3529
- update!(**args)
3530
- end
3531
-
3532
- # Update properties of this object
3533
- def update!(**args)
3534
- @state = args[:state] if args.key?(:state)
3535
- @time_completed = args[:time_completed] if args.key?(:time_completed)
3536
- end
3537
- end
3538
-
3539
3984
  #
3540
3985
  class StatusReport
3541
3986
  include Google::Apis::Core::Hashable
@@ -3565,13 +4010,16 @@ module Google
3565
4010
  class TerritoryCondition
3566
4011
  include Google::Apis::Core::Hashable
3567
4012
 
3568
- # A list of territories. Each territory is an ISO 3166 two-letter country code..
4013
+ # A list of territories. Each territory is an <a
4014
+ # href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/
4015
+ # country_names_and_code_elements.htm">ISO
4016
+ # 3166 two-letter country code.</a>.
3569
4017
  # Corresponds to the JSON property `territories`
3570
4018
  # @return [Array<String>]
3571
4019
  attr_accessor :territories
3572
4020
 
3573
- # This field indicates whether the associated policy rule is or is not valid in
3574
- # the specified territories.
4021
+ # This field indicates whether the associated policy rule is or is not valid
4022
+ # in the specified territories.
3575
4023
  # Corresponds to the JSON property `type`
3576
4024
  # @return [String]
3577
4025
  attr_accessor :type
@@ -3596,8 +4044,10 @@ module Google
3596
4044
  # @return [Array<Google::Apis::YoutubePartnerV1::ConflictingOwnership>]
3597
4045
  attr_accessor :conflicting_ownership
3598
4046
 
3599
- # A territories where the ownership conflict is present. Territory is an ISO
3600
- # 3166 two-letter country code..
4047
+ # A territories where the ownership conflict is present. Territory is an <a
4048
+ # href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/
4049
+ # country_names_and_code_elements.htm">ISO
4050
+ # 3166 two-letter country code.</a>.
3601
4051
  # Corresponds to the JSON property `territory`
3602
4052
  # @return [String]
3603
4053
  attr_accessor :territory
@@ -3630,23 +4080,26 @@ module Google
3630
4080
  attr_accessor :publisher
3631
4081
 
3632
4082
  # The percentage of the asset that the owner controls or administers. For
3633
- # composition assets, the value can be any value between 0 and 100 inclusive.
3634
- # For all other assets, the only valid values are 100, which indicates that the
3635
- # owner completely owns the asset in the specified territories, and 0, which
3636
- # indicates that you are removing ownership of the asset in the specified
3637
- # territories.
4083
+ # composition assets, the value can be any value between <code>0</code> and
4084
+ # <code>100</code> inclusive. For all other assets, the only valid values are
4085
+ # <code>100</code>, which indicates that the owner completely owns the asset
4086
+ # in the specified territories, and <code>0</code>, which indicates that you
4087
+ # are removing ownership of the asset in the specified territories.
3638
4088
  # Corresponds to the JSON property `ratio`
3639
4089
  # @return [Float]
3640
4090
  attr_accessor :ratio
3641
4091
 
3642
- # A list of territories where the owner owns (or does not own) the asset. Each
3643
- # territory is an ISO 3166 two-letter country code..
4092
+ # A list of territories where the owner owns (or does not own) the asset.
4093
+ # Each territory is an <a
4094
+ # href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/
4095
+ # country_names_and_code_elements.htm">ISO
4096
+ # 3166 two-letter country code.</a>.
3644
4097
  # Corresponds to the JSON property `territories`
3645
4098
  # @return [Array<String>]
3646
4099
  attr_accessor :territories
3647
4100
 
3648
- # This field indicates whether the ownership data applies or does not apply in
3649
- # the specified territories.
4101
+ # This field indicates whether the ownership data applies or does not apply
4102
+ # in the specified territories.
3650
4103
  # Corresponds to the JSON property `type`
3651
4104
  # @return [String]
3652
4105
  attr_accessor :type
@@ -3665,12 +4118,77 @@ module Google
3665
4118
  end
3666
4119
  end
3667
4120
 
4121
+ #
4122
+ class TotalMatch
4123
+ include Google::Apis::Core::Hashable
4124
+
4125
+ # The total amount of content in the reference which matched the user
4126
+ # video in seconds.
4127
+ # Corresponds to the JSON property `referenceDurationSecs`
4128
+ # @return [Fixnum]
4129
+ attr_accessor :reference_duration_secs
4130
+
4131
+ # The total amount of content in the user video which matched the
4132
+ # reference in seconds.
4133
+ # Corresponds to the JSON property `userVideoDurationSecs`
4134
+ # @return [Fixnum]
4135
+ attr_accessor :user_video_duration_secs
4136
+
4137
+ def initialize(**args)
4138
+ update!(**args)
4139
+ end
4140
+
4141
+ # Update properties of this object
4142
+ def update!(**args)
4143
+ @reference_duration_secs = args[:reference_duration_secs] if args.key?(:reference_duration_secs)
4144
+ @user_video_duration_secs = args[:user_video_duration_secs] if args.key?(:user_video_duration_secs)
4145
+ end
4146
+ end
4147
+
4148
+ #
4149
+ class TypeDetails
4150
+ include Google::Apis::Core::Hashable
4151
+
4152
+ # Appeal explanations for <code>dispute_appeal</code> event.
4153
+ # Corresponds to the JSON property `appealExplanation`
4154
+ # @return [String]
4155
+ attr_accessor :appeal_explanation
4156
+
4157
+ # Dispute notes for <code>dispute_create</code> events.
4158
+ # Corresponds to the JSON property `disputeNotes`
4159
+ # @return [String]
4160
+ attr_accessor :dispute_notes
4161
+
4162
+ # Dispute reason for <code>dispute_create</code> and
4163
+ # <code>dispute_appeal</code> events.
4164
+ # Corresponds to the JSON property `disputeReason`
4165
+ # @return [String]
4166
+ attr_accessor :dispute_reason
4167
+
4168
+ # Status that was a result of update for <code>claim_update</code> event.
4169
+ # Corresponds to the JSON property `updateStatus`
4170
+ # @return [String]
4171
+ attr_accessor :update_status
4172
+
4173
+ def initialize(**args)
4174
+ update!(**args)
4175
+ end
4176
+
4177
+ # Update properties of this object
4178
+ def update!(**args)
4179
+ @appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
4180
+ @dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
4181
+ @dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
4182
+ @update_status = args[:update_status] if args.key?(:update_status)
4183
+ end
4184
+ end
4185
+
3668
4186
  #
3669
4187
  class Uploader
3670
4188
  include Google::Apis::Core::Hashable
3671
4189
 
3672
4190
  # The type of the API resource. For uploader resources, the value is
3673
- # youtubePartner#uploader.
4191
+ # <code>youtubePartner#uploader</code>.
3674
4192
  # Corresponds to the JSON property `kind`
3675
4193
  # @return [String]
3676
4194
  attr_accessor :kind
@@ -3695,14 +4213,14 @@ module Google
3695
4213
  class UploaderListResponse
3696
4214
  include Google::Apis::Core::Hashable
3697
4215
 
3698
- # A list of uploader (youtubePartner#uploader) resources that match the request
3699
- # criteria.
4216
+ # A list of uploader (<code>youtubePartner#uploader</code>) resources that
4217
+ # match the request criteria.
3700
4218
  # Corresponds to the JSON property `items`
3701
4219
  # @return [Array<Google::Apis::YoutubePartnerV1::Uploader>]
3702
4220
  attr_accessor :items
3703
4221
 
3704
- # The type of the API response. For this operation, the value is youtubePartner#
3705
- # uploaderList.
4222
+ # The type of the API response. For this operation, the value is
4223
+ # <code>youtubePartner#uploaderList</code>.
3706
4224
  # Corresponds to the JSON property `kind`
3707
4225
  # @return [String]
3708
4226
  attr_accessor :kind
@@ -3727,8 +4245,8 @@ module Google
3727
4245
  # @return [String]
3728
4246
  attr_accessor :content
3729
4247
 
3730
- # The type of the API resource. For this operation, the value is youtubePartner#
3731
- # validateAsyncRequest.
4248
+ # The type of the API resource. For this operation, the value is
4249
+ # <code>youtubePartner#validateAsyncRequest</code>.
3732
4250
  # Corresponds to the JSON property `kind`
3733
4251
  # @return [String]
3734
4252
  attr_accessor :kind
@@ -3754,8 +4272,8 @@ module Google
3754
4272
  class ValidateAsyncResponse
3755
4273
  include Google::Apis::Core::Hashable
3756
4274
 
3757
- # The type of the API resource. For this operation, the value is youtubePartner#
3758
- # validateAsyncResponse.
4275
+ # The type of the API resource. For this operation, the value is
4276
+ # <code>youtubePartner#validateAsyncResponse</code>.
3759
4277
  # Corresponds to the JSON property `kind`
3760
4278
  # @return [String]
3761
4279
  attr_accessor :kind
@@ -3840,15 +4358,16 @@ module Google
3840
4358
  # @return [String]
3841
4359
  attr_accessor :content
3842
4360
 
3843
- # The type of the API resource. For this operation, the value is youtubePartner#
3844
- # validateRequest.
4361
+ # The type of the API resource. For this operation, the value is
4362
+ # <code>youtubePartner#validateRequest</code>.
3845
4363
  # Corresponds to the JSON property `kind`
3846
4364
  # @return [String]
3847
4365
  attr_accessor :kind
3848
4366
 
3849
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
3850
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
3851
- # return the error messages in English ("en").
4367
+ # The desired locale of the error messages as defined in BCP 47
4368
+ # (http:
4369
+ # //tools.ietf.org/html/bcp47). For example, "en-US" or "de". If not
4370
+ # // specified we will return the error messages in English ("en").
3852
4371
  # Corresponds to the JSON property `locale`
3853
4372
  # @return [String]
3854
4373
  attr_accessor :locale
@@ -3880,8 +4399,8 @@ module Google
3880
4399
  # @return [Array<Google::Apis::YoutubePartnerV1::ValidateError>]
3881
4400
  attr_accessor :errors
3882
4401
 
3883
- # The type of the API resource. For this operation, the value is youtubePartner#
3884
- # validateResponse.
4402
+ # The type of the API resource. For this operation, the value is
4403
+ # <code>youtubePartner#validateResponse</code>.
3885
4404
  # Corresponds to the JSON property `kind`
3886
4405
  # @return [String]
3887
4406
  attr_accessor :kind
@@ -3907,15 +4426,16 @@ module Google
3907
4426
  class ValidateStatusRequest
3908
4427
  include Google::Apis::Core::Hashable
3909
4428
 
3910
- # The type of the API resource. For this operation, the value is youtubePartner#
3911
- # validateStatusRequest.
4429
+ # The type of the API resource. For this operation, the value is
4430
+ # <code>youtubePartner#validateStatusRequest</code>.
3912
4431
  # Corresponds to the JSON property `kind`
3913
4432
  # @return [String]
3914
4433
  attr_accessor :kind
3915
4434
 
3916
- # The desired locale of the error messages as defined in BCP 47 (http://tools.
3917
- # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
3918
- # return the error messages in English ("en").
4435
+ # The desired locale of the error messages as defined in BCP 47
4436
+ # (http:
4437
+ # //tools.ietf.org/html/bcp47). For example, "en-US" or "de". If not
4438
+ # // specified we will return the error messages in English ("en").
3919
4439
  # Corresponds to the JSON property `locale`
3920
4440
  # @return [String]
3921
4441
  attr_accessor :locale
@@ -3952,8 +4472,8 @@ module Google
3952
4472
  attr_accessor :is_metadata_only
3953
4473
  alias_method :is_metadata_only?, :is_metadata_only
3954
4474
 
3955
- # The type of the API resource. For this operation, the value is youtubePartner#
3956
- # validateStatusResponse.
4475
+ # The type of the API resource. For this operation, the value is
4476
+ # <code>youtubePartner#validateStatusResponse</code>.
3957
4477
  # Corresponds to the JSON property `kind`
3958
4478
  # @return [String]
3959
4479
  attr_accessor :kind
@@ -4008,8 +4528,8 @@ module Google
4008
4528
  # @return [String]
4009
4529
  attr_accessor :id
4010
4530
 
4011
- # The type of the API resource. For this resource, the value is youtubePartner#
4012
- # videoAdvertisingOption.
4531
+ # The type of the API resource. For this resource, the value is
4532
+ # <code>youtubePartner#videoAdvertisingOption</code>.
4013
4533
  # Corresponds to the JSON property `kind`
4014
4534
  # @return [String]
4015
4535
  attr_accessor :kind
@@ -4019,14 +4539,14 @@ module Google
4019
4539
  # @return [String]
4020
4540
  attr_accessor :tp_ad_server_video_id
4021
4541
 
4022
- # The base URL for a third-party ad server from which YouTube can retrieve in-
4023
- # stream ads for the video.
4542
+ # The base URL for a third-party ad server from which YouTube can retrieve
4543
+ # in-stream ads for the video.
4024
4544
  # Corresponds to the JSON property `tpTargetingUrl`
4025
4545
  # @return [String]
4026
4546
  attr_accessor :tp_targeting_url
4027
4547
 
4028
- # A parameter string to append to the end of the request to the third-party ad
4029
- # server.
4548
+ # A parameter string to append to the end of the request to the third-party
4549
+ # ad server.
4030
4550
  # Corresponds to the JSON property `tpUrlParameters`
4031
4551
  # @return [String]
4032
4552
  attr_accessor :tp_url_parameters
@@ -4058,8 +4578,8 @@ module Google
4058
4578
  # @return [Array<Google::Apis::YoutubePartnerV1::AdBreak>]
4059
4579
  attr_accessor :ad_breaks
4060
4580
 
4061
- # This field indicates whether YouTube can show ads when the video is played in
4062
- # an embedded player.
4581
+ # This field indicates whether YouTube can show ads when the video is played
4582
+ # in an embedded player.
4063
4583
  # Corresponds to the JSON property `adsOnEmbeds`
4064
4584
  # @return [Boolean]
4065
4585
  attr_accessor :ads_on_embeds
@@ -4076,8 +4596,8 @@ module Google
4076
4596
  # @return [String]
4077
4597
  attr_accessor :id
4078
4598
 
4079
- # The type of the API resource. For this resource, the value is youtubePartner#
4080
- # videoAdvertisingOptionGetEnabledAds.
4599
+ # The type of the API resource. For this resource, the value is
4600
+ # <code>youtubePartner#videoAdvertisingOptionGetEnabledAds</code>.
4081
4601
  # Corresponds to the JSON property `kind`
4082
4602
  # @return [String]
4083
4603
  attr_accessor :kind
@@ -4105,8 +4625,8 @@ module Google
4105
4625
  # @return [String]
4106
4626
  attr_accessor :id
4107
4627
 
4108
- # The type of the API resource. For whitelist resources, this value is
4109
- # youtubePartner#whitelist.
4628
+ # The type of the API resource. For <code>whitelist</code> resources, this
4629
+ # value is <code>youtubePartner#whitelist</code>.
4110
4630
  # Corresponds to the JSON property `kind`
4111
4631
  # @return [String]
4112
4632
  attr_accessor :kind
@@ -4132,24 +4652,25 @@ module Google
4132
4652
  class WhitelistListResponse
4133
4653
  include Google::Apis::Core::Hashable
4134
4654
 
4135
- # A list of whitelist resources that match the request criteria.
4655
+ # A list of <code>whitelist</code> resources that match the request criteria.
4136
4656
  # Corresponds to the JSON property `items`
4137
4657
  # @return [Array<Google::Apis::YoutubePartnerV1::Whitelist>]
4138
4658
  attr_accessor :items
4139
4659
 
4140
- # The type of the API response. For this operation, the value is youtubePartner#
4141
- # whitelistList.
4660
+ # The type of the API response. For this operation, the value is
4661
+ # <code>youtubePartner#whitelistList</code>.
4142
4662
  # Corresponds to the JSON property `kind`
4143
4663
  # @return [String]
4144
4664
  attr_accessor :kind
4145
4665
 
4146
- # The token that can be used as the value of the pageToken parameter to retrieve
4147
- # the next page of results.
4666
+ # The token that can be used as the value of the <code>pageToken</code>
4667
+ # parameter to retrieve the next page of results.
4148
4668
  # Corresponds to the JSON property `nextPageToken`
4149
4669
  # @return [String]
4150
4670
  attr_accessor :next_page_token
4151
4671
 
4152
- # The pageInfo object encapsulates paging information for the result set.
4672
+ # The <code>pageInfo</code> object encapsulates paging information for the
4673
+ # result set.
4153
4674
  # Corresponds to the JSON property `pageInfo`
4154
4675
  # @return [Google::Apis::YoutubePartnerV1::PageInfo]
4155
4676
  attr_accessor :page_info
@@ -4166,6 +4687,25 @@ module Google
4166
4687
  @page_info = args[:page_info] if args.key?(:page_info)
4167
4688
  end
4168
4689
  end
4690
+
4691
+ #
4692
+ class YoutubePartnerApiProtoFrontendV1Origin
4693
+ include Google::Apis::Core::Hashable
4694
+
4695
+ #
4696
+ # Corresponds to the JSON property `source`
4697
+ # @return [String]
4698
+ attr_accessor :source
4699
+
4700
+ def initialize(**args)
4701
+ update!(**args)
4702
+ end
4703
+
4704
+ # Update properties of this object
4705
+ def update!(**args)
4706
+ @source = args[:source] if args.key?(:source)
4707
+ end
4708
+ end
4169
4709
  end
4170
4710
  end
4171
4711
  end