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: com.google.apis google-api-services-youtube - v3-rev20260604-2.0.0 + v3-rev20260608-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-youtube:v3-rev20260604-2.0.0' + implementation 'com.google.apis:google-api-services-youtube:v3-rev20260608-2.0.0' } ``` diff --git a/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ChannelToAffiliateProgramLinkDetails.java b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ChannelToAffiliateProgramLinkDetails.java new file mode 100644 index 00000000000..2baca1feb6f --- /dev/null +++ b/clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/ChannelToAffiliateProgramLinkDetails.java @@ -0,0 +1,138 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.youtube.model; + +/** + * Information specific to a creator in an affiliate program linked to a YouTube channel. + * + *

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 @@ com.google.apis google-api-services-youtube - v3-rev20260604-2.0.0 - YouTube Data API v3 v3-rev20260604-2.0.0 + v3-rev20260608-2.0.0 + YouTube Data API v3 v3-rev20260608-2.0.0 jar 2011 diff --git a/clients/google-api-services-youtube/v3/README.md b/clients/google-api-services-youtube/v3/README.md index 5f26180587c..3b57b0899a8 100644 --- a/clients/google-api-services-youtube/v3/README.md +++ b/clients/google-api-services-youtube/v3/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-youtube - v3-rev20260604-2.0.0 + v3-rev20260608-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-youtube:v3-rev20260604-2.0.0' + implementation 'com.google.apis:google-api-services-youtube:v3-rev20260608-2.0.0' } ```