diff --git a/discovery/youtube-v3.json b/discovery/youtube-v3.json index ac111201fa..e416fd11df 100644 --- a/discovery/youtube-v3.json +++ b/discovery/youtube-v3.json @@ -1757,7 +1757,7 @@ }, "maxResults": { "default": "500", - "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.", + "description": "The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC.", "format": "uint32", "location": "query", "maximum": "2000", @@ -4072,7 +4072,7 @@ } } }, - "revision": "20240926", + "revision": "20241203", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -5551,6 +5551,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", @@ -5590,6 +5594,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", @@ -8057,7 +8084,7 @@ "type": "object" }, "InvideoBranding": { - "description": "LINT.IfChange Describes an invideo branding.", + "description": "Describes an invideo branding.", "id": "InvideoBranding", "properties": { "imageBytes": { @@ -8071,6 +8098,7 @@ }, "position": { "$ref": "InvideoPosition", + "deprecated": true, "description": "The spatial position within the video where the branding watermark will be displayed." }, "targetChannelId": { @@ -10014,7 +10042,7 @@ }, "kind": { "default": "youtube#playlistItemListResponse", - "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\". Etag of this resource.", + "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#playlistItemListResponse\".", "type": "string" }, "nextPageToken": { @@ -10762,6 +10790,10 @@ "TestItem": { "id": "TestItem", "properties": { + "etag": { + "description": "Etag for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag.", + "type": "string" + }, "featuredPart": { "type": "boolean" }, @@ -11639,7 +11671,7 @@ "type": "string" }, "scheduledEndTime": { - "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely.", + "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.", "format": "date-time", "type": "string" }, @@ -11952,6 +11984,10 @@ "description": "Basic details about a video category, such as its localized title. Next Id: 19", "id": "VideoStatus", "properties": { + "containsSyntheticMedia": { + "description": "Indicates if the video contains altered or synthetic media.", + "type": "boolean" + }, "embeddable": { "description": "This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update", "type": "boolean" diff --git a/src/apis/youtube/v3.ts b/src/apis/youtube/v3.ts index bbbc613a33..5b94774c0f 100644 --- a/src/apis/youtube/v3.ts +++ b/src/apis/youtube/v3.ts @@ -1146,6 +1146,10 @@ export namespace youtube_v3 { * Information specific to billing (read-only). */ billingDetails?: Schema$ChannelToStoreLinkDetailsBillingDetails; + /** + * Information specific to merchant affiliate program (read-only). + */ + merchantAffiliateProgramDetails?: Schema$ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails; /** * Google Merchant Center id of the store. */ @@ -1168,6 +1172,15 @@ export namespace youtube_v3 { */ billingStatus?: string | null; } + /** + * Information specific to merchant affiliate program. + */ + export interface Schema$ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails { + /** + * The current merchant affiliate program status. + */ + status?: string | null; + } /** * A *comment* represents a single YouTube comment. */ @@ -1965,7 +1978,7 @@ export namespace youtube_v3 { streamName?: string | null; } /** - * LINT.IfChange Describes an invideo branding. + * Describes an invideo branding. */ export interface Schema$InvideoBranding { /** @@ -3172,7 +3185,7 @@ export namespace youtube_v3 { */ items?: Schema$PlaylistItem[]; /** - * Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItemListResponse". Etag of this resource. + * Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItemListResponse". */ kind?: string | null; /** @@ -3721,6 +3734,10 @@ export namespace youtube_v3 { stickerId?: string | null; } export interface Schema$TestItem { + /** + * Etag for the resource. See https://en.wikipedia.org/wiki/HTTP_ETag. + */ + etag?: string | null; featuredPart?: boolean | null; gaia?: string | null; id?: string | null; @@ -4332,7 +4349,7 @@ export namespace youtube_v3 { */ concurrentViewers?: string | null; /** - * The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely. + * The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely. */ scheduledEndTime?: string | null; /** @@ -4555,6 +4572,10 @@ export namespace youtube_v3 { * Basic details about a video category, such as its localized title. Next Id: 19 */ export interface Schema$VideoStatus { + /** + * Indicates if the video contains altered or synthetic media. + */ + containsSyntheticMedia?: boolean | null; /** * This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update */ @@ -8788,7 +8809,7 @@ export namespace youtube_v3 { */ liveChatId?: string; /** - * The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. + * The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. Not used in the streaming RPC. */ maxResults?: number; /**