Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-youtube/v3/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-youtube</artifactId>
<version>v3-rev20260604-2.0.0</version>
<version>v3-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-youtube/v3/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-youtube</artifactId>
<version>v3-rev20260604-2.0.0</version>
<name>YouTube Data API v3 v3-rev20260604-2.0.0</name>
<version>v3-rev20260608-2.0.0</version>
<name>YouTube Data API v3 v3-rev20260608-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-youtube/v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-youtube</artifactId>
<version>v3-rev20260604-2.0.0</version>
<version>v3-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down