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

chore: release gapic-generator-java v1.0.5 #452

Merged
merged 1 commit into from
May 20, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
6 changes: 3 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-os-login.git",
"sha": "58650189ae459534e0fb4174a0fe62b411a56719"
"sha": "fe465cd32c13585119b0c9a417d1d43f4f76b72b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
"internalRef": "362856902"
"sha": "131ae3e375c05856d7d77cd146dc2af92650eb38",
"internalRef": "374252908"
}
},
{
Expand Down