Skip to content

Commit 7ccac8f

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.YouTube.v3 version 1.70.0.3847
1 parent fab955e commit 7ccac8f

File tree

3 files changed

+225
-4
lines changed

3 files changed

+225
-4
lines changed

DiscoveryJson/youtube.v3.json

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4101,12 +4101,78 @@
41014101
"$ref": "CommentThread"
41024102
}
41034103
}
4104+
},
4105+
"resources": {
4106+
"liveChat": {
4107+
"resources": {
4108+
"messages": {
4109+
"methods": {
4110+
"stream": {
4111+
"description": "Allows a user to load live chat through a server-streamed RPC.",
4112+
"flatPath": "youtube/v3/liveChat/messages/stream",
4113+
"httpMethod": "GET",
4114+
"id": "youtube.youtube.v3.liveChat.messages.stream",
4115+
"parameterOrder": [],
4116+
"parameters": {
4117+
"hl": {
4118+
"description": "Specifies the localization language in which the system messages should be returned.",
4119+
"location": "query",
4120+
"type": "string"
4121+
},
4122+
"liveChatId": {
4123+
"description": "The id of the live chat for which comments should be returned.",
4124+
"location": "query",
4125+
"type": "string"
4126+
},
4127+
"maxResults": {
4128+
"default": "500",
4129+
"description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.",
4130+
"format": "uint32",
4131+
"location": "query",
4132+
"maximum": "2000",
4133+
"minimum": "200",
4134+
"type": "integer"
4135+
},
4136+
"pageToken": {
4137+
"description": "The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved.",
4138+
"location": "query",
4139+
"type": "string"
4140+
},
4141+
"part": {
4142+
"description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails.",
4143+
"location": "query",
4144+
"repeated": true,
4145+
"type": "string"
4146+
},
4147+
"profileImageSize": {
4148+
"description": "Specifies the size of the profile image that should be returned for each user.",
4149+
"format": "uint32",
4150+
"location": "query",
4151+
"maximum": "720",
4152+
"minimum": "16",
4153+
"type": "integer"
4154+
}
4155+
},
4156+
"path": "youtube/v3/liveChat/messages/stream",
4157+
"response": {
4158+
"$ref": "LiveChatMessageListResponse"
4159+
},
4160+
"scopes": [
4161+
"https://www.googleapis.com/auth/youtube",
4162+
"https://www.googleapis.com/auth/youtube.force-ssl",
4163+
"https://www.googleapis.com/auth/youtube.readonly"
4164+
]
4165+
}
4166+
}
4167+
}
4168+
}
4169+
}
41044170
}
41054171
}
41064172
}
41074173
}
41084174
},
4109-
"revision": "20250422",
4175+
"revision": "20250714",
41104176
"rootUrl": "https://youtube.googleapis.com/",
41114177
"schemas": {
41124178
"AbuseReport": {

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

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10812,6 +10812,161 @@ public class V3Resource
1081210812
public V3Resource(Google.Apis.Services.IClientService service)
1081310813
{
1081410814
this.service = service;
10815+
LiveChat = new LiveChatResource(service);
10816+
}
10817+
10818+
/// <summary>Gets the LiveChat resource.</summary>
10819+
public virtual LiveChatResource LiveChat { get; }
10820+
10821+
/// <summary>The "liveChat" collection of methods.</summary>
10822+
public class LiveChatResource
10823+
{
10824+
private const string Resource = "liveChat";
10825+
10826+
/// <summary>The service which this resource belongs to.</summary>
10827+
private readonly Google.Apis.Services.IClientService service;
10828+
10829+
/// <summary>Constructs a new resource.</summary>
10830+
public LiveChatResource(Google.Apis.Services.IClientService service)
10831+
{
10832+
this.service = service;
10833+
Messages = new MessagesResource(service);
10834+
}
10835+
10836+
/// <summary>Gets the Messages resource.</summary>
10837+
public virtual MessagesResource Messages { get; }
10838+
10839+
/// <summary>The "messages" collection of methods.</summary>
10840+
public class MessagesResource
10841+
{
10842+
private const string Resource = "messages";
10843+
10844+
/// <summary>The service which this resource belongs to.</summary>
10845+
private readonly Google.Apis.Services.IClientService service;
10846+
10847+
/// <summary>Constructs a new resource.</summary>
10848+
public MessagesResource(Google.Apis.Services.IClientService service)
10849+
{
10850+
this.service = service;
10851+
}
10852+
10853+
/// <summary>Allows a user to load live chat through a server-streamed RPC.</summary>
10854+
public virtual StreamRequest Stream()
10855+
{
10856+
return new StreamRequest(this.service);
10857+
}
10858+
10859+
/// <summary>Allows a user to load live chat through a server-streamed RPC.</summary>
10860+
public class StreamRequest : YouTubeBaseServiceRequest<Google.Apis.YouTube.v3.Data.LiveChatMessageListResponse>
10861+
{
10862+
/// <summary>Constructs a new Stream request.</summary>
10863+
public StreamRequest(Google.Apis.Services.IClientService service) : base(service)
10864+
{
10865+
InitParameters();
10866+
}
10867+
10868+
/// <summary>
10869+
/// Specifies the localization language in which the system messages should be returned.
10870+
/// </summary>
10871+
[Google.Apis.Util.RequestParameterAttribute("hl", Google.Apis.Util.RequestParameterType.Query)]
10872+
public virtual string Hl { get; set; }
10873+
10874+
/// <summary>The id of the live chat for which comments should be returned.</summary>
10875+
[Google.Apis.Util.RequestParameterAttribute("liveChatId", Google.Apis.Util.RequestParameterType.Query)]
10876+
public virtual string LiveChatId { get; set; }
10877+
10878+
/// <summary>
10879+
/// The *maxResults* parameter specifies the maximum number of items that should be returned in
10880+
/// the result set. Not used in the streaming RPC.
10881+
/// </summary>
10882+
[Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)]
10883+
public virtual System.Nullable<long> MaxResults { get; set; }
10884+
10885+
/// <summary>
10886+
/// The *pageToken* parameter identifies a specific page in the result set that should be
10887+
/// returned. In an API response, the nextPageToken property identify other pages that could be
10888+
/// retrieved.
10889+
/// </summary>
10890+
[Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)]
10891+
public virtual string PageToken { get; set; }
10892+
10893+
/// <summary>
10894+
/// The *part* parameter specifies the liveChatComment resource parts that the API response will
10895+
/// include. Supported values are id, snippet, and authorDetails.
10896+
/// </summary>
10897+
[Google.Apis.Util.RequestParameterAttribute("part", Google.Apis.Util.RequestParameterType.Query)]
10898+
public virtual Google.Apis.Util.Repeatable<string> Part { get; set; }
10899+
10900+
/// <summary>
10901+
/// Specifies the size of the profile image that should be returned for each user.
10902+
/// </summary>
10903+
[Google.Apis.Util.RequestParameterAttribute("profileImageSize", Google.Apis.Util.RequestParameterType.Query)]
10904+
public virtual System.Nullable<long> ProfileImageSize { get; set; }
10905+
10906+
/// <summary>Gets the method name.</summary>
10907+
public override string MethodName => "stream";
10908+
10909+
/// <summary>Gets the HTTP method.</summary>
10910+
public override string HttpMethod => "GET";
10911+
10912+
/// <summary>Gets the REST path.</summary>
10913+
public override string RestPath => "youtube/v3/liveChat/messages/stream";
10914+
10915+
/// <summary>Initializes Stream parameter list.</summary>
10916+
protected override void InitParameters()
10917+
{
10918+
base.InitParameters();
10919+
RequestParameters.Add("hl", new Google.Apis.Discovery.Parameter
10920+
{
10921+
Name = "hl",
10922+
IsRequired = false,
10923+
ParameterType = "query",
10924+
DefaultValue = null,
10925+
Pattern = null,
10926+
});
10927+
RequestParameters.Add("liveChatId", new Google.Apis.Discovery.Parameter
10928+
{
10929+
Name = "liveChatId",
10930+
IsRequired = false,
10931+
ParameterType = "query",
10932+
DefaultValue = null,
10933+
Pattern = null,
10934+
});
10935+
RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter
10936+
{
10937+
Name = "maxResults",
10938+
IsRequired = false,
10939+
ParameterType = "query",
10940+
DefaultValue = "500",
10941+
Pattern = null,
10942+
});
10943+
RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter
10944+
{
10945+
Name = "pageToken",
10946+
IsRequired = false,
10947+
ParameterType = "query",
10948+
DefaultValue = null,
10949+
Pattern = null,
10950+
});
10951+
RequestParameters.Add("part", new Google.Apis.Discovery.Parameter
10952+
{
10953+
Name = "part",
10954+
IsRequired = false,
10955+
ParameterType = "query",
10956+
DefaultValue = null,
10957+
Pattern = null,
10958+
});
10959+
RequestParameters.Add("profileImageSize", new Google.Apis.Discovery.Parameter
10960+
{
10961+
Name = "profileImageSize",
10962+
IsRequired = false,
10963+
ParameterType = "query",
10964+
DefaultValue = null,
10965+
Pattern = null,
10966+
});
10967+
}
10968+
}
10969+
}
1081510970
}
1081610971

1081710972
/// <summary>Updates an existing resource.</summary>

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

Lines changed: 3 additions & 3 deletions
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.69.0.3764</Version>
6+
<Version>1.70.0.3847</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>
@@ -59,8 +59,8 @@
5959
<!-- common dependencies -->
6060
<ItemGroup>
6161
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
62-
<PackageReference Include="Google.Apis" Version="1.69.0" />
63-
<PackageReference Include="Google.Apis.Auth" Version="1.69.0" />
62+
<PackageReference Include="Google.Apis" Version="1.70.0" />
63+
<PackageReference Include="Google.Apis.Auth" Version="1.70.0" />
6464
</ItemGroup>
6565

6666
</Project>

0 commit comments

Comments
 (0)