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-rev20260709-2.0.0</version>
<version>v3-rev20260805-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-rev20260709-2.0.0'
implementation 'com.google.apis:google-api-services-youtube:v3-rev20260805-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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;

/**
* Common proto for Live and VOD geo-restrictions
*
* <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 AvailabilityConfig extends com.google.api.client.json.GenericJson {

/**
* Video is available in all regions except the ones specified in the config.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AvailabilityConfigGlobalConfig globalConfig;

/**
* Video is available in the specified regions only.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AvailabilityConfigRegionsConfig regionsConfig;

/**
* Video is available in all regions except the ones specified in the config.
* @return value or {@code null} for none
*/
public AvailabilityConfigGlobalConfig getGlobalConfig() {
return globalConfig;
}

/**
* Video is available in all regions except the ones specified in the config.
* @param globalConfig globalConfig or {@code null} for none
*/
public AvailabilityConfig setGlobalConfig(AvailabilityConfigGlobalConfig globalConfig) {
this.globalConfig = globalConfig;
return this;
}

/**
* Video is available in the specified regions only.
* @return value or {@code null} for none
*/
public AvailabilityConfigRegionsConfig getRegionsConfig() {
return regionsConfig;
}

/**
* Video is available in the specified regions only.
* @param regionsConfig regionsConfig or {@code null} for none
*/
public AvailabilityConfig setRegionsConfig(AvailabilityConfigRegionsConfig regionsConfig) {
this.regionsConfig = regionsConfig;
return this;
}

@Override
public AvailabilityConfig set(String fieldName, Object value) {
return (AvailabilityConfig) super.set(fieldName, value);
}

@Override
public AvailabilityConfig clone() {
return (AvailabilityConfig) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* 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;

/**
* Video is available in all regions except the ones specified in the excluded_region_codes list.
*
* <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 AvailabilityConfigGlobalConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Regions where video is blocked
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> excludedRegionCodes;

/**
* Default time window where video is available for all non-blocked regions Not supported for
* upcoming / active live broadcasts. If start time is unspecified, video is already available If
* end time is unspecified, video is available forever Specified start and end times cannot be
* more than five years in the future.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Interval interval;

/**
* Optional. Regions where video is blocked
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getExcludedRegionCodes() {
return excludedRegionCodes;
}

/**
* Optional. Regions where video is blocked
* @param excludedRegionCodes excludedRegionCodes or {@code null} for none
*/
public AvailabilityConfigGlobalConfig setExcludedRegionCodes(java.util.List<java.lang.String> excludedRegionCodes) {
this.excludedRegionCodes = excludedRegionCodes;
return this;
}

/**
* Default time window where video is available for all non-blocked regions Not supported for
* upcoming / active live broadcasts. If start time is unspecified, video is already available If
* end time is unspecified, video is available forever Specified start and end times cannot be
* more than five years in the future.
* @return value or {@code null} for none
*/
public Interval getInterval() {
return interval;
}

/**
* Default time window where video is available for all non-blocked regions Not supported for
* upcoming / active live broadcasts. If start time is unspecified, video is already available If
* end time is unspecified, video is available forever Specified start and end times cannot be
* more than five years in the future.
* @param interval interval or {@code null} for none
*/
public AvailabilityConfigGlobalConfig setInterval(Interval interval) {
this.interval = interval;
return this;
}

@Override
public AvailabilityConfigGlobalConfig set(String fieldName, Object value) {
return (AvailabilityConfigGlobalConfig) super.set(fieldName, value);
}

@Override
public AvailabilityConfigGlobalConfig clone() {
return (AvailabilityConfigGlobalConfig) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* 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;

/**
* Video is available in the specified regions only.
*
* <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 AvailabilityConfigRegionsConfig extends com.google.api.client.json.GenericJson {

/**
* Required. List of regions and time windows where video is available. If a region is specified
* multiple times, the union of all intervals is used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<AvailabilityConfigRegionsConfigRegionInterval> regionIntervals;

/**
* Required. List of regions and time windows where video is available. If a region is specified
* multiple times, the union of all intervals is used.
* @return value or {@code null} for none
*/
public java.util.List<AvailabilityConfigRegionsConfigRegionInterval> getRegionIntervals() {
return regionIntervals;
}

/**
* Required. List of regions and time windows where video is available. If a region is specified
* multiple times, the union of all intervals is used.
* @param regionIntervals regionIntervals or {@code null} for none
*/
public AvailabilityConfigRegionsConfig setRegionIntervals(java.util.List<AvailabilityConfigRegionsConfigRegionInterval> regionIntervals) {
this.regionIntervals = regionIntervals;
return this;
}

@Override
public AvailabilityConfigRegionsConfig set(String fieldName, Object value) {
return (AvailabilityConfigRegionsConfig) super.set(fieldName, value);
}

@Override
public AvailabilityConfigRegionsConfig clone() {
return (AvailabilityConfigRegionsConfig) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* 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;

/**
* Region and time window where video is available for the region.
*
* <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 AvailabilityConfigRegionsConfigRegionInterval extends com.google.api.client.json.GenericJson {

/**
* Time window where video is available for the region. Not supported for upcoming / active live
* broadcasts. If start time is unspecified, video is already available If end time is
* unspecified, video is available forever Specified start and end times cannot be more than five
* years in the future.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Interval interval;

/**
* Required. Region where video is available
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String regionCode;

/**
* Time window where video is available for the region. Not supported for upcoming / active live
* broadcasts. If start time is unspecified, video is already available If end time is
* unspecified, video is available forever Specified start and end times cannot be more than five
* years in the future.
* @return value or {@code null} for none
*/
public Interval getInterval() {
return interval;
}

/**
* Time window where video is available for the region. Not supported for upcoming / active live
* broadcasts. If start time is unspecified, video is already available If end time is
* unspecified, video is available forever Specified start and end times cannot be more than five
* years in the future.
* @param interval interval or {@code null} for none
*/
public AvailabilityConfigRegionsConfigRegionInterval setInterval(Interval interval) {
this.interval = interval;
return this;
}

/**
* Required. Region where video is available
* @return value or {@code null} for none
*/
public java.lang.String getRegionCode() {
return regionCode;
}

/**
* Required. Region where video is available
* @param regionCode regionCode or {@code null} for none
*/
public AvailabilityConfigRegionsConfigRegionInterval setRegionCode(java.lang.String regionCode) {
this.regionCode = regionCode;
return this;
}

@Override
public AvailabilityConfigRegionsConfigRegionInterval set(String fieldName, Object value) {
return (AvailabilityConfigRegionsConfigRegionInterval) super.set(fieldName, value);
}

@Override
public AvailabilityConfigRegionsConfigRegionInterval clone() {
return (AvailabilityConfigRegionsConfigRegionInterval) super.clone();
}

}
Loading
Loading