Skip to content

Commit 34665bf

Browse files
1 parent a5225dd commit 34665bf

File tree

212 files changed

+33585
-1410
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+33585
-1410
lines changed

clients/google-api-services-discoveryengine/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-discoveryengine</artifactId>
25-
<version>v1-rev20240704-2.0.0</version>
25+
<version>v1-rev20240715-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240704-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20240715-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java

Lines changed: 371 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28710,6 +28710,377 @@ public Check set(String parameterName, Object value) {
2871028710
}
2871128711

2871228712
}
28713+
/**
28714+
* An accessor for creating requests from the IdentityMappingStores collection.
28715+
*
28716+
* <p>The typical use is:</p>
28717+
* <pre>
28718+
* {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
28719+
* {@code DiscoveryEngine.IdentityMappingStores.List request = discoveryengine.identityMappingStores().list(parameters ...)}
28720+
* </pre>
28721+
*
28722+
* @return the resource collection
28723+
*/
28724+
public IdentityMappingStores identityMappingStores() {
28725+
return new IdentityMappingStores();
28726+
}
28727+
28728+
/**
28729+
* The "identity_mapping_stores" collection of methods.
28730+
*/
28731+
public class IdentityMappingStores {
28732+
28733+
/**
28734+
* An accessor for creating requests from the Operations collection.
28735+
*
28736+
* <p>The typical use is:</p>
28737+
* <pre>
28738+
* {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
28739+
* {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
28740+
* </pre>
28741+
*
28742+
* @return the resource collection
28743+
*/
28744+
public Operations operations() {
28745+
return new Operations();
28746+
}
28747+
28748+
/**
28749+
* The "operations" collection of methods.
28750+
*/
28751+
public class Operations {
28752+
28753+
/**
28754+
* Gets the latest state of a long-running operation. Clients can use this method to poll the
28755+
* operation result at intervals as recommended by the API service.
28756+
*
28757+
* Create a request for the method "operations.get".
28758+
*
28759+
* This request holds the parameters needed by the discoveryengine server. After setting any
28760+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
28761+
*
28762+
* @param name The name of the operation resource.
28763+
* @return the request
28764+
*/
28765+
public Get get(java.lang.String name) throws java.io.IOException {
28766+
Get result = new Get(name);
28767+
initialize(result);
28768+
return result;
28769+
}
28770+
28771+
public class Get extends DiscoveryEngineRequest<com.google.api.services.discoveryengine.v1.model.GoogleLongrunningOperation> {
28772+
28773+
private static final String REST_PATH = "v1/{+name}";
28774+
28775+
private final java.util.regex.Pattern NAME_PATTERN =
28776+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
28777+
28778+
/**
28779+
* Gets the latest state of a long-running operation. Clients can use this method to poll the
28780+
* operation result at intervals as recommended by the API service.
28781+
*
28782+
* Create a request for the method "operations.get".
28783+
*
28784+
* This request holds the parameters needed by the the discoveryengine server. After setting any
28785+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
28786+
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
28787+
* must be called to initialize this instance immediately after invoking the constructor. </p>
28788+
*
28789+
* @param name The name of the operation resource.
28790+
* @since 1.13
28791+
*/
28792+
protected Get(java.lang.String name) {
28793+
super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1.model.GoogleLongrunningOperation.class);
28794+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
28795+
if (!getSuppressPatternChecks()) {
28796+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
28797+
"Parameter name must conform to the pattern " +
28798+
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
28799+
}
28800+
}
28801+
28802+
@Override
28803+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
28804+
return super.executeUsingHead();
28805+
}
28806+
28807+
@Override
28808+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
28809+
return super.buildHttpRequestUsingHead();
28810+
}
28811+
28812+
@Override
28813+
public Get set$Xgafv(java.lang.String $Xgafv) {
28814+
return (Get) super.set$Xgafv($Xgafv);
28815+
}
28816+
28817+
@Override
28818+
public Get setAccessToken(java.lang.String accessToken) {
28819+
return (Get) super.setAccessToken(accessToken);
28820+
}
28821+
28822+
@Override
28823+
public Get setAlt(java.lang.String alt) {
28824+
return (Get) super.setAlt(alt);
28825+
}
28826+
28827+
@Override
28828+
public Get setCallback(java.lang.String callback) {
28829+
return (Get) super.setCallback(callback);
28830+
}
28831+
28832+
@Override
28833+
public Get setFields(java.lang.String fields) {
28834+
return (Get) super.setFields(fields);
28835+
}
28836+
28837+
@Override
28838+
public Get setKey(java.lang.String key) {
28839+
return (Get) super.setKey(key);
28840+
}
28841+
28842+
@Override
28843+
public Get setOauthToken(java.lang.String oauthToken) {
28844+
return (Get) super.setOauthToken(oauthToken);
28845+
}
28846+
28847+
@Override
28848+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
28849+
return (Get) super.setPrettyPrint(prettyPrint);
28850+
}
28851+
28852+
@Override
28853+
public Get setQuotaUser(java.lang.String quotaUser) {
28854+
return (Get) super.setQuotaUser(quotaUser);
28855+
}
28856+
28857+
@Override
28858+
public Get setUploadType(java.lang.String uploadType) {
28859+
return (Get) super.setUploadType(uploadType);
28860+
}
28861+
28862+
@Override
28863+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
28864+
return (Get) super.setUploadProtocol(uploadProtocol);
28865+
}
28866+
28867+
/** The name of the operation resource. */
28868+
@com.google.api.client.util.Key
28869+
private java.lang.String name;
28870+
28871+
/** The name of the operation resource.
28872+
*/
28873+
public java.lang.String getName() {
28874+
return name;
28875+
}
28876+
28877+
/** The name of the operation resource. */
28878+
public Get setName(java.lang.String name) {
28879+
if (!getSuppressPatternChecks()) {
28880+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
28881+
"Parameter name must conform to the pattern " +
28882+
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$");
28883+
}
28884+
this.name = name;
28885+
return this;
28886+
}
28887+
28888+
@Override
28889+
public Get set(String parameterName, Object value) {
28890+
return (Get) super.set(parameterName, value);
28891+
}
28892+
}
28893+
/**
28894+
* Lists operations that match the specified filter in the request. If the server doesn't support
28895+
* this method, it returns `UNIMPLEMENTED`.
28896+
*
28897+
* Create a request for the method "operations.list".
28898+
*
28899+
* This request holds the parameters needed by the discoveryengine server. After setting any
28900+
* optional parameters, call the {@link List#execute()} method to invoke the remote operation.
28901+
*
28902+
* @param name The name of the operation's parent resource.
28903+
* @return the request
28904+
*/
28905+
public List list(java.lang.String name) throws java.io.IOException {
28906+
List result = new List(name);
28907+
initialize(result);
28908+
return result;
28909+
}
28910+
28911+
public class List extends DiscoveryEngineRequest<com.google.api.services.discoveryengine.v1.model.GoogleLongrunningListOperationsResponse> {
28912+
28913+
private static final String REST_PATH = "v1/{+name}/operations";
28914+
28915+
private final java.util.regex.Pattern NAME_PATTERN =
28916+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
28917+
28918+
/**
28919+
* Lists operations that match the specified filter in the request. If the server doesn't support
28920+
* this method, it returns `UNIMPLEMENTED`.
28921+
*
28922+
* Create a request for the method "operations.list".
28923+
*
28924+
* This request holds the parameters needed by the the discoveryengine server. After setting any
28925+
* optional parameters, call the {@link List#execute()} method to invoke the remote operation. <p>
28926+
* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
28927+
* must be called to initialize this instance immediately after invoking the constructor. </p>
28928+
*
28929+
* @param name The name of the operation's parent resource.
28930+
* @since 1.13
28931+
*/
28932+
protected List(java.lang.String name) {
28933+
super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1.model.GoogleLongrunningListOperationsResponse.class);
28934+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
28935+
if (!getSuppressPatternChecks()) {
28936+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
28937+
"Parameter name must conform to the pattern " +
28938+
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
28939+
}
28940+
}
28941+
28942+
@Override
28943+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
28944+
return super.executeUsingHead();
28945+
}
28946+
28947+
@Override
28948+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
28949+
return super.buildHttpRequestUsingHead();
28950+
}
28951+
28952+
@Override
28953+
public List set$Xgafv(java.lang.String $Xgafv) {
28954+
return (List) super.set$Xgafv($Xgafv);
28955+
}
28956+
28957+
@Override
28958+
public List setAccessToken(java.lang.String accessToken) {
28959+
return (List) super.setAccessToken(accessToken);
28960+
}
28961+
28962+
@Override
28963+
public List setAlt(java.lang.String alt) {
28964+
return (List) super.setAlt(alt);
28965+
}
28966+
28967+
@Override
28968+
public List setCallback(java.lang.String callback) {
28969+
return (List) super.setCallback(callback);
28970+
}
28971+
28972+
@Override
28973+
public List setFields(java.lang.String fields) {
28974+
return (List) super.setFields(fields);
28975+
}
28976+
28977+
@Override
28978+
public List setKey(java.lang.String key) {
28979+
return (List) super.setKey(key);
28980+
}
28981+
28982+
@Override
28983+
public List setOauthToken(java.lang.String oauthToken) {
28984+
return (List) super.setOauthToken(oauthToken);
28985+
}
28986+
28987+
@Override
28988+
public List setPrettyPrint(java.lang.Boolean prettyPrint) {
28989+
return (List) super.setPrettyPrint(prettyPrint);
28990+
}
28991+
28992+
@Override
28993+
public List setQuotaUser(java.lang.String quotaUser) {
28994+
return (List) super.setQuotaUser(quotaUser);
28995+
}
28996+
28997+
@Override
28998+
public List setUploadType(java.lang.String uploadType) {
28999+
return (List) super.setUploadType(uploadType);
29000+
}
29001+
29002+
@Override
29003+
public List setUploadProtocol(java.lang.String uploadProtocol) {
29004+
return (List) super.setUploadProtocol(uploadProtocol);
29005+
}
29006+
29007+
/** The name of the operation's parent resource. */
29008+
@com.google.api.client.util.Key
29009+
private java.lang.String name;
29010+
29011+
/** The name of the operation's parent resource.
29012+
*/
29013+
public java.lang.String getName() {
29014+
return name;
29015+
}
29016+
29017+
/** The name of the operation's parent resource. */
29018+
public List setName(java.lang.String name) {
29019+
if (!getSuppressPatternChecks()) {
29020+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
29021+
"Parameter name must conform to the pattern " +
29022+
"^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$");
29023+
}
29024+
this.name = name;
29025+
return this;
29026+
}
29027+
29028+
/** The standard list filter. */
29029+
@com.google.api.client.util.Key
29030+
private java.lang.String filter;
29031+
29032+
/** The standard list filter.
29033+
*/
29034+
public java.lang.String getFilter() {
29035+
return filter;
29036+
}
29037+
29038+
/** The standard list filter. */
29039+
public List setFilter(java.lang.String filter) {
29040+
this.filter = filter;
29041+
return this;
29042+
}
29043+
29044+
/** The standard list page size. */
29045+
@com.google.api.client.util.Key
29046+
private java.lang.Integer pageSize;
29047+
29048+
/** The standard list page size.
29049+
*/
29050+
public java.lang.Integer getPageSize() {
29051+
return pageSize;
29052+
}
29053+
29054+
/** The standard list page size. */
29055+
public List setPageSize(java.lang.Integer pageSize) {
29056+
this.pageSize = pageSize;
29057+
return this;
29058+
}
29059+
29060+
/** The standard list page token. */
29061+
@com.google.api.client.util.Key
29062+
private java.lang.String pageToken;
29063+
29064+
/** The standard list page token.
29065+
*/
29066+
public java.lang.String getPageToken() {
29067+
return pageToken;
29068+
}
29069+
29070+
/** The standard list page token. */
29071+
public List setPageToken(java.lang.String pageToken) {
29072+
this.pageToken = pageToken;
29073+
return this;
29074+
}
29075+
29076+
@Override
29077+
public List set(String parameterName, Object value) {
29078+
return (List) super.set(parameterName, value);
29079+
}
29080+
}
29081+
29082+
}
29083+
}
2871329084
/**
2871429085
* An accessor for creating requests from the Operations collection.
2871529086
*

0 commit comments

Comments
 (0)