Skip to content

Commit 4e79c86

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.YouTube.v3 version 1.73.0.4134
1 parent bdda947 commit 4e79c86

4 files changed

Lines changed: 748 additions & 2 deletions

File tree

DiscoveryJson/youtube.v3.json

Lines changed: 227 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2114,6 +2114,66 @@
21142114
}
21152115
}
21162116
},
2117+
"media": {
2118+
"methods": {
2119+
"upload": {
2120+
"description": "Inserts a new AudioTrack for a video.",
2121+
"flatPath": "youtube/v3/audiotracks",
2122+
"httpMethod": "POST",
2123+
"id": "youtube.media.upload",
2124+
"mediaUpload": {
2125+
"accept": [
2126+
"audio/*",
2127+
"application/octet-stream",
2128+
"*/*"
2129+
],
2130+
"protocols": {
2131+
"resumable": {
2132+
"multipart": true,
2133+
"path": "/resumable/upload/youtube/v3/audiotracks"
2134+
},
2135+
"simple": {
2136+
"multipart": true,
2137+
"path": "/upload/youtube/v3/audiotracks"
2138+
}
2139+
}
2140+
},
2141+
"parameterOrder": [],
2142+
"parameters": {
2143+
"language": {
2144+
"description": "Required. The BCP-47 language code of the AudioTrack (e.g., \"es-ES\").",
2145+
"location": "query",
2146+
"type": "string"
2147+
},
2148+
"part": {
2149+
"description": "Optional. The `part` parameter specifies the `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.",
2150+
"location": "query",
2151+
"repeated": true,
2152+
"type": "string"
2153+
},
2154+
"videoId": {
2155+
"description": "Required. The external YouTube video ID.",
2156+
"location": "query",
2157+
"type": "string"
2158+
}
2159+
},
2160+
"path": "youtube/v3/audiotracks",
2161+
"request": {
2162+
"$ref": "AudioTrack"
2163+
},
2164+
"response": {
2165+
"$ref": "AudioTrack"
2166+
},
2167+
"scopes": [
2168+
"https://www.googleapis.com/auth/youtube",
2169+
"https://www.googleapis.com/auth/youtube.force-ssl",
2170+
"https://www.googleapis.com/auth/youtube.upload",
2171+
"https://www.googleapis.com/auth/youtubepartner"
2172+
],
2173+
"supportsMediaUpload": true
2174+
}
2175+
}
2176+
},
21172177
"members": {
21182178
"methods": {
21192179
"list": {
@@ -4083,6 +4143,37 @@
40834143
"resources": {
40844144
"v3": {
40854145
"methods": {
4146+
"deleteAudiotracks": {
4147+
"description": "Deletes one or more AudioTracks from a video.",
4148+
"flatPath": "youtube/v3/audiotracks",
4149+
"httpMethod": "DELETE",
4150+
"id": "youtube.youtube.v3.deleteAudiotracks",
4151+
"parameterOrder": [],
4152+
"parameters": {
4153+
"audioTrackId": {
4154+
"description": "Required. The audio track ID of the AudioTrack to be deleted (e.g., \"v1234567890\").",
4155+
"location": "query",
4156+
"type": "string"
4157+
},
4158+
"part": {
4159+
"description": "Optional. The `part` parameter specifies the `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.",
4160+
"location": "query",
4161+
"repeated": true,
4162+
"type": "string"
4163+
},
4164+
"videoId": {
4165+
"description": "Required. The external YouTube video ID.",
4166+
"location": "query",
4167+
"type": "string"
4168+
}
4169+
},
4170+
"path": "youtube/v3/audiotracks",
4171+
"scopes": [
4172+
"https://www.googleapis.com/auth/youtube",
4173+
"https://www.googleapis.com/auth/youtube.force-ssl",
4174+
"https://www.googleapis.com/auth/youtubepartner"
4175+
]
4176+
},
40864177
"updateCommentThreads": {
40874178
"description": "Updates an existing resource.",
40884179
"flatPath": "youtube/v3/commentThreads",
@@ -4107,6 +4198,46 @@
41074198
}
41084199
},
41094200
"resources": {
4201+
"audiotracks": {
4202+
"methods": {
4203+
"list": {
4204+
"description": "Retrieves a list of AudioTracks for a video.",
4205+
"flatPath": "youtube/v3/audiotracks",
4206+
"httpMethod": "GET",
4207+
"id": "youtube.youtube.v3.audiotracks.list",
4208+
"parameterOrder": [],
4209+
"parameters": {
4210+
"language": {
4211+
"description": "Required. Filter by specific BCP-47 language codes.",
4212+
"location": "query",
4213+
"repeated": true,
4214+
"type": "string"
4215+
},
4216+
"part": {
4217+
"description": "Optional. The `part` parameter specifies a comma-separated list of one or more `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.",
4218+
"location": "query",
4219+
"repeated": true,
4220+
"type": "string"
4221+
},
4222+
"videoId": {
4223+
"description": "Required. The external YouTube video ID.",
4224+
"location": "query",
4225+
"type": "string"
4226+
}
4227+
},
4228+
"path": "youtube/v3/audiotracks",
4229+
"response": {
4230+
"$ref": "ListAudioTracksResponse"
4231+
},
4232+
"scopes": [
4233+
"https://www.googleapis.com/auth/youtube",
4234+
"https://www.googleapis.com/auth/youtube.force-ssl",
4235+
"https://www.googleapis.com/auth/youtube.readonly",
4236+
"https://www.googleapis.com/auth/youtubepartner"
4237+
]
4238+
}
4239+
}
4240+
},
41104241
"liveChat": {
41114242
"resources": {
41124243
"messages": {
@@ -4176,7 +4307,7 @@
41764307
}
41774308
}
41784309
},
4179-
"revision": "20260412",
4310+
"revision": "20260427",
41804311
"rootUrl": "https://youtube.googleapis.com/",
41814312
"schemas": {
41824313
"AbuseReport": {
@@ -4651,6 +4782,76 @@
46514782
},
46524783
"type": "object"
46534784
},
4785+
"AudioTrack": {
4786+
"description": "Represents an AudioTrack for a YouTube video.",
4787+
"id": "AudioTrack",
4788+
"properties": {
4789+
"etag": {
4790+
"description": "Etag of this resource.",
4791+
"type": "string"
4792+
},
4793+
"id": {
4794+
"description": "The ID that YouTube uses to uniquely identify the AudioTrack. This could be a generated AudioTrack ID.",
4795+
"type": "string"
4796+
},
4797+
"kind": {
4798+
"description": "Identifies what kind of resource this is. Value: the fixed string youtube#audiotrack.",
4799+
"type": "string"
4800+
},
4801+
"snippet": {
4802+
"$ref": "AudioTrackSnippet",
4803+
"description": "The `snippet` object contains basic details about the AudioTrack."
4804+
}
4805+
},
4806+
"type": "object"
4807+
},
4808+
"AudioTrackSnippet": {
4809+
"description": "Basic details about an AudioTrack, such as its video, language, and status.",
4810+
"id": "AudioTrackSnippet",
4811+
"properties": {
4812+
"contentType": {
4813+
"description": "The content type of the audio (e.g., \"dubbed\", \"descriptive\").",
4814+
"type": "string"
4815+
},
4816+
"failureReason": {
4817+
"description": "If the status is \"FAILED\", this provides a reason for the failure.",
4818+
"type": "string"
4819+
},
4820+
"language": {
4821+
"description": "The BCP-47 language code of this AudioTrack.",
4822+
"type": "string"
4823+
},
4824+
"status": {
4825+
"description": "The current status of this AudioTrack.",
4826+
"enum": [
4827+
"audioTrackStatusUnspecified",
4828+
"processing",
4829+
"succeeded",
4830+
"failed",
4831+
"rejected"
4832+
],
4833+
"enumDescriptions": [
4834+
"",
4835+
"",
4836+
"",
4837+
"",
4838+
""
4839+
],
4840+
"type": "string"
4841+
},
4842+
"updateTime": {
4843+
"description": "Output only. Timestamp of the last update.",
4844+
"format": "google-datetime",
4845+
"readOnly": true,
4846+
"type": "string"
4847+
},
4848+
"videoId": {
4849+
"description": "The external YouTube video ID this AudioTrack belongs to.",
4850+
"type": "string"
4851+
}
4852+
},
4853+
"type": "object"
4854+
},
46544855
"Caption": {
46554856
"description": "A *caption* resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.",
46564857
"id": "Caption",
@@ -8324,6 +8525,31 @@
83248525
},
83258526
"type": "object"
83268527
},
8528+
"ListAudioTracksResponse": {
8529+
"description": "Response for listing AudioTracks.",
8530+
"id": "ListAudioTracksResponse",
8531+
"properties": {
8532+
"audioTracks": {
8533+
"description": "Output only. A list of AudioTracks that match the request criteria.",
8534+
"items": {
8535+
"$ref": "AudioTrack"
8536+
},
8537+
"readOnly": true,
8538+
"type": "array"
8539+
},
8540+
"etag": {
8541+
"description": "Output only. Etag of this response.",
8542+
"readOnly": true,
8543+
"type": "string"
8544+
},
8545+
"kind": {
8546+
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string youtube#audiotrackList.",
8547+
"readOnly": true,
8548+
"type": "string"
8549+
}
8550+
},
8551+
"type": "object"
8552+
},
83278553
"LiveBroadcast": {
83288554
"description": "A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.",
83298555
"id": "LiveBroadcast",

EnumStorage/youtube.v3.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@
8080
"statusUnspecified",
8181
"closed"
8282
],
83+
"Google.Apis.YouTube.v3.MediaResource+UploadMediaUpload.AltEnum": [
84+
"json",
85+
"media",
86+
"proto"
87+
],
88+
"Google.Apis.YouTube.v3.MediaResource+UploadMediaUpload.XgafvEnum": [
89+
"1",
90+
"2"
91+
],
8392
"Google.Apis.YouTube.v3.MembersResource+ListRequest.ModeEnum": [
8493
"listMembersModeUnknown",
8594
"updates",

0 commit comments

Comments
 (0)