• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 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.aiplatform.v1beta1;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21
22option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
23option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
24option java_multiple_files = true;
25option java_outer_classname = "ServiceNetworkingProto";
26option java_package = "com.google.cloud.aiplatform.v1beta1";
27option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
28option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
29
30// Represents configuration for private service connect.
31message PrivateServiceConnectConfig {
32  // Required. If true, expose the IndexEndpoint via private service connect.
33  bool enable_private_service_connect = 1
34      [(google.api.field_behavior) = REQUIRED];
35
36  // A list of Projects from which the forwarding rule will target the service
37  // attachment.
38  repeated string project_allowlist = 2;
39}
40
41// PscAutomatedEndpoints defines the output of the forwarding rule
42// automatically created by each PscAutomationConfig.
43message PscAutomatedEndpoints {
44  // Corresponding project_id in pscAutomationConfigs
45  string project_id = 1;
46
47  // Corresponding network in pscAutomationConfigs.
48  string network = 2;
49
50  // Ip Address created by the automated forwarding rule.
51  string match_address = 3;
52}
53