Skip to content

Commit 0733fdb

Browse files
Google APIscopybara-github
authored andcommitted
feat: support for obtaining the public IP address of an Instance
feat: support for getting PSC DNS name from the GetConnectionInfo API PiperOrigin-RevId: 610415824
1 parent ec05f42 commit 0733fdb

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

google/cloud/alloydb/v1alpha/resources.proto

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ syntax = "proto3";
1616

1717
package google.cloud.alloydb.v1alpha;
1818

19+
import "google/api/field_behavior.proto";
20+
import "google/api/field_info.proto";
21+
import "google/api/resource.proto";
1922
import "google/protobuf/duration.proto";
2023
import "google/protobuf/timestamp.proto";
2124
import "google/protobuf/wrappers.proto";
2225
import "google/type/dayofweek.proto";
2326
import "google/type/timeofday.proto";
24-
import "google/api/field_behavior.proto";
25-
import "google/api/field_info.proto";
26-
import "google/api/resource.proto";
2727

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

959+
// Output only. The public IP addresses for the Instance. This is available
960+
// ONLY when enable_public_ip is set. This is the connection endpoint for an
961+
// end-user application.
962+
string public_ip_address = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
963+
959964
// Output only. Reconciling (https://google.aip.dev/128#reconciliation).
960965
// Set to true if the current state of Instance does not match the user's
961966
// intended state, and the service is actively updating the resource to
@@ -1030,6 +1035,9 @@ message ConnectionInfo {
10301035

10311036
// Output only. The unique ID of the Instance.
10321037
string instance_uid = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
1038+
1039+
// Output only. The DNS name to use with PSC for the Instance.
1040+
string psc_dns_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
10331041
}
10341042

10351043
// Message describing Backup object

0 commit comments

Comments
 (0)