Skip to content

Commit 7bdfcb7

Browse files
Google APIscopybara-github
authored andcommitted
feat: add DnsPeeringConfig in service_networking.proto
feat: add dns_peering_configs to PscInterfaceConfig PiperOrigin-RevId: 772146251
1 parent 09ba8d8 commit 7bdfcb7

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/service_networking.proto

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,32 @@ message PscInterfaceConfig {
9090
type: "compute.googleapis.com/NetworkAttachment"
9191
}
9292
];
93+
94+
// Optional. DNS peering configurations. When specified, Vertex AI will
95+
// attempt to configure DNS peering zones in the tenant project VPC
96+
// to resolve the specified domains using the target network's Cloud DNS.
97+
// The user must grant the dns.peer role to the Vertex AI Service Agent
98+
// on the target project.
99+
repeated DnsPeeringConfig dns_peering_configs = 2
100+
[(google.api.field_behavior) = OPTIONAL];
101+
}
102+
103+
// DNS peering configuration. These configurations are used to create
104+
// DNS peering zones in the Vertex tenant project VPC, enabling resolution
105+
// of records within the specified domain hosted in the target network's
106+
// Cloud DNS.
107+
message DnsPeeringConfig {
108+
// Required. The DNS name suffix of the zone being peered to, e.g.,
109+
// "my-internal-domain.corp.". Must end with a dot.
110+
string domain = 1 [(google.api.field_behavior) = REQUIRED];
111+
112+
// Required. The project ID hosting the Cloud DNS managed zone that
113+
// contains the 'domain'. The Vertex AI Service Agent requires the
114+
// dns.peer role on this project.
115+
string target_project = 2 [(google.api.field_behavior) = REQUIRED];
116+
117+
// Required. The VPC network name
118+
// in the target_project where the DNS zone specified by 'domain' is
119+
// visible.
120+
string target_network = 3 [(google.api.field_behavior) = REQUIRED];
93121
}

0 commit comments

Comments
 (0)