Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions librarian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ version: v0.38.0
repo: googleapis/google-cloud-node
sources:
googleapis:
commit: f76fc6dcdd744681c9d3e2fc30b0fc813118c295
sha256: f89a9e70418646337d71fb79d3679e8a3183682bb5fd1e3457e325886c8dad9d
commit: 8856eed71a9cb2b9829d2617ee57fe2d8871a691
sha256: 54104af35306b605a97f7d1b98b9b96f4a507cd18322b44d81f62eca17969b3a
tools:
pnpm:
- name: gapic-generator-typescript
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2025 Google LLC
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1009,6 +1009,20 @@ message Instance {
// PscInstanceConfig contains PSC related configuration at an
// instance level.
message PscInstanceConfig {
// The state of the PSC auto connection policy.
enum PscAutoConnectionPolicyState {
// The state is unspecified. For old instances, this means the PSC auto
// connection is disabled. For new instances, this means the PSC auto
// connection is enabled by default.
PSC_AUTO_CONNECTION_POLICY_STATE_UNSPECIFIED = 0;

// Enables the PSC auto connection for the instance.
ENABLED = 1;

// Disables the PSC auto connection for the instance.
DISABLED = 2;
}

// Output only. The service attachment created when Private
// Service Connect (PSC) is enabled for the instance.
// The name of the resource will be in the format of
Expand Down Expand Up @@ -1039,6 +1053,37 @@ message Instance {
// Optional. Configurations for setting up PSC service automation.
repeated PscAutoConnectionConfig psc_auto_connections = 9
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for setting up PSC auto DNS for the instance.
PscAutoDnsState psc_auto_dns_state = 11
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for setting up PSC auto connection for the
// instance.
PscAutoConnectionPolicyState psc_auto_connection_policy_state = 13
[(google.api.field_behavior) = OPTIONAL];
}

// Information about the Private Service Connect (PSC) for the instance.
message PscInstanceInfo {
// Output only. The effective state of the PSC auto DNS for the instance.
bool effective_psc_auto_dns_enabled = 1
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Specifies the auto DNS names for the instance.
repeated string psc_auto_dns_names = 2
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Indicates if the PSC auto connection policy is enabled for
// the instance. For older instances, this will be off by default, but for
// newer instances, this will be auto-enabled.
bool effective_psc_auto_connection_policy = 3
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The PSC service connection policy name. The format is
// "projects/<PROJECT_ID>/regions/<REGION_ID>/serviceConnectionPolicies/<alloydb-$NETWORK-$RANDOM-scp>"
string service_connection_policy = 4
[(google.api.field_behavior) = OUTPUT_ONLY];
}

// Metadata related to instance-level network configuration.
Expand Down Expand Up @@ -1168,6 +1213,21 @@ message Instance {
REGIONAL = 2;
}

// The state of the PSC auto DNS.
enum PscAutoDnsState {
// The state is unspecified. For old instances, this means the PSC auto DNS
// is disabled. For new instances, this means the PSC auto DNS is enabled
// by default. Use `effective_psc_auto_dns_enabled` to check the
// effective state of the PSC auto DNS.
PSC_AUTO_DNS_STATE_UNSPECIFIED = 0;

// Enables the PSC auto DNS for the instance.
PSC_AUTO_DNS_STATE_ENABLED = 1;

// Disables the PSC auto DNS for the instance.
PSC_AUTO_DNS_STATE_DISABLED = 2;
}

// Specifies whether an instance needs to spin up.
enum ActivationPolicy {
// The policy is not specified.
Expand Down Expand Up @@ -1323,6 +1383,11 @@ message Instance {
PscInstanceConfig psc_instance_config = 28
[(google.api.field_behavior) = OPTIONAL];

// Output only. Information about the Private Service Connect (PSC) for the
// instance.
PscInstanceInfo psc_instance_info = 46
[(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. Instance-level network configuration.
InstanceNetworkConfig network_config = 29
[(google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -1394,6 +1459,10 @@ message ConnectionInfo {

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

// Output only. Specifies the DNS name to use with PSC service automation for
// the Instance.
string psc_auto_dns_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message describing Backup object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2025 Google LLC
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1006,6 +1006,20 @@ message Instance {
// PscInstanceConfig contains PSC related configuration at an
// instance level.
message PscInstanceConfig {
// The state of the PSC auto connection policy.
enum PscAutoConnectionPolicyState {
// The state is unspecified. For old instances, this means the PSC auto
// connection is disabled. For new instances, this means the PSC auto
// connection is enabled by default.
PSC_AUTO_CONNECTION_POLICY_STATE_UNSPECIFIED = 0;

// Enables the PSC auto connection for the instance.
ENABLED = 1;

// Disables the PSC auto connection for the instance.
DISABLED = 2;
}

// Output only. The service attachment created when Private
// Service Connect (PSC) is enabled for the instance.
// The name of the resource will be in the format of
Expand Down Expand Up @@ -1036,6 +1050,37 @@ message Instance {
// Optional. Configurations for setting up PSC service automation.
repeated PscAutoConnectionConfig psc_auto_connections = 9
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for setting up PSC auto DNS for the instance.
PscAutoDnsState psc_auto_dns_state = 11
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for setting up PSC auto connection for the
// instance.
PscAutoConnectionPolicyState psc_auto_connection_policy_state = 13
[(google.api.field_behavior) = OPTIONAL];
}

// Information about the Private Service Connect (PSC) for the instance.
message PscInstanceInfo {
// Output only. The effective state of the PSC auto DNS for the instance.
bool effective_psc_auto_dns_enabled = 1
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Specifies the auto DNS names for the instance.
repeated string psc_auto_dns_names = 2
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Indicates if the PSC auto connection policy is enabled for
// the instance. For older instances, this will be off by default, but for
// newer instances, this will be auto-enabled.
bool effective_psc_auto_connection_policy = 3
[(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The PSC service connection policy name. The format is
// "projects/<PROJECT_ID>/regions/<REGION_ID>/serviceConnectionPolicies/<alloydb-$NETWORK-$RANDOM-scp>"
string service_connection_policy = 4
[(google.api.field_behavior) = OUTPUT_ONLY];
}

// Metadata related to instance-level network configuration.
Expand Down Expand Up @@ -1165,6 +1210,21 @@ message Instance {
REGIONAL = 2;
}

// The state of the PSC auto DNS.
enum PscAutoDnsState {
// The state is unspecified. For old instances, this means the PSC auto DNS
// is disabled. For new instances, this means the PSC auto DNS is enabled
// by default. Use `effective_psc_auto_dns_enabled` to check the
// effective state of the PSC auto DNS.
PSC_AUTO_DNS_STATE_UNSPECIFIED = 0;

// Enables the PSC auto DNS for the instance.
PSC_AUTO_DNS_STATE_ENABLED = 1;

// Disables the PSC auto DNS for the instance.
PSC_AUTO_DNS_STATE_DISABLED = 2;
}

// Specifies whether an instance needs to spin up.
enum ActivationPolicy {
// The policy is not specified.
Expand Down Expand Up @@ -1317,6 +1377,11 @@ message Instance {
PscInstanceConfig psc_instance_config = 28
[(google.api.field_behavior) = OPTIONAL];

// Output only. Information about the Private Service Connect (PSC) for the
// instance.
PscInstanceInfo psc_instance_info = 46
[(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. Instance-level network configuration.
InstanceNetworkConfig network_config = 29
[(google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -1388,6 +1453,10 @@ message ConnectionInfo {

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

// Output only. Specifies the DNS name to use with PSC service automation for
// the Instance.
string psc_auto_dns_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message describing Backup object
Expand Down
Loading
Loading