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
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.64.1
googleapis_commitish: bfdeefc22ce661d0b0efb68c83c2afd5a3aa9c2c
googleapis_commitish: c9578f6385fe0fb9067c5dba8d7cdda39efac0ff
libraries_bom_version: 26.72.0

# the libraries are ordered with respect to library name, which is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6560,7 +6560,7 @@ public boolean getReconciling() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -6579,7 +6579,7 @@ public boolean hasInitialUser() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -6600,7 +6600,7 @@ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand Down Expand Up @@ -11936,7 +11936,7 @@ public Builder clearReconciling() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -11954,7 +11954,7 @@ public boolean hasInitialUser() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -11978,7 +11978,7 @@ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -12004,7 +12004,7 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -12028,7 +12028,7 @@ public Builder setInitialUser(
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand Down Expand Up @@ -12059,7 +12059,7 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value)
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -12082,7 +12082,7 @@ public Builder clearInitialUser() {
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -12100,7 +12100,7 @@ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder()
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -12122,7 +12122,7 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -734,7 +734,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand All @@ -750,7 +750,7 @@ java.lang.String getAnnotationsOrDefault(
*
*
* <pre>
* Input only. Initial user to setup during cluster creation. Required.
* Input only. Initial user to setup during cluster creation.
* If used in `RestoreCluster` this is ignored.
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ message Cluster {
// system actions like failover or maintenance.
bool reconciling = 13 [(google.api.field_behavior) = OUTPUT_ONLY];

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
* .setWorkerPool(
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
* .addAllTags(new ArrayList<String>())
* .setMachineType("machineType-218117087")
* .setReleaseTrack(LaunchStage.forNumber(0))
* .setClient("client-1357712437")
* .build();
* SubmitBuildResponse response = buildsClient.submitBuild(request);
* }
Expand Down Expand Up @@ -197,6 +200,9 @@ public BuildsStub getStub() {
* .setWorkerPool(
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
* .addAllTags(new ArrayList<String>())
* .setMachineType("machineType-218117087")
* .setReleaseTrack(LaunchStage.forNumber(0))
* .setClient("client-1357712437")
* .build();
* SubmitBuildResponse response = buildsClient.submitBuild(request);
* }
Expand Down Expand Up @@ -230,6 +236,9 @@ public final SubmitBuildResponse submitBuild(SubmitBuildRequest request) {
* .setWorkerPool(
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
* .addAllTags(new ArrayList<String>())
* .setMachineType("machineType-218117087")
* .setReleaseTrack(LaunchStage.forNumber(0))
* .setClient("client-1357712437")
* .build();
* ApiFuture<SubmitBuildResponse> future =
* buildsClient.submitBuildCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
* .setWorkerPool(
* BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
* .addAllTags(new ArrayList<String>())
* .setMachineType("machineType-218117087")
* .setReleaseTrack(LaunchStage.forNumber(0))
* .setClient("client-1357712437")
* .build();
* SubmitBuildResponse response = buildsClient.submitBuild(request);
* }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1718,6 +1718,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.Service$MultiRegionSettings",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.Service$MultiRegionSettings$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.ServiceMesh",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -1763,6 +1781,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.SourceCode",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.SourceCode$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.SourceCode$CloudStorageSource",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.SourceCode$CloudStorageSource$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.run.v2.StorageSource",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.run.v2;

import com.google.api.LaunchStage;
import com.google.api.gax.core.NoCredentialsProvider;
import com.google.api.gax.httpjson.GaxHttpJsonProperties;
import com.google.api.gax.httpjson.testing.MockHttpService;
Expand Down Expand Up @@ -90,6 +91,9 @@ public void submitBuildTest() throws Exception {
.setWorkerPool(
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
.addAllTags(new ArrayList<String>())
.setMachineType("machineType-218117087")
.setReleaseTrack(LaunchStage.forNumber(0))
.setClient("client-1357712437")
.build();

SubmitBuildResponse actualResponse = client.submitBuild(request);
Expand Down Expand Up @@ -126,6 +130,9 @@ public void submitBuildExceptionTest() throws Exception {
.setWorkerPool(
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
.addAllTags(new ArrayList<String>())
.setMachineType("machineType-218117087")
.setReleaseTrack(LaunchStage.forNumber(0))
.setClient("client-1357712437")
.build();
client.submitBuild(request);
Assert.fail("No exception raised");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.run.v2;

import com.google.api.LaunchStage;
import com.google.api.gax.core.NoCredentialsProvider;
import com.google.api.gax.grpc.GaxGrpcProperties;
import com.google.api.gax.grpc.testing.LocalChannelProvider;
Expand Down Expand Up @@ -98,6 +99,9 @@ public void submitBuildTest() throws Exception {
.setWorkerPool(
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
.addAllTags(new ArrayList<String>())
.setMachineType("machineType-218117087")
.setReleaseTrack(LaunchStage.forNumber(0))
.setClient("client-1357712437")
.build();

SubmitBuildResponse actualResponse = client.submitBuild(request);
Expand All @@ -115,6 +119,9 @@ public void submitBuildTest() throws Exception {
Assert.assertEquals(request.getServiceAccount(), actualRequest.getServiceAccount());
Assert.assertEquals(request.getWorkerPool(), actualRequest.getWorkerPool());
Assert.assertEquals(request.getTagsList(), actualRequest.getTagsList());
Assert.assertEquals(request.getMachineType(), actualRequest.getMachineType());
Assert.assertEquals(request.getReleaseTrack(), actualRequest.getReleaseTrack());
Assert.assertEquals(request.getClient(), actualRequest.getClient());
Assert.assertTrue(
channelProvider.isHeaderSent(
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
Expand All @@ -135,6 +142,9 @@ public void submitBuildExceptionTest() throws Exception {
.setWorkerPool(
BuildWorkerPoolName.of("[PROJECT]", "[LOCATION]", "[WORKER_POOL]").toString())
.addAllTags(new ArrayList<String>())
.setMachineType("machineType-218117087")
.setReleaseTrack(LaunchStage.forNumber(0))
.setClient("client-1357712437")
.build();
client.submitBuild(request);
Assert.fail("No exception raised");
Expand Down
Loading
Loading