Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: release gapic-generator-java v1.0.5 (#452)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/dacaacc3-5cd2-4bd4-a958-514b959f3d53/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 374252908
Source-Link: googleapis/googleapis@131ae3e
  • Loading branch information
yoshi-automation committed May 20, 2021
1 parent 92c8484 commit 33e8f56
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 8 deletions.
Expand Up @@ -665,6 +665,7 @@ public final ImportSshPublicKeyResponse importSshPublicKey(
* ImportSshPublicKeyRequest request =
* ImportSshPublicKeyRequest.newBuilder()
* .setParent(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
* .setSshPublicKey(OsLoginProto.SshPublicKey.newBuilder().build())
* .setProjectId("projectId-894832108")
* .build();
* ImportSshPublicKeyResponse response = osLoginServiceClient.importSshPublicKey(request);
Expand All @@ -690,6 +691,7 @@ public final ImportSshPublicKeyResponse importSshPublicKey(ImportSshPublicKeyReq
* ImportSshPublicKeyRequest request =
* ImportSshPublicKeyRequest.newBuilder()
* .setParent(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
* .setSshPublicKey(OsLoginProto.SshPublicKey.newBuilder().build())
* .setProjectId("projectId-894832108")
* .build();
* ApiFuture<ImportSshPublicKeyResponse> future =
Expand Down Expand Up @@ -847,6 +849,7 @@ public final OsLoginProto.SshPublicKey updateSshPublicKey(
* UpdateSshPublicKeyRequest request =
* UpdateSshPublicKeyRequest.newBuilder()
* .setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
* .setSshPublicKey(OsLoginProto.SshPublicKey.newBuilder().build())
* .setUpdateMask(FieldMask.newBuilder().build())
* .build();
* OsLoginProto.SshPublicKey response = osLoginServiceClient.updateSshPublicKey(request);
Expand All @@ -872,6 +875,7 @@ public final OsLoginProto.SshPublicKey updateSshPublicKey(UpdateSshPublicKeyRequ
* UpdateSshPublicKeyRequest request =
* UpdateSshPublicKeyRequest.newBuilder()
* .setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
* .setSshPublicKey(OsLoginProto.SshPublicKey.newBuilder().build())
* .setUpdateMask(FieldMask.newBuilder().build())
* .build();
* ApiFuture<OsLoginProto.SshPublicKey> future =
Expand Down
Expand Up @@ -298,7 +298,13 @@ public void getLoginProfileExceptionTest2() throws Exception {

@Test
public void getSshPublicKeyTest() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

FingerprintName name = FingerprintName.of("[USER]", "[FINGERPRINT]");
Expand Down Expand Up @@ -333,7 +339,13 @@ public void getSshPublicKeyExceptionTest() throws Exception {

@Test
public void getSshPublicKeyTest2() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

String name = "name3373707";
Expand Down Expand Up @@ -540,7 +552,13 @@ public void importSshPublicKeyExceptionTest4() throws Exception {

@Test
public void updateSshPublicKeyTest() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

FingerprintName name = FingerprintName.of("[USER]", "[FINGERPRINT]");
Expand Down Expand Up @@ -578,7 +596,13 @@ public void updateSshPublicKeyExceptionTest() throws Exception {

@Test
public void updateSshPublicKeyTest2() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

String name = "name3373707";
Expand Down Expand Up @@ -616,7 +640,13 @@ public void updateSshPublicKeyExceptionTest2() throws Exception {

@Test
public void updateSshPublicKeyTest3() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

FingerprintName name = FingerprintName.of("[USER]", "[FINGERPRINT]");
Expand Down Expand Up @@ -658,7 +688,13 @@ public void updateSshPublicKeyExceptionTest3() throws Exception {

@Test
public void updateSshPublicKeyTest4() throws Exception {
OsLoginProto.SshPublicKey expectedResponse = OsLoginProto.SshPublicKey.newBuilder().build();
OsLoginProto.SshPublicKey expectedResponse =
OsLoginProto.SshPublicKey.newBuilder()
.setKey("key106079")
.setExpirationTimeUsec(-2058878882)
.setFingerprint("fingerprint-1375934236")
.setName(FingerprintName.of("[USER]", "[FINGERPRINT]").toString())
.build();
mockOsLoginService.addResponse(expectedResponse);

String name = "name3373707";
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
"internalRef": "362856902"
"sha": "131ae3e375c05856d7d77cd146dc2af92650eb38",
"internalRef": "374252908"
}
},
{
Expand Down

0 comments on commit 33e8f56

Please sign in to comment.