Skip to content

Commit 09ba8d8

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

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/service_networking.proto

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

0 commit comments

Comments
 (0)