Skip to content

Commit 2f0f298

Browse files
chore: Update generation configuration at Tue Dec 9 02:33:21 UTC 2025 (googleapis#11812)
This pull request is generated with proto changes between [googleapis/googleapis@bfdeefc](googleapis/googleapis@bfdeefc) (exclusive) and [googleapis/googleapis@c9578f6](googleapis/googleapis@c9578f6) (inclusive). BEGIN_COMMIT_OVERRIDE BEGIN_NESTED_COMMIT docs: [alloydb] Clarify that [initial_user](http://_vscodecontentref_/3) is not required in Cluster The comment for the [initial_user](http://_vscodecontentref_/4) field in the [Cluster](http://_vscodecontentref_/5) message has been updated to remove the "Required." annotation, better reflecting its optional nature. PiperOrigin-RevId: 841859434 Source Link: [googleapis/googleapis@35365cb](googleapis/googleapis@35365cb) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [run] add SourceCode proto to Run container config docs: [run] A comment for field `etag` in message `.google.cloud.run.v2.Job` is changed docs: [run] A comment for field `limits` in message `.google.cloud.run.v2.ResourceRequirements` is changed docs: [run] A comment for field `items` in message `.google.cloud.run.v2.SecretVolumeSource` is changed docs: [run] A comment for field `name` in message `.google.cloud.run.v2.Service` is changed docs: [run] A comment for field `invoker_iam_disabled` in message `.google.cloud.run.v2.Service` is changed docs: [run] A comment for field `etag` in message `.google.cloud.run.v2.Service` is changed docs: [run] A comment for field `observed_generation` in message `.google.cloud.run.v2.WorkerPool` is changed docs: [run] A comment for field `latest_ready_revision` in message `.google.cloud.run.v2.WorkerPool` is changed docs: [run] A comment for field `custom_audiences` in message `.google.cloud.run.v2.WorkerPool` is changed docs: [run] A comment for field `reconciling` in message `.google.cloud.run.v2.WorkerPool` is changed docs: [run] A comment for field `etag` in message `.google.cloud.run.v2.WorkerPool` is changed PiperOrigin-RevId: 840919560 Source Link: [googleapis/googleapis@d534d01](googleapis/googleapis@d534d01) END_NESTED_COMMIT END_COMMIT_OVERRIDE
1 parent 05df6bd commit 2f0f298

File tree

56 files changed

+6625
-889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6625
-889
lines changed

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gapic_generator_version: 2.64.1
2-
googleapis_commitish: bfdeefc22ce661d0b0efb68c83c2afd5a3aa9c2c
2+
googleapis_commitish: c9578f6385fe0fb9067c5dba8d7cdda39efac0ff
33
libraries_bom_version: 26.72.0
44

55
# the libraries are ordered with respect to library name, which is

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6560,7 +6560,7 @@ public boolean getReconciling() {
65606560
*
65616561
*
65626562
* <pre>
6563-
* Input only. Initial user to setup during cluster creation. Required.
6563+
* Input only. Initial user to setup during cluster creation.
65646564
* If used in `RestoreCluster` this is ignored.
65656565
* </pre>
65666566
*
@@ -6579,7 +6579,7 @@ public boolean hasInitialUser() {
65796579
*
65806580
*
65816581
* <pre>
6582-
* Input only. Initial user to setup during cluster creation. Required.
6582+
* Input only. Initial user to setup during cluster creation.
65836583
* If used in `RestoreCluster` this is ignored.
65846584
* </pre>
65856585
*
@@ -6600,7 +6600,7 @@ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() {
66006600
*
66016601
*
66026602
* <pre>
6603-
* Input only. Initial user to setup during cluster creation. Required.
6603+
* Input only. Initial user to setup during cluster creation.
66046604
* If used in `RestoreCluster` this is ignored.
66056605
* </pre>
66066606
*
@@ -11936,7 +11936,7 @@ public Builder clearReconciling() {
1193611936
*
1193711937
*
1193811938
* <pre>
11939-
* Input only. Initial user to setup during cluster creation. Required.
11939+
* Input only. Initial user to setup during cluster creation.
1194011940
* If used in `RestoreCluster` this is ignored.
1194111941
* </pre>
1194211942
*
@@ -11954,7 +11954,7 @@ public boolean hasInitialUser() {
1195411954
*
1195511955
*
1195611956
* <pre>
11957-
* Input only. Initial user to setup during cluster creation. Required.
11957+
* Input only. Initial user to setup during cluster creation.
1195811958
* If used in `RestoreCluster` this is ignored.
1195911959
* </pre>
1196011960
*
@@ -11978,7 +11978,7 @@ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() {
1197811978
*
1197911979
*
1198011980
* <pre>
11981-
* Input only. Initial user to setup during cluster creation. Required.
11981+
* Input only. Initial user to setup during cluster creation.
1198211982
* If used in `RestoreCluster` this is ignored.
1198311983
* </pre>
1198411984
*
@@ -12004,7 +12004,7 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) {
1200412004
*
1200512005
*
1200612006
* <pre>
12007-
* Input only. Initial user to setup during cluster creation. Required.
12007+
* Input only. Initial user to setup during cluster creation.
1200812008
* If used in `RestoreCluster` this is ignored.
1200912009
* </pre>
1201012010
*
@@ -12028,7 +12028,7 @@ public Builder setInitialUser(
1202812028
*
1202912029
*
1203012030
* <pre>
12031-
* Input only. Initial user to setup during cluster creation. Required.
12031+
* Input only. Initial user to setup during cluster creation.
1203212032
* If used in `RestoreCluster` this is ignored.
1203312033
* </pre>
1203412034
*
@@ -12059,7 +12059,7 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value)
1205912059
*
1206012060
*
1206112061
* <pre>
12062-
* Input only. Initial user to setup during cluster creation. Required.
12062+
* Input only. Initial user to setup during cluster creation.
1206312063
* If used in `RestoreCluster` this is ignored.
1206412064
* </pre>
1206512065
*
@@ -12082,7 +12082,7 @@ public Builder clearInitialUser() {
1208212082
*
1208312083
*
1208412084
* <pre>
12085-
* Input only. Initial user to setup during cluster creation. Required.
12085+
* Input only. Initial user to setup during cluster creation.
1208612086
* If used in `RestoreCluster` this is ignored.
1208712087
* </pre>
1208812088
*
@@ -12100,7 +12100,7 @@ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder()
1210012100
*
1210112101
*
1210212102
* <pre>
12103-
* Input only. Initial user to setup during cluster creation. Required.
12103+
* Input only. Initial user to setup during cluster creation.
1210412104
* If used in `RestoreCluster` this is ignored.
1210512105
* </pre>
1210612106
*
@@ -12122,7 +12122,7 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
1212212122
*
1212312123
*
1212412124
* <pre>
12125-
* Input only. Initial user to setup during cluster creation. Required.
12125+
* Input only. Initial user to setup during cluster creation.
1212612126
* If used in `RestoreCluster` this is ignored.
1212712127
* </pre>
1212812128
*

java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ java.lang.String getAnnotationsOrDefault(
718718
*
719719
*
720720
* <pre>
721-
* Input only. Initial user to setup during cluster creation. Required.
721+
* Input only. Initial user to setup during cluster creation.
722722
* If used in `RestoreCluster` this is ignored.
723723
* </pre>
724724
*
@@ -734,7 +734,7 @@ java.lang.String getAnnotationsOrDefault(
734734
*
735735
*
736736
* <pre>
737-
* Input only. Initial user to setup during cluster creation. Required.
737+
* Input only. Initial user to setup during cluster creation.
738738
* If used in `RestoreCluster` this is ignored.
739739
* </pre>
740740
*
@@ -750,7 +750,7 @@ java.lang.String getAnnotationsOrDefault(
750750
*
751751
*
752752
* <pre>
753-
* Input only. Initial user to setup during cluster creation. Required.
753+
* Input only. Initial user to setup during cluster creation.
754754
* If used in `RestoreCluster` this is ignored.
755755
* </pre>
756756
*

java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ message Cluster {
693693
// system actions like failover or maintenance.
694694
bool reconciling = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
695695

696-
// Input only. Initial user to setup during cluster creation. Required.
696+
// Input only. Initial user to setup during cluster creation.
697697
// If used in `RestoreCluster` this is ignored.
698698
UserPassword initial_user = 14 [(google.api.field_behavior) = INPUT_ONLY];
699699

java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/BuildsClient.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
* .setWorkerPool(
4747
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
4848
* .addAllTags(new ArrayList<String>())
49+
* .setMachineType("machineType-218117087")
50+
* .setReleaseTrack(LaunchStage.forNumber(0))
51+
* .setClient("client-1357712437")
4952
* .build();
5053
* SubmitBuildResponse response = buildsClient.submitBuild(request);
5154
* }
@@ -197,6 +200,9 @@ public BuildsStub getStub() {
197200
* .setWorkerPool(
198201
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
199202
* .addAllTags(new ArrayList<String>())
203+
* .setMachineType("machineType-218117087")
204+
* .setReleaseTrack(LaunchStage.forNumber(0))
205+
* .setClient("client-1357712437")
200206
* .build();
201207
* SubmitBuildResponse response = buildsClient.submitBuild(request);
202208
* }
@@ -230,6 +236,9 @@ public final SubmitBuildResponse submitBuild(SubmitBuildRequest request) {
230236
* .setWorkerPool(
231237
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
232238
* .addAllTags(new ArrayList<String>())
239+
* .setMachineType("machineType-218117087")
240+
* .setReleaseTrack(LaunchStage.forNumber(0))
241+
* .setClient("client-1357712437")
233242
* .build();
234243
* ApiFuture<SubmitBuildResponse> future =
235244
* buildsClient.submitBuildCallable().futureCall(request);

java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
* .setWorkerPool(
4141
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
4242
* .addAllTags(new ArrayList<String>())
43+
* .setMachineType("machineType-218117087")
44+
* .setReleaseTrack(LaunchStage.forNumber(0))
45+
* .setClient("client-1357712437")
4346
* .build();
4447
* SubmitBuildResponse response = buildsClient.submitBuild(request);
4548
* }

java-run/google-cloud-run/src/main/resources/META-INF/native-image/com.google.cloud.run.v2/reflect-config.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,24 @@
17181718
"allDeclaredClasses": true,
17191719
"allPublicClasses": true
17201720
},
1721+
{
1722+
"name": "com.google.cloud.run.v2.Service$MultiRegionSettings",
1723+
"queryAllDeclaredConstructors": true,
1724+
"queryAllPublicConstructors": true,
1725+
"queryAllDeclaredMethods": true,
1726+
"allPublicMethods": true,
1727+
"allDeclaredClasses": true,
1728+
"allPublicClasses": true
1729+
},
1730+
{
1731+
"name": "com.google.cloud.run.v2.Service$MultiRegionSettings$Builder",
1732+
"queryAllDeclaredConstructors": true,
1733+
"queryAllPublicConstructors": true,
1734+
"queryAllDeclaredMethods": true,
1735+
"allPublicMethods": true,
1736+
"allDeclaredClasses": true,
1737+
"allPublicClasses": true
1738+
},
17211739
{
17221740
"name": "com.google.cloud.run.v2.ServiceMesh",
17231741
"queryAllDeclaredConstructors": true,
@@ -1763,6 +1781,42 @@
17631781
"allDeclaredClasses": true,
17641782
"allPublicClasses": true
17651783
},
1784+
{
1785+
"name": "com.google.cloud.run.v2.SourceCode",
1786+
"queryAllDeclaredConstructors": true,
1787+
"queryAllPublicConstructors": true,
1788+
"queryAllDeclaredMethods": true,
1789+
"allPublicMethods": true,
1790+
"allDeclaredClasses": true,
1791+
"allPublicClasses": true
1792+
},
1793+
{
1794+
"name": "com.google.cloud.run.v2.SourceCode$Builder",
1795+
"queryAllDeclaredConstructors": true,
1796+
"queryAllPublicConstructors": true,
1797+
"queryAllDeclaredMethods": true,
1798+
"allPublicMethods": true,
1799+
"allDeclaredClasses": true,
1800+
"allPublicClasses": true
1801+
},
1802+
{
1803+
"name": "com.google.cloud.run.v2.SourceCode$CloudStorageSource",
1804+
"queryAllDeclaredConstructors": true,
1805+
"queryAllPublicConstructors": true,
1806+
"queryAllDeclaredMethods": true,
1807+
"allPublicMethods": true,
1808+
"allDeclaredClasses": true,
1809+
"allPublicClasses": true
1810+
},
1811+
{
1812+
"name": "com.google.cloud.run.v2.SourceCode$CloudStorageSource$Builder",
1813+
"queryAllDeclaredConstructors": true,
1814+
"queryAllPublicConstructors": true,
1815+
"queryAllDeclaredMethods": true,
1816+
"allPublicMethods": true,
1817+
"allDeclaredClasses": true,
1818+
"allPublicClasses": true
1819+
},
17661820
{
17671821
"name": "com.google.cloud.run.v2.StorageSource",
17681822
"queryAllDeclaredConstructors": true,

java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/BuildsClientHttpJsonTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.cloud.run.v2;
1818

19+
import com.google.api.LaunchStage;
1920
import com.google.api.gax.core.NoCredentialsProvider;
2021
import com.google.api.gax.httpjson.GaxHttpJsonProperties;
2122
import com.google.api.gax.httpjson.testing.MockHttpService;
@@ -90,6 +91,9 @@ public void submitBuildTest() throws Exception {
9091
.setWorkerPool(
9192
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
9293
.addAllTags(new ArrayList<String>())
94+
.setMachineType("machineType-218117087")
95+
.setReleaseTrack(LaunchStage.forNumber(0))
96+
.setClient("client-1357712437")
9397
.build();
9498

9599
SubmitBuildResponse actualResponse = client.submitBuild(request);
@@ -126,6 +130,9 @@ public void submitBuildExceptionTest() throws Exception {
126130
.setWorkerPool(
127131
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
128132
.addAllTags(new ArrayList<String>())
133+
.setMachineType("machineType-218117087")
134+
.setReleaseTrack(LaunchStage.forNumber(0))
135+
.setClient("client-1357712437")
129136
.build();
130137
client.submitBuild(request);
131138
Assert.fail("No exception raised");

java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/BuildsClientTest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.cloud.run.v2;
1818

19+
import com.google.api.LaunchStage;
1920
import com.google.api.gax.core.NoCredentialsProvider;
2021
import com.google.api.gax.grpc.GaxGrpcProperties;
2122
import com.google.api.gax.grpc.testing.LocalChannelProvider;
@@ -98,6 +99,9 @@ public void submitBuildTest() throws Exception {
9899
.setWorkerPool(
99100
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
100101
.addAllTags(new ArrayList<String>())
102+
.setMachineType("machineType-218117087")
103+
.setReleaseTrack(LaunchStage.forNumber(0))
104+
.setClient("client-1357712437")
101105
.build();
102106

103107
SubmitBuildResponse actualResponse = client.submitBuild(request);
@@ -115,6 +119,9 @@ public void submitBuildTest() throws Exception {
115119
Assert.assertEquals(request.getServiceAccount(), actualRequest.getServiceAccount());
116120
Assert.assertEquals(request.getWorkerPool(), actualRequest.getWorkerPool());
117121
Assert.assertEquals(request.getTagsList(), actualRequest.getTagsList());
122+
Assert.assertEquals(request.getMachineType(), actualRequest.getMachineType());
123+
Assert.assertEquals(request.getReleaseTrack(), actualRequest.getReleaseTrack());
124+
Assert.assertEquals(request.getClient(), actualRequest.getClient());
118125
Assert.assertTrue(
119126
channelProvider.isHeaderSent(
120127
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -135,6 +142,9 @@ public void submitBuildExceptionTest() throws Exception {
135142
.setWorkerPool(
136143
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
137144
.addAllTags(new ArrayList<String>())
145+
.setMachineType("machineType-218117087")
146+
.setReleaseTrack(LaunchStage.forNumber(0))
147+
.setClient("client-1357712437")
138148
.build();
139149
client.submitBuild(request);
140150
Assert.fail("No exception raised");

0 commit comments

Comments
 (0)