Skip to content

Commit

Permalink
feat: support for obtaining the public IP address of an Instance
Browse files Browse the repository at this point in the history
feat: support for getting PSC DNS name from the GetConnectionInfo API

PiperOrigin-RevId: 610415824
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 26, 2024
1 parent ec05f42 commit 0733fdb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions google/cloud/alloydb/v1alpha/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ syntax = "proto3";

package google.cloud.alloydb.v1alpha;

import "google/api/field_behavior.proto";
import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
import "google/type/dayofweek.proto";
import "google/type/timeofday.proto";
import "google/api/field_behavior.proto";
import "google/api/field_info.proto";
import "google/api/resource.proto";

option csharp_namespace = "Google.Cloud.AlloyDb.V1Alpha";
option go_package = "cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb";
Expand Down Expand Up @@ -956,6 +956,11 @@ message Instance {
// This is the connection endpoint for an end-user application.
string ip_address = 15 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The public IP addresses for the Instance. This is available
// ONLY when enable_public_ip is set. This is the connection endpoint for an
// end-user application.
string public_ip_address = 27 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Reconciling (https://google.aip.dev/128#reconciliation).
// Set to true if the current state of Instance does not match the user's
// intended state, and the service is actively updating the resource to
Expand Down Expand Up @@ -1030,6 +1035,9 @@ message ConnectionInfo {

// Output only. The unique ID of the Instance.
string instance_uid = 4 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The DNS name to use with PSC for the Instance.
string psc_dns_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message describing Backup object
Expand Down

0 comments on commit 0733fdb

Please sign in to comment.