From 8af6f89b386dafae29a4769e9cc284cd97fd5c17 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 20 Nov 2024 01:09:40 -0800 Subject: [PATCH] feat: Generate Google.Apis.YouTube.v3 version 1.68.0.3608 --- DiscoveryJson/youtube.v3.json | 29 ++++++++++++++++++- .../Google.Apis.YouTube.v3.cs | 15 ++++++++++ .../Google.Apis.YouTube.v3.csproj | 2 +- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/youtube.v3.json b/DiscoveryJson/youtube.v3.json index e3c0596dc52..9e1ed86c5c6 100644 --- a/DiscoveryJson/youtube.v3.json +++ b/DiscoveryJson/youtube.v3.json @@ -4133,7 +4133,7 @@ } } }, - "revision": "20241105", + "revision": "20241117", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -5612,6 +5612,10 @@ "$ref": "ChannelToStoreLinkDetailsBillingDetails", "description": "Information specific to billing (read-only)." }, + "merchantAffiliateProgramDetails": { + "$ref": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails", + "description": "Information specific to merchant affiliate program (read-only)." + }, "merchantId": { "description": "Google Merchant Center id of the store.", "format": "uint64", @@ -5651,6 +5655,29 @@ }, "type": "object" }, + "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails": { + "description": "Information specific to merchant affiliate program.", + "id": "ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails", + "properties": { + "status": { + "description": "The current merchant affiliate program status.", + "enum": [ + "merchantAffiliateProgramStatusUnspecified", + "merchantAffiliateProgramStatusEligible", + "merchantAffiliateProgramStatusActive", + "merchantAffiliateProgramStatusPaused" + ], + "enumDescriptions": [ + "Unspecified status.", + "Merchant is eligible for the merchant affiliate program.", + "Merchant affiliate program is active.", + "Merchant affiliate program is paused." + ], + "type": "string" + } + }, + "type": "object" + }, "ChannelTopicDetails": { "description": "Freebase topic information related to the channel.", "id": "ChannelTopicDetails", diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs index 29c01f9276d..5eeb6a823f1 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs @@ -12314,6 +12314,10 @@ public class ChannelToStoreLinkDetails : Google.Apis.Requests.IDirectResponseSch [Newtonsoft.Json.JsonPropertyAttribute("billingDetails")] public virtual ChannelToStoreLinkDetailsBillingDetails BillingDetails { get; set; } + /// Information specific to merchant affiliate program (read-only). + [Newtonsoft.Json.JsonPropertyAttribute("merchantAffiliateProgramDetails")] + public virtual ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails MerchantAffiliateProgramDetails { get; set; } + /// Google Merchant Center id of the store. [Newtonsoft.Json.JsonPropertyAttribute("merchantId")] public virtual System.Nullable MerchantId { get; set; } @@ -12341,6 +12345,17 @@ public class ChannelToStoreLinkDetailsBillingDetails : Google.Apis.Requests.IDir public virtual string ETag { get; set; } } + /// Information specific to merchant affiliate program. + public class ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// The current merchant affiliate program status. + [Newtonsoft.Json.JsonPropertyAttribute("status")] + public virtual string Status { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Freebase topic information related to the channel. public class ChannelTopicDetails : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj index 14d4fdce4b9..0abe381ded1 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTube.v3 Client Library - 1.68.0.3596 + 1.68.0.3608 Google LLC Copyright 2024 Google LLC Google