xref: /aosp_15_r20/external/googleapis/google/cloud/discoveryengine/v1alpha/acl_config.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.discoveryengine.v1alpha;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21import "google/cloud/discoveryengine/v1alpha/common.proto";
22
23option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Alpha";
24option go_package = "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb";
25option java_multiple_files = true;
26option java_outer_classname = "AclConfigProto";
27option java_package = "com.google.cloud.discoveryengine.v1alpha";
28option objc_class_prefix = "DISCOVERYENGINE";
29option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1alpha";
30option ruby_package = "Google::Cloud::DiscoveryEngine::V1alpha";
31
32// Access Control Configuration.
33message AclConfig {
34  option (google.api.resource) = {
35    type: "discoveryengine.googleapis.com/AclConfig"
36    pattern: "projects/{project}/locations/{location}/aclConfig"
37  };
38
39  // Immutable. The full resource name of the acl configuration.
40  // Format:
41  // `projects/{project}/locations/{location}/aclConfig`.
42  //
43  // This field must be a UTF-8 encoded string with a length limit of 1024
44  // characters.
45  string name = 1 [(google.api.field_behavior) = IMMUTABLE];
46
47  // Identity provider config.
48  IdpConfig idp_config = 2;
49}
50