The typical use is:
- *
- * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
- * {@code DiscoveryEngine.ToolCalls.List request = discoveryengine.toolCalls().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ToolCalls toolCalls() {
- return new ToolCalls();
- }
-
- /**
- * The "toolCalls" collection of methods.
- */
- public class ToolCalls {
-
- /**
- * An accessor for creating requests from the Operations collection.
- *
- * The typical use is:
- *
- * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
- * {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Operations operations() {
- return new Operations();
- }
-
- /**
- * The "operations" collection of methods.
- */
- public class Operations {
-
- /**
- * Gets the latest state of a long-running operation. Clients can use this method to poll the
- * operation result at intervals as recommended by the API service.
- *
- * Create a request for the method "operations.get".
- *
- * This request holds the parameters needed by the discoveryengine server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name The name of the operation resource.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends DiscoveryEngineRequest- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param name The name of the operation resource. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1alpha.model.GoogleLongrunningOperation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } - - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } - - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } - - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } - - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } - - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } - - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } - - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } - - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } - - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } - - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } - - /** The name of the operation resource. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - - } - } } /** * An accessor for creating requests from the CannedQueries collection. @@ -32402,210 +32219,6 @@ public Patch set(String parameterName, Object value) { } } - /** - * An accessor for creating requests from the CollaborativeProjects collection. - * - *The typical use is:
- *
- * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
- * {@code DiscoveryEngine.CollaborativeProjects.List request = discoveryengine.collaborativeProjects().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public CollaborativeProjects collaborativeProjects() {
- return new CollaborativeProjects();
- }
-
- /**
- * The "collaborativeProjects" collection of methods.
- */
- public class CollaborativeProjects {
-
- /**
- * An accessor for creating requests from the KnowledgeSpaces collection.
- *
- * The typical use is:
- *
- * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
- * {@code DiscoveryEngine.KnowledgeSpaces.List request = discoveryengine.knowledgeSpaces().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public KnowledgeSpaces knowledgeSpaces() {
- return new KnowledgeSpaces();
- }
-
- /**
- * The "knowledgeSpaces" collection of methods.
- */
- public class KnowledgeSpaces {
-
- /**
- * An accessor for creating requests from the Operations collection.
- *
- * The typical use is:
- *
- * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
- * {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Operations operations() {
- return new Operations();
- }
-
- /**
- * The "operations" collection of methods.
- */
- public class Operations {
-
- /**
- * Gets the latest state of a long-running operation. Clients can use this method to poll the
- * operation result at intervals as recommended by the API service.
- *
- * Create a request for the method "operations.get".
- *
- * This request holds the parameters needed by the discoveryengine server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name The name of the operation resource.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends DiscoveryEngineRequest- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param name The name of the operation resource. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1alpha.model.GoogleLongrunningOperation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } - - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } - - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } - - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } - - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } - - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } - - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } - - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } - - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } - - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } - - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } - - /** The name of the operation resource. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - - } - } - } /** * An accessor for creating requests from the CompletionConfig collection. * @@ -60279,6 +59892,189 @@ public List set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the KnowledgeSpaces collection. + * + *The typical use is:
+ *
+ * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
+ * {@code DiscoveryEngine.KnowledgeSpaces.List request = discoveryengine.knowledgeSpaces().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public KnowledgeSpaces knowledgeSpaces() {
+ return new KnowledgeSpaces();
+ }
+
+ /**
+ * The "knowledgeSpaces" collection of methods.
+ */
+ public class KnowledgeSpaces {
+
+ /**
+ * An accessor for creating requests from the Operations collection.
+ *
+ * The typical use is:
+ *
+ * {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
+ * {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Operations operations() {
+ return new Operations();
+ }
+
+ /**
+ * The "operations" collection of methods.
+ */
+ public class Operations {
+
+ /**
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the
+ * operation result at intervals as recommended by the API service.
+ *
+ * Create a request for the method "operations.get".
+ *
+ * This request holds the parameters needed by the discoveryengine server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name The name of the operation resource.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends DiscoveryEngineRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name The name of the operation resource. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1alpha.model.GoogleLongrunningOperation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** The name of the operation resource. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** The name of the operation resource. + */ + public java.lang.String getName() { + return name; + } + + /** The name of the operation resource. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/knowledgeSpaces/[^/]+/operations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + + } + } /** * An accessor for creating requests from the LicenseConfigs collection. * diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java index 8f5eaf7aee9..bce68ec6f24 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig extends com.google.api.client.json.GenericJson { + /** + * Optional. Restricts this data store to the given notebooks. When empty, the data store covers + * every notebook the querying user can access, which is the existing behaviour. Each entry is a + * full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on + * results as well as requested upstream, so a notebook outside this list cannot appear in a + * search response through this data store even if the backend returns one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. 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 GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String instanceResource; + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * @return value or {@code null} for none + */ + public java.lang.String getInstanceResource() { + return instanceResource; + } + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * @param instanceResource instanceResource or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig setInstanceResource(java.lang.String instanceResource) { + this.instanceResource = instanceResource; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig clone() { + return (GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java index 46e2a8a18e2..fbc597c8759 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig extends com.google.api.client.json.GenericJson { + /** + * Optional. Restricts this data store to the given notebooks. When empty, the data store covers + * every notebook the querying user can access, which is the existing behaviour. Each entry is a + * full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on + * results as well as requested upstream, so a notebook outside this list cannot appear in a + * search response through this data store even if the backend returns one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List