Skip to content

Commit

Permalink
feat: [metastore] added EndpointLocation (v1, v1beta, v1alpha) (#4712)
Browse files Browse the repository at this point in the history
* feat: added EndpointLocation (v1, v1beta, v1alpha)

PiperOrigin-RevId: 568664317

Source-Link: googleapis/googleapis@9b6656e

Source-Link: googleapis/googleapis-gen@1cdc6ea
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW1ldGFzdG9yZS8uT3dsQm90LnlhbWwiLCJoIjoiMWNkYzZlYTRiMDY4ZWU5NzlmMjIxNDNlMWFmMzk5MTlkYzRiMTlkOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 28, 2023
1 parent 0490f66 commit b3aa512
Show file tree
Hide file tree
Showing 6 changed files with 156 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,12 @@ message AuxiliaryVersionConfig {
}

// Network configuration for the Dataproc Metastore service.
//
// Next available ID: 4
message NetworkConfig {
// Contains information of the customer's network configurations.
//
// Next available ID: 5
message Consumer {
oneof vpc_resource {
// Immutable. The subnetwork of the customer project from which an IP
Expand All @@ -590,6 +594,15 @@ message NetworkConfig {
// Output only. The URI of the endpoint used to access the metastore
// service.
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The location of the endpoint URI. Format:
// `projects/{project}/locations/{location}`.
string endpoint_location = 4 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "locations.googleapis.com/Location"
}
];
}

// Immutable. The consumer-side network configuration for the Dataproc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,12 @@ message AuxiliaryVersionConfig {
}

// Network configuration for the Dataproc Metastore service.
//
// Next available ID: 4
message NetworkConfig {
// Contains information of the customer's network configurations.
//
// Next available ID: 5
message Consumer {
oneof vpc_resource {
// Immutable. The subnetwork of the customer project from which an IP
Expand All @@ -639,6 +643,15 @@ message NetworkConfig {
// Output only. The URI of the endpoint used to access the metastore
// service.
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The location of the endpoint URI. Format:
// `projects/{project}/locations/{location}`.
string endpoint_location = 4 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "locations.googleapis.com/Location"
}
];
}

// Immutable. The consumer-side network configuration for the Dataproc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,12 @@ message AuxiliaryVersionConfig {
}

// Network configuration for the Dataproc Metastore service.
//
// Next available ID: 4
message NetworkConfig {
// Contains information of the customer's network configurations.
//
// Next available ID: 5
message Consumer {
oneof vpc_resource {
// Immutable. The subnetwork of the customer project from which an IP
Expand All @@ -639,6 +643,15 @@ message NetworkConfig {
// Output only. The URI of the endpoint used to access the metastore
// service.
string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The location of the endpoint URI. Format:
// `projects/{project}/locations/{location}`.
string endpoint_location = 4 [
(google.api.field_behavior) = OUTPUT_ONLY,
(google.api.resource_reference) = {
type: "locations.googleapis.com/Location"
}
];
}

// Immutable. The consumer-side network configuration for the Dataproc
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-metastore/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 75 additions & 3 deletions packages/google-cloud-metastore/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b3aa512

Please sign in to comment.