Skip to content

Commit

Permalink
chore: regenerate contentwarehouse client (#17993)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 6, 2023
1 parent 1677aa6 commit e128617
Show file tree
Hide file tree
Showing 58 changed files with 1,914 additions and 354 deletions.
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-contentwarehouse</artifactId>
<version>v1-rev20230814-2.0.0</version>
<version>v1-rev20230901-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20230814-2.0.0'
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20230901-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -673,16 +673,18 @@ public final class AppsPeopleOzExternalMergedpeopleapiPerson extends com.google.
private java.util.List<AppsPeopleOzExternalMergedpeopleapiPosixAccount> posixAccount;

/**
* DEPRECATED. (go/people-api-concepts#repeated): Use person.profile_url_repeated instead. Access
* to this field is restricted to a set of legacy clients. This is a Google+-only field. See
* go/fbs-g+-deprecation. NOTE: `Person.profile_url` is only populated for profile-centric person.
* DEPRECATED. No data is returned for this field anymore. (go/people-api-concepts#repeated): Use
* person.profile_url_repeated instead. Access to this field is restricted to a set of legacy
* clients. This is a Google+-only field. See go/fbs-g+-deprecation. NOTE: `Person.profile_url` is
* only populated for profile-centric person.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String profileUrl;

/**
* This is a Google+-only field. See go/fbs-g+-deprecation.
* DEPRECATED. No data is returned for this field anymore. This is a Google+-only field. See
* go/fbs-g+-deprecation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -1760,19 +1762,21 @@ public AppsPeopleOzExternalMergedpeopleapiPerson setPosixAccount(java.util.List<
}

/**
* DEPRECATED. (go/people-api-concepts#repeated): Use person.profile_url_repeated instead. Access
* to this field is restricted to a set of legacy clients. This is a Google+-only field. See
* go/fbs-g+-deprecation. NOTE: `Person.profile_url` is only populated for profile-centric person.
* DEPRECATED. No data is returned for this field anymore. (go/people-api-concepts#repeated): Use
* person.profile_url_repeated instead. Access to this field is restricted to a set of legacy
* clients. This is a Google+-only field. See go/fbs-g+-deprecation. NOTE: `Person.profile_url` is
* only populated for profile-centric person.
* @return value or {@code null} for none
*/
public java.lang.String getProfileUrl() {
return profileUrl;
}

/**
* DEPRECATED. (go/people-api-concepts#repeated): Use person.profile_url_repeated instead. Access
* to this field is restricted to a set of legacy clients. This is a Google+-only field. See
* go/fbs-g+-deprecation. NOTE: `Person.profile_url` is only populated for profile-centric person.
* DEPRECATED. No data is returned for this field anymore. (go/people-api-concepts#repeated): Use
* person.profile_url_repeated instead. Access to this field is restricted to a set of legacy
* clients. This is a Google+-only field. See go/fbs-g+-deprecation. NOTE: `Person.profile_url` is
* only populated for profile-centric person.
* @param profileUrl profileUrl or {@code null} for none
*/
public AppsPeopleOzExternalMergedpeopleapiPerson setProfileUrl(java.lang.String profileUrl) {
Expand All @@ -1781,15 +1785,17 @@ public AppsPeopleOzExternalMergedpeopleapiPerson setProfileUrl(java.lang.String
}

/**
* This is a Google+-only field. See go/fbs-g+-deprecation.
* DEPRECATED. No data is returned for this field anymore. This is a Google+-only field. See
* go/fbs-g+-deprecation.
* @return value or {@code null} for none
*/
public java.util.List<AppsPeopleOzExternalMergedpeopleapiProfileUrl> getProfileUrlRepeated() {
return profileUrlRepeated;
}

/**
* This is a Google+-only field. See go/fbs-g+-deprecation.
* DEPRECATED. No data is returned for this field anymore. This is a Google+-only field. See
* go/fbs-g+-deprecation.
* @param profileUrlRepeated profileUrlRepeated or {@code null} for none
*/
public AppsPeopleOzExternalMergedpeopleapiPerson setProfileUrlRepeated(java.util.List<AppsPeopleOzExternalMergedpeopleapiProfileUrl> profileUrlRepeated) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,6 @@ public final class AssistantApiSoftwareCapabilities extends com.google.api.clien
@com.google.api.client.util.Key
private AssistantApiGcmCapabilities gcmCapabilities;

/**
* Google Home app features.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AssistantApiCapabilitiesHomeAppCapabilities homeAppCapabilities;

/**
* Capabilities related to live TV channels.
* The value may be {@code null}.
Expand Down Expand Up @@ -374,23 +367,6 @@ public AssistantApiSoftwareCapabilities setGcmCapabilities(AssistantApiGcmCapabi
return this;
}

/**
* Google Home app features.
* @return value or {@code null} for none
*/
public AssistantApiCapabilitiesHomeAppCapabilities getHomeAppCapabilities() {
return homeAppCapabilities;
}

/**
* Google Home app features.
* @param homeAppCapabilities homeAppCapabilities or {@code null} for none
*/
public AssistantApiSoftwareCapabilities setHomeAppCapabilities(AssistantApiCapabilitiesHomeAppCapabilities homeAppCapabilities) {
this.homeAppCapabilities = homeAppCapabilities;
return this;
}

/**
* Capabilities related to live TV channels.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/**
* The states of the device. They are dynamic and may change based on the current context. Next ID:
* 5
* 6
*
* <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 Document AI Warehouse API. For a detailed explanation
Expand All @@ -32,9 +32,7 @@
public final class AssistantGroundingRankerDeviceTargetingFeaturesStates extends com.google.api.client.json.GenericJson {

/**
* The distance of the device relative to others that hear the user's OKG. Timestamp of when the
* device was last used. Should correspond to when the AssistantRequestParams (in
* ASSISTANT_SNAPSHOT corpus) were last written for this device.
* The distance of the device relative to others that hear the user's OKG.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -47,6 +45,19 @@ public final class AssistantGroundingRankerDeviceTargetingFeaturesStates extends
@com.google.api.client.util.Key
private java.lang.Boolean isDocked;

/**
* Whether the device is a local device, i.e. the device that heard OKG from a user and is
* processed by an assistant pipeline. If multiple devices heard OKG (MDA case), each hearing
* device would be considered a local device in its own assistant pipeline. Example: A user says
* "OKG, play music on TV" to Google Home, and music is played on the TV. Google home is
* considered a local device, while TV is considered a remote device. Timestamp of when the device
* was last used. Should correspond to when the AssistantRequestParams (in ASSISTANT_SNAPSHOT
* corpus) were last written for this device.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isLocal;

/**
* Indicate whether the device is locked.
* The value may be {@code null}.
Expand All @@ -62,19 +73,15 @@ public final class AssistantGroundingRankerDeviceTargetingFeaturesStates extends
private java.lang.Boolean isTethered;

/**
* The distance of the device relative to others that hear the user's OKG. Timestamp of when the
* device was last used. Should correspond to when the AssistantRequestParams (in
* ASSISTANT_SNAPSHOT corpus) were last written for this device.
* The distance of the device relative to others that hear the user's OKG.
* @return value or {@code null} for none
*/
public java.lang.String getDistance() {
return distance;
}

/**
* The distance of the device relative to others that hear the user's OKG. Timestamp of when the
* device was last used. Should correspond to when the AssistantRequestParams (in
* ASSISTANT_SNAPSHOT corpus) were last written for this device.
* The distance of the device relative to others that hear the user's OKG.
* @param distance distance or {@code null} for none
*/
public AssistantGroundingRankerDeviceTargetingFeaturesStates setDistance(java.lang.String distance) {
Expand All @@ -99,6 +106,35 @@ public AssistantGroundingRankerDeviceTargetingFeaturesStates setIsDocked(java.la
return this;
}

/**
* Whether the device is a local device, i.e. the device that heard OKG from a user and is
* processed by an assistant pipeline. If multiple devices heard OKG (MDA case), each hearing
* device would be considered a local device in its own assistant pipeline. Example: A user says
* "OKG, play music on TV" to Google Home, and music is played on the TV. Google home is
* considered a local device, while TV is considered a remote device. Timestamp of when the device
* was last used. Should correspond to when the AssistantRequestParams (in ASSISTANT_SNAPSHOT
* corpus) were last written for this device.
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsLocal() {
return isLocal;
}

/**
* Whether the device is a local device, i.e. the device that heard OKG from a user and is
* processed by an assistant pipeline. If multiple devices heard OKG (MDA case), each hearing
* device would be considered a local device in its own assistant pipeline. Example: A user says
* "OKG, play music on TV" to Google Home, and music is played on the TV. Google home is
* considered a local device, while TV is considered a remote device. Timestamp of when the device
* was last used. Should correspond to when the AssistantRequestParams (in ASSISTANT_SNAPSHOT
* corpus) were last written for this device.
* @param isLocal isLocal or {@code null} for none
*/
public AssistantGroundingRankerDeviceTargetingFeaturesStates setIsLocal(java.lang.Boolean isLocal) {
this.isLocal = isLocal;
return this;
}

/**
* Indicate whether the device is locked.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.contentwarehouse.v1.model;

/**
* Features to be passed from Media GP to HGR. Next ID: 17
* Features to be passed from Media GP to HGR. Next ID: 18
*
* <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 Document AI Warehouse API. For a detailed explanation
Expand Down Expand Up @@ -51,6 +51,13 @@ public final class AssistantGroundingRankerMediaGroundingProviderFeatures extend
@com.google.api.client.util.Key
private java.lang.String entityMid;

/**
* True if the candidate has a CAST_VIDEO deeplink regardless of which provider was chosen.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean hasCastVideoDeeplink;

/**
* True if the argument's type was explicitly mentioned in the query.
* The value may be {@code null}.
Expand Down Expand Up @@ -204,6 +211,23 @@ public AssistantGroundingRankerMediaGroundingProviderFeatures setEntityMid(java.
return this;
}

/**
* True if the candidate has a CAST_VIDEO deeplink regardless of which provider was chosen.
* @return value or {@code null} for none
*/
public java.lang.Boolean getHasCastVideoDeeplink() {
return hasCastVideoDeeplink;
}

/**
* True if the candidate has a CAST_VIDEO deeplink regardless of which provider was chosen.
* @param hasCastVideoDeeplink hasCastVideoDeeplink or {@code null} for none
*/
public AssistantGroundingRankerMediaGroundingProviderFeatures setHasCastVideoDeeplink(java.lang.Boolean hasCastVideoDeeplink) {
this.hasCastVideoDeeplink = hasCastVideoDeeplink;
return this;
}

/**
* True if the argument's type was explicitly mentioned in the query.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.contentwarehouse.v1.model;

/**
* Features to be extracted from Podcast GP for ranking in HGR. Next ID: 6
* Features to be extracted from Podcast GP for ranking in HGR. Next ID: 7
*
* <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 Document AI Warehouse API. For a detailed explanation
Expand Down Expand Up @@ -65,6 +65,15 @@ public final class AssistantGroundingRankerPodcastGroundingProviderFeatures exte
@com.google.api.client.util.Key
private java.lang.Double scubedTstarScore;

/**
* This score is in the range [0.0, 1.0] and is used for cross-backend (e.g., YT vs another
* Music/Podcast service provider) ranking and scoring. 0.0 means no confidence and 1.0 means full
* confidence.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double youtubeConfidenceScore;

/**
* Whether the podcast is exclusive to a provider a not.
* @return value or {@code null} for none
Expand Down Expand Up @@ -150,6 +159,27 @@ public AssistantGroundingRankerPodcastGroundingProviderFeatures setScubedTstarSc
return this;
}

/**
* This score is in the range [0.0, 1.0] and is used for cross-backend (e.g., YT vs another
* Music/Podcast service provider) ranking and scoring. 0.0 means no confidence and 1.0 means full
* confidence.
* @return value or {@code null} for none
*/
public java.lang.Double getYoutubeConfidenceScore() {
return youtubeConfidenceScore;
}

/**
* This score is in the range [0.0, 1.0] and is used for cross-backend (e.g., YT vs another
* Music/Podcast service provider) ranking and scoring. 0.0 means no confidence and 1.0 means full
* confidence.
* @param youtubeConfidenceScore youtubeConfidenceScore or {@code null} for none
*/
public AssistantGroundingRankerPodcastGroundingProviderFeatures setYoutubeConfidenceScore(java.lang.Double youtubeConfidenceScore) {
this.youtubeConfidenceScore = youtubeConfidenceScore;
return this;
}

@Override
public AssistantGroundingRankerPodcastGroundingProviderFeatures set(String fieldName, Object value) {
return (AssistantGroundingRankerPodcastGroundingProviderFeatures) super.set(fieldName, value);
Expand Down
Loading

0 comments on commit e128617

Please sign in to comment.