-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support acl-based and blended search
feat: support chunk-based document search feat: support search adaptor based search feat: support batch documents purge with GCS input feat: add document processing config services feat: add serving config services feat: add billing estimation services feat: add suggestion deny list import/purge services docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 614160461
- Loading branch information
Google APIs
authored and
Copybara-Service
committed
Mar 9, 2024
1 parent
6500290
commit b553626
Showing
29 changed files
with
1,749 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// 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. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.discoveryengine.v1alpha; | ||
|
||
import "google/api/field_behavior.proto"; | ||
import "google/api/resource.proto"; | ||
import "google/cloud/discoveryengine/v1alpha/common.proto"; | ||
|
||
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Alpha"; | ||
option go_package = "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AclConfigProto"; | ||
option java_package = "com.google.cloud.discoveryengine.v1alpha"; | ||
option objc_class_prefix = "DISCOVERYENGINE"; | ||
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1alpha"; | ||
option ruby_package = "Google::Cloud::DiscoveryEngine::V1alpha"; | ||
|
||
// Access Control Configuration. | ||
message AclConfig { | ||
option (google.api.resource) = { | ||
type: "discoveryengine.googleapis.com/AclConfig" | ||
pattern: "projects/{project}/locations/{location}/aclConfig" | ||
}; | ||
|
||
// Immutable. The full resource name of the acl configuration. | ||
// Format: | ||
// `projects/{project}/locations/{location}/aclConfig`. | ||
// | ||
// This field must be a UTF-8 encoded string with a length limit of 1024 | ||
// characters. | ||
string name = 1 [(google.api.field_behavior) = IMMUTABLE]; | ||
|
||
// Identity provider config. | ||
IdpConfig idp_config = 2; | ||
} |
79 changes: 79 additions & 0 deletions
79
google/cloud/discoveryengine/v1alpha/acl_config_service.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// 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. | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.discoveryengine.v1alpha; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/api/client.proto"; | ||
import "google/api/field_behavior.proto"; | ||
import "google/api/resource.proto"; | ||
import "google/cloud/discoveryengine/v1alpha/acl_config.proto"; | ||
|
||
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Alpha"; | ||
option go_package = "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb"; | ||
option java_multiple_files = true; | ||
option java_outer_classname = "AclConfigServiceProto"; | ||
option java_package = "com.google.cloud.discoveryengine.v1alpha"; | ||
option objc_class_prefix = "DISCOVERYENGINE"; | ||
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1alpha"; | ||
option ruby_package = "Google::Cloud::DiscoveryEngine::V1alpha"; | ||
|
||
// Service for managing Acl Configuration. | ||
service AclConfigService { | ||
option (google.api.default_host) = "discoveryengine.googleapis.com"; | ||
option (google.api.oauth_scopes) = | ||
"https://www.googleapis.com/auth/cloud-platform"; | ||
|
||
// Default Acl Configuration for use in a location of a customer's project. | ||
// Updates will only reflect to new data stores. Existing data stores will | ||
// still use the old value. | ||
rpc UpdateAclConfig(UpdateAclConfigRequest) returns (AclConfig) { | ||
option (google.api.http) = { | ||
patch: "/v1alpha/{acl_config.name=projects/*/locations/*/aclConfig}" | ||
body: "acl_config" | ||
}; | ||
} | ||
|
||
// Gets the [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig]. | ||
rpc GetAclConfig(GetAclConfigRequest) returns (AclConfig) { | ||
option (google.api.http) = { | ||
get: "/v1alpha/{name=projects/*/locations/*/aclConfig}" | ||
}; | ||
option (google.api.method_signature) = "name"; | ||
} | ||
} | ||
|
||
// Request message for GetAclConfigRequest method. | ||
message GetAclConfigRequest { | ||
// Required. Resource name of | ||
// [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig], such as | ||
// `projects/*/locations/*/aclConfig`. | ||
// | ||
// If the caller does not have permission to access the | ||
// [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig], regardless of | ||
// whether or not it exists, a PERMISSION_DENIED error is returned. | ||
string name = 1 [ | ||
(google.api.field_behavior) = REQUIRED, | ||
(google.api.resource_reference) = { | ||
type: "discoveryengine.googleapis.com/AclConfig" | ||
} | ||
]; | ||
} | ||
|
||
// Request message for UpdateAclConfig method. | ||
message UpdateAclConfigRequest { | ||
AclConfig acl_config = 1 [(google.api.field_behavior) = REQUIRED]; | ||
} |
Oops, something went wrong.