Skip to content

Commit daf47e1

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.YouTube.v3 version 1.73.0.4003
1 parent 39766e8 commit daf47e1

File tree

3 files changed

+26
-38
lines changed

3 files changed

+26
-38
lines changed

DiscoveryJson/youtube.v3.json

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4176,6 +4176,12 @@
41764176
"id": "youtube.youtube.v3.videos.batchGetStats",
41774177
"parameterOrder": [],
41784178
"parameters": {
4179+
"id": {
4180+
"description": "Required. Return videos with the given ids.",
4181+
"location": "query",
4182+
"repeated": true,
4183+
"type": "string"
4184+
},
41794185
"onBehalfOfContentOwner": {
41804186
"description": "Optional. **Note:** This parameter is intended exclusively for YouTube content partners. The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.",
41814187
"location": "query",
@@ -4186,12 +4192,6 @@
41864192
"location": "query",
41874193
"repeated": true,
41884194
"type": "string"
4189-
},
4190-
"videoIds": {
4191-
"description": "Required. Return videos with the given ids.",
4192-
"location": "query",
4193-
"repeated": true,
4194-
"type": "string"
41954195
}
41964196
},
41974197
"path": "youtube/v3/videos:batchGetStats",
@@ -4206,7 +4206,7 @@
42064206
}
42074207
}
42084208
},
4209-
"revision": "20251125",
4209+
"revision": "20251217",
42104210
"rootUrl": "https://youtube.googleapis.com/",
42114211
"schemas": {
42124212
"AbuseReport": {
@@ -12142,13 +12142,13 @@
1214212142
"readOnly": true,
1214312143
"type": "string"
1214412144
},
12145-
"kind": {
12146-
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string \"youtube#videoStats\".",
12145+
"id": {
12146+
"description": "Output only. The ID that YouTube uses to uniquely identify the video.",
1214712147
"readOnly": true,
1214812148
"type": "string"
1214912149
},
12150-
"name": {
12151-
"description": "Output only. Identifier. The resource name for the `VideoStats` resource, in the format `videoStats/{video_stat}`.",
12150+
"kind": {
12151+
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string \"youtube#videoStats\".",
1215212152
"readOnly": true,
1215312153
"type": "string"
1215412154
},
@@ -12161,11 +12161,6 @@
1216112161
"$ref": "VideoStatsStatistics",
1216212162
"description": "Output only. The VideoStatsStatistics object contains statistics about the video.",
1216312163
"readOnly": true
12164-
},
12165-
"videoId": {
12166-
"description": "Output only. The ID that YouTube uses to uniquely identify the video.",
12167-
"readOnly": true,
12168-
"type": "string"
1216912164
}
1217012165
},
1217112166
"type": "object"

Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11002,6 +11002,10 @@ public BatchGetStatsRequest(Google.Apis.Services.IClientService service) : base(
1100211002
InitParameters();
1100311003
}
1100411004

11005+
/// <summary>Required. Return videos with the given ids.</summary>
11006+
[Google.Apis.Util.RequestParameterAttribute("id", Google.Apis.Util.RequestParameterType.Query)]
11007+
public virtual Google.Apis.Util.Repeatable<string> Id { get; set; }
11008+
1100511009
/// <summary>
1100611010
/// Optional. **Note:** This parameter is intended exclusively for YouTube content partners. The
1100711011
/// `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials
@@ -11026,10 +11030,6 @@ public BatchGetStatsRequest(Google.Apis.Services.IClientService service) : base(
1102611030
[Google.Apis.Util.RequestParameterAttribute("part", Google.Apis.Util.RequestParameterType.Query)]
1102711031
public virtual Google.Apis.Util.Repeatable<string> Part { get; set; }
1102811032

11029-
/// <summary>Required. Return videos with the given ids.</summary>
11030-
[Google.Apis.Util.RequestParameterAttribute("videoIds", Google.Apis.Util.RequestParameterType.Query)]
11031-
public virtual Google.Apis.Util.Repeatable<string> VideoIds { get; set; }
11032-
1103311033
/// <summary>Gets the method name.</summary>
1103411034
public override string MethodName => "batchGetStats";
1103511035

@@ -11043,25 +11043,25 @@ public BatchGetStatsRequest(Google.Apis.Services.IClientService service) : base(
1104311043
protected override void InitParameters()
1104411044
{
1104511045
base.InitParameters();
11046-
RequestParameters.Add("onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter
11046+
RequestParameters.Add("id", new Google.Apis.Discovery.Parameter
1104711047
{
11048-
Name = "onBehalfOfContentOwner",
11048+
Name = "id",
1104911049
IsRequired = false,
1105011050
ParameterType = "query",
1105111051
DefaultValue = null,
1105211052
Pattern = null,
1105311053
});
11054-
RequestParameters.Add("part", new Google.Apis.Discovery.Parameter
11054+
RequestParameters.Add("onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter
1105511055
{
11056-
Name = "part",
11056+
Name = "onBehalfOfContentOwner",
1105711057
IsRequired = false,
1105811058
ParameterType = "query",
1105911059
DefaultValue = null,
1106011060
Pattern = null,
1106111061
});
11062-
RequestParameters.Add("videoIds", new Google.Apis.Discovery.Parameter
11062+
RequestParameters.Add("part", new Google.Apis.Discovery.Parameter
1106311063
{
11064-
Name = "videoIds",
11064+
Name = "part",
1106511065
IsRequired = false,
1106611066
ParameterType = "query",
1106711067
DefaultValue = null,
@@ -17645,19 +17645,16 @@ public class VideoStat : Google.Apis.Requests.IDirectResponseSchema
1764517645
[Newtonsoft.Json.JsonPropertyAttribute("etag")]
1764617646
public virtual string ETag { get; set; }
1764717647

17648+
/// <summary>Output only. The ID that YouTube uses to uniquely identify the video.</summary>
17649+
[Newtonsoft.Json.JsonPropertyAttribute("id")]
17650+
public virtual string Id { get; set; }
17651+
1764817652
/// <summary>
1764917653
/// Output only. Identifies what kind of resource this is. Value: the fixed string "youtube#videoStats".
1765017654
/// </summary>
1765117655
[Newtonsoft.Json.JsonPropertyAttribute("kind")]
1765217656
public virtual string Kind { get; set; }
1765317657

17654-
/// <summary>
17655-
/// Output only. Identifier. The resource name for the `VideoStats` resource, in the format
17656-
/// `videoStats/{video_stat}`.
17657-
/// </summary>
17658-
[Newtonsoft.Json.JsonPropertyAttribute("name")]
17659-
public virtual string Name { get; set; }
17660-
1766117658
/// <summary>
1766217659
/// Output only. The VideoStatsSnippet object contains basic details about the video, such publish time.
1766317660
/// </summary>
@@ -17667,10 +17664,6 @@ public class VideoStat : Google.Apis.Requests.IDirectResponseSchema
1766717664
/// <summary>Output only. The VideoStatsStatistics object contains statistics about the video.</summary>
1766817665
[Newtonsoft.Json.JsonPropertyAttribute("statistics")]
1766917666
public virtual VideoStatsStatistics Statistics { get; set; }
17670-
17671-
/// <summary>Output only. The ID that YouTube uses to uniquely identify the video.</summary>
17672-
[Newtonsoft.Json.JsonPropertyAttribute("videoId")]
17673-
public virtual string VideoId { get; set; }
1767417667
}
1767517668

1767617669
/// <summary>Statistics about the video, such as the number of times the video was viewed or liked.</summary>

Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.YouTube.v3 Client Library</Title>
6-
<Version>1.73.0.3981</Version>
6+
<Version>1.73.0.4003</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>

0 commit comments

Comments
 (0)