Skip to content

Commit 9b6656e

Browse files
Google APIscopybara-github
authored andcommitted
feat: added EndpointLocation (v1, v1beta, v1alpha)
PiperOrigin-RevId: 568664317
1 parent f95afc0 commit 9b6656e

6 files changed

Lines changed: 39 additions & 3 deletions

File tree

google/cloud/metastore/v1/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ load(
345345

346346
csharp_proto_library(
347347
name = "metastore_csharp_proto",
348-
extra_opts = [],
349348
deps = [":metastore_proto"],
350349
)
351350

google/cloud/metastore/v1/metastore.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,12 @@ message AuxiliaryVersionConfig {
567567
}
568568

569569
// Network configuration for the Dataproc Metastore service.
570+
//
571+
// Next available ID: 4
570572
message NetworkConfig {
571573
// Contains information of the customer's network configurations.
574+
//
575+
// Next available ID: 5
572576
message Consumer {
573577
oneof vpc_resource {
574578
// Immutable. The subnetwork of the customer project from which an IP
@@ -590,6 +594,15 @@ message NetworkConfig {
590594
// Output only. The URI of the endpoint used to access the metastore
591595
// service.
592596
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
597+
598+
// Output only. The location of the endpoint URI. Format:
599+
// `projects/{project}/locations/{location}`.
600+
string endpoint_location = 4 [
601+
(google.api.field_behavior) = OUTPUT_ONLY,
602+
(google.api.resource_reference) = {
603+
type: "locations.googleapis.com/Location"
604+
}
605+
];
593606
}
594607

595608
// Immutable. The consumer-side network configuration for the Dataproc

google/cloud/metastore/v1alpha/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ load(
337337

338338
csharp_proto_library(
339339
name = "metastore_csharp_proto",
340-
extra_opts = [],
341340
deps = [":metastore_proto"],
342341
)
343342

google/cloud/metastore/v1alpha/metastore.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,12 @@ message AuxiliaryVersionConfig {
616616
}
617617

618618
// Network configuration for the Dataproc Metastore service.
619+
//
620+
// Next available ID: 4
619621
message NetworkConfig {
620622
// Contains information of the customer's network configurations.
623+
//
624+
// Next available ID: 5
621625
message Consumer {
622626
oneof vpc_resource {
623627
// Immutable. The subnetwork of the customer project from which an IP
@@ -639,6 +643,15 @@ message NetworkConfig {
639643
// Output only. The URI of the endpoint used to access the metastore
640644
// service.
641645
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
646+
647+
// Output only. The location of the endpoint URI. Format:
648+
// `projects/{project}/locations/{location}`.
649+
string endpoint_location = 4 [
650+
(google.api.field_behavior) = OUTPUT_ONLY,
651+
(google.api.resource_reference) = {
652+
type: "locations.googleapis.com/Location"
653+
}
654+
];
642655
}
643656

644657
// Immutable. The consumer-side network configuration for the Dataproc

google/cloud/metastore/v1beta/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ load(
345345

346346
csharp_proto_library(
347347
name = "metastore_csharp_proto",
348-
extra_opts = [],
349348
deps = [":metastore_proto"],
350349
)
351350

google/cloud/metastore/v1beta/metastore.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,12 @@ message AuxiliaryVersionConfig {
616616
}
617617

618618
// Network configuration for the Dataproc Metastore service.
619+
//
620+
// Next available ID: 4
619621
message NetworkConfig {
620622
// Contains information of the customer's network configurations.
623+
//
624+
// Next available ID: 5
621625
message Consumer {
622626
oneof vpc_resource {
623627
// Immutable. The subnetwork of the customer project from which an IP
@@ -639,6 +643,15 @@ message NetworkConfig {
639643
// Output only. The URI of the endpoint used to access the metastore
640644
// service.
641645
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
646+
647+
// Output only. The location of the endpoint URI. Format:
648+
// `projects/{project}/locations/{location}`.
649+
string endpoint_location = 4 [
650+
(google.api.field_behavior) = OUTPUT_ONLY,
651+
(google.api.resource_reference) = {
652+
type: "locations.googleapis.com/Location"
653+
}
654+
];
642655
}
643656

644657
// Immutable. The consumer-side network configuration for the Dataproc

0 commit comments

Comments
 (0)