From eabbd9da957e85f080f45828e0d5f40847c67229 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Tue, 9 Jun 2026 19:12:40 -0700
Subject: [PATCH] chore: regenerate youtube client
---
.../v3/2.0.0/README.md | 4 +-
.../ChannelToAffiliateProgramLinkDetails.java | 138 ++++++++++++++++++
.../youtube/model/ThirdPartyLinkSnippet.java | 24 +++
.../v3/2.0.0/pom.xml | 4 +-
.../google-api-services-youtube/v3/README.md | 4 +-
5 files changed, 168 insertions(+), 6 deletions(-)
create mode 100644 clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ChannelToAffiliateProgramLinkDetails.java
diff --git a/clients/google-api-services-youtube/v3/2.0.0/README.md b/clients/google-api-services-youtube/v3/2.0.0/README.md
index 5f26180587c..3b57b0899a8 100644
--- a/clients/google-api-services-youtube/v3/2.0.0/README.md
+++ b/clients/google-api-services-youtube/v3/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ChannelToAffiliateProgramLinkDetails extends com.google.api.client.json.GenericJson { + + /** + * Required. Google Merchant Center ID of the partner. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.math.BigInteger merchantId; + + /** + * Required. Affiliate program status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String programStatus; + + /** + * Optional. Reason for the last update of the affiliate program status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String statusUpdateReason; + + /** + * Optional. Timestamp when the affiliate program status was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String statusUpdateTime; + + /** + * Required. Google Merchant Center ID of the partner. + * @return value or {@code null} for none + */ + public java.math.BigInteger getMerchantId() { + return merchantId; + } + + /** + * Required. Google Merchant Center ID of the partner. + * @param merchantId merchantId or {@code null} for none + */ + public ChannelToAffiliateProgramLinkDetails setMerchantId(java.math.BigInteger merchantId) { + this.merchantId = merchantId; + return this; + } + + /** + * Required. Affiliate program status. + * @return value or {@code null} for none + */ + public java.lang.String getProgramStatus() { + return programStatus; + } + + /** + * Required. Affiliate program status. + * @param programStatus programStatus or {@code null} for none + */ + public ChannelToAffiliateProgramLinkDetails setProgramStatus(java.lang.String programStatus) { + this.programStatus = programStatus; + return this; + } + + /** + * Optional. Reason for the last update of the affiliate program status. + * @return value or {@code null} for none + */ + public java.lang.String getStatusUpdateReason() { + return statusUpdateReason; + } + + /** + * Optional. Reason for the last update of the affiliate program status. + * @param statusUpdateReason statusUpdateReason or {@code null} for none + */ + public ChannelToAffiliateProgramLinkDetails setStatusUpdateReason(java.lang.String statusUpdateReason) { + this.statusUpdateReason = statusUpdateReason; + return this; + } + + /** + * Optional. Timestamp when the affiliate program status was last updated. + * @return value or {@code null} for none + */ + public String getStatusUpdateTime() { + return statusUpdateTime; + } + + /** + * Optional. Timestamp when the affiliate program status was last updated. + * @param statusUpdateTime statusUpdateTime or {@code null} for none + */ + public ChannelToAffiliateProgramLinkDetails setStatusUpdateTime(String statusUpdateTime) { + this.statusUpdateTime = statusUpdateTime; + return this; + } + + @Override + public ChannelToAffiliateProgramLinkDetails set(String fieldName, Object value) { + return (ChannelToAffiliateProgramLinkDetails) super.set(fieldName, value); + } + + @Override + public ChannelToAffiliateProgramLinkDetails clone() { + return (ChannelToAffiliateProgramLinkDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ThirdPartyLinkSnippet.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ThirdPartyLinkSnippet.java index d92fd83e5c3..8e4f61f690c 100644 --- a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ThirdPartyLinkSnippet.java +++ b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ThirdPartyLinkSnippet.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class ThirdPartyLinkSnippet extends com.google.api.client.json.GenericJson { + /** + * Information specific to a link between a channel and an affiliate program of a partner. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ChannelToAffiliateProgramLinkDetails channelToAffiliateProgramLink; + /** * Information specific to a link between a channel and a store on a merchandising platform. * The value may be {@code null}. @@ -44,6 +51,23 @@ public final class ThirdPartyLinkSnippet extends com.google.api.client.json.Gene @com.google.api.client.util.Key private java.lang.String type; + /** + * Information specific to a link between a channel and an affiliate program of a partner. + * @return value or {@code null} for none + */ + public ChannelToAffiliateProgramLinkDetails getChannelToAffiliateProgramLink() { + return channelToAffiliateProgramLink; + } + + /** + * Information specific to a link between a channel and an affiliate program of a partner. + * @param channelToAffiliateProgramLink channelToAffiliateProgramLink or {@code null} for none + */ + public ThirdPartyLinkSnippet setChannelToAffiliateProgramLink(ChannelToAffiliateProgramLinkDetails channelToAffiliateProgramLink) { + this.channelToAffiliateProgramLink = channelToAffiliateProgramLink; + return this; + } + /** * Information specific to a link between a channel and a store on a merchandising platform. * @return value or {@code null} for none diff --git a/clients/google-api-services-youtube/v3/2.0.0/pom.xml b/clients/google-api-services-youtube/v3/2.0.0/pom.xml index 3a6c56b982f..4ffe059aa34 100644 --- a/clients/google-api-services-youtube/v3/2.0.0/pom.xml +++ b/clients/google-api-services-youtube/v3/2.0.0/pom.xml @@ -8,8 +8,8 @@