diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a5d1a94..ca1164a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.2.5](https://github.com/googleapis/java-shell/compare/v2.2.4...v2.2.5) (2022-09-09) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#244](https://github.com/googleapis/java-shell/issues/244)) ([726c1d5](https://github.com/googleapis/java-shell/commit/726c1d57c68064fcb8590059e969ec881dac5173)) + ## [2.2.4](https://github.com/googleapis/java-shell/compare/v2.2.3...v2.2.4) (2022-08-11) diff --git a/README.md b/README.md index 64f456f3..bdb9fb07 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-shell - 2.2.3 + 2.2.4 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.2.3' +implementation 'com.google.cloud:google-cloud-shell:2.2.4' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.2.3" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.2.4" ``` ## Authentication diff --git a/google-cloud-shell-bom/pom.xml b/google-cloud-shell-bom/pom.xml index 1304d5d2..cddbeae1 100644 --- a/google-cloud-shell-bom/pom.xml +++ b/google-cloud-shell-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-shell-bom - 2.2.4 + 2.2.5 pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-shell - 2.2.4 + 2.2.5 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.2.4 + 2.2.5 com.google.api.grpc proto-google-cloud-shell-v1 - 2.2.4 + 2.2.5 diff --git a/google-cloud-shell/pom.xml b/google-cloud-shell/pom.xml index afa8cacb..826a2a49 100644 --- a/google-cloud-shell/pom.xml +++ b/google-cloud-shell/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-shell - 2.2.4 + 2.2.5 jar Google Cloud Shell https://github.com/googleapis/java-shell @@ -11,7 +11,7 @@ com.google.cloud google-cloud-shell-parent - 2.2.4 + 2.2.5 google-cloud-shell diff --git a/grpc-google-cloud-shell-v1/pom.xml b/grpc-google-cloud-shell-v1/pom.xml index 3a68aab0..db18759b 100644 --- a/grpc-google-cloud-shell-v1/pom.xml +++ b/grpc-google-cloud-shell-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.2.4 + 2.2.5 grpc-google-cloud-shell-v1 GRPC library for google-cloud-shell com.google.cloud google-cloud-shell-parent - 2.2.4 + 2.2.5 diff --git a/pom.xml b/pom.xml index dc9b2984..e473e313 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-shell-parent pom - 2.2.4 + 2.2.5 Google Cloud Shell Parent https://github.com/googleapis/java-shell @@ -60,23 +60,23 @@ com.google.cloud google-cloud-shell - 2.2.4 + 2.2.5 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.2.4 + 2.2.5 com.google.api.grpc proto-google-cloud-shell-v1 - 2.2.4 + 2.2.5 com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import @@ -112,7 +112,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.0 + 3.4.1 @@ -139,7 +139,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.4.1 html diff --git a/proto-google-cloud-shell-v1/pom.xml b/proto-google-cloud-shell-v1/pom.xml index f445f7a3..fb5bee00 100644 --- a/proto-google-cloud-shell-v1/pom.xml +++ b/proto-google-cloud-shell-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-shell-v1 - 2.2.4 + 2.2.5 proto-google-cloud-shell-v1 Proto library for google-cloud-shell com.google.cloud google-cloud-shell-parent - 2.2.4 + 2.2.5 diff --git a/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java b/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java index 819ddaf3..0cd8414d 100644 --- a/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java +++ b/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java @@ -109,81 +109,80 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tations.proto\032\027google/api/client.proto\032\037" + "google/api/field_behavior.proto\032\031google/" + "api/resource.proto\032#google/longrunning/o" - + "perations.proto\032 google/protobuf/field_m" - + "ask.proto\032\037google/protobuf/timestamp.pro" - + "to\"\263\003\n\013Environment\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\017\n" - + "\002id\030\002 \001(\tB\003\340A\003\022\034\n\014docker_image\030\003 \001(\tB\006\340A" - + "\002\340A\005\022<\n\005state\030\004 \001(\0162(.google.cloud.shell" - + ".v1.Environment.StateB\003\340A\003\022\025\n\010web_host\030\014" - + " \001(\tB\003\340A\003\022\031\n\014ssh_username\030\005 \001(\tB\003\340A\003\022\025\n\010" - + "ssh_host\030\006 \001(\tB\003\340A\003\022\025\n\010ssh_port\030\007 \001(\005B\003\340" - + "A\003\022\030\n\013public_keys\030\010 \003(\tB\003\340A\003\"U\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\r\n\tSUSPENDED\020\001\022\013\n\007P" - + "ENDING\020\002\022\013\n\007RUNNING\020\003\022\014\n\010DELETING\020\004:S\352AP" - + "\n%cloudshell.googleapis.com/Environment\022" - + "\'users/{user}/environments/{environment}" - + "\"T\n\025GetEnvironmentRequest\022;\n\004name\030\001 \001(\tB" - + "-\340A\002\372A\'\n%cloudshell.googleapis.com/Envir" - + "onment\"\033\n\031CreateEnvironmentMetadata\"\033\n\031D" - + "eleteEnvironmentMetadata\"R\n\027StartEnviron" - + "mentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014access_toke" - + "n\030\002 \001(\t\022\023\n\013public_keys\030\003 \003(\t\"\204\001\n\033Authori" - + "zeEnvironmentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014ac" - + "cess_token\030\002 \001(\t\022\020\n\010id_token\030\004 \001(\t\022/\n\013ex" - + "pire_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\"\036\n\034AuthorizeEnvironmentResponse\"\036\n\034A" - + "uthorizeEnvironmentMetadata\"\322\001\n\030StartEnv" - + "ironmentMetadata\022D\n\005state\030\001 \001(\01625.google" - + ".cloud.shell.v1.StartEnvironmentMetadata" - + ".State\"p\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014" - + "\n\010STARTING\020\001\022\024\n\020UNARCHIVING_DISK\020\002\022\036\n\032AW" - + "AITING_COMPUTE_RESOURCES\020\004\022\014\n\010FINISHED\020\003" - + "\"S\n\030StartEnvironmentResponse\0227\n\013environm" - + "ent\030\001 \001(\0132\".google.cloud.shell.v1.Enviro" - + "nment\"7\n\023AddPublicKeyRequest\022\023\n\013environm" - + "ent\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"#\n\024AddPublicKeyRe" - + "sponse\022\013\n\003key\030\001 \001(\t\"\026\n\024AddPublicKeyMetad" - + "ata\":\n\026RemovePublicKeyRequest\022\023\n\013environ" - + "ment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"\031\n\027RemovePublicK" - + "eyResponse\"\031\n\027RemovePublicKeyMetadata\"\201\002" - + "\n\026CloudShellErrorDetails\022O\n\004code\030\001 \001(\0162A" - + ".google.cloud.shell.v1.CloudShellErrorDe" - + "tails.CloudShellErrorCode\"\225\001\n\023CloudShell" - + "ErrorCode\022&\n\"CLOUD_SHELL_ERROR_CODE_UNSP" - + "ECIFIED\020\000\022\025\n\021IMAGE_UNAVAILABLE\020\001\022\030\n\024CLOU" - + "D_SHELL_DISABLED\020\002\022\021\n\rTOS_VIOLATION\020\004\022\022\n" - + "\016QUOTA_EXCEEDED\020\0052\324\010\n\021CloudShellService\022" - + "\224\001\n\016GetEnvironment\022,.google.cloud.shell." - + "v1.GetEnvironmentRequest\032\".google.cloud." - + "shell.v1.Environment\"0\202\323\344\223\002#\022!/v1/{name=" - + "users/*/environments/*}\332A\004name\022\314\001\n\020Start" - + "Environment\022..google.cloud.shell.v1.Star" - + "tEnvironmentRequest\032\035.google.longrunning" - + ".Operation\"i\202\323\344\223\002,\"\'/v1/{name=users/*/en" - + "vironments/*}:start:\001*\312A4\n\030StartEnvironm" - + "entResponse\022\030StartEnvironmentMetadata\022\340\001" - + "\n\024AuthorizeEnvironment\0222.google.cloud.sh" - + "ell.v1.AuthorizeEnvironmentRequest\032\035.goo" - + "gle.longrunning.Operation\"u\202\323\344\223\0020\"+/v1/{" - + "name=users/*/environments/*}:authorize:\001" - + "*\312A<\n\034AuthorizeEnvironmentResponse\022\034Auth" - + "orizeEnvironmentMetadata\022\312\001\n\014AddPublicKe" - + "y\022*.google.cloud.shell.v1.AddPublicKeyRe" - + "quest\032\035.google.longrunning.Operation\"o\202\323" - + "\344\223\002:\"5/v1/{environment=users/*/environme" - + "nts/*}:addPublicKey:\001*\312A,\n\024AddPublicKeyR" - + "esponse\022\024AddPublicKeyMetadata\022\331\001\n\017Remove" - + "PublicKey\022-.google.cloud.shell.v1.Remove" - + "PublicKeyRequest\032\035.google.longrunning.Op" - + "eration\"x\202\323\344\223\002=\"8/v1/{environment=users/" - + "*/environments/*}:removePublicKey:\001*\312A2\n" - + "\027RemovePublicKeyResponse\022\027RemovePublicKe" - + "yMetadata\032M\312A\031cloudshell.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platformBj\n\031com.google.cloud.shell.v1B\017C" - + "loudShellProtoP\001Z:google.golang.org/genp" - + "roto/googleapis/cloud/shell/v1;shellb\006pr" - + "oto3" + + "perations.proto\032\037google/protobuf/timesta" + + "mp.proto\"\263\003\n\013Environment\022\021\n\004name\030\001 \001(\tB\003" + + "\340A\005\022\017\n\002id\030\002 \001(\tB\003\340A\003\022\034\n\014docker_image\030\003 \001" + + "(\tB\006\340A\002\340A\005\022<\n\005state\030\004 \001(\0162(.google.cloud" + + ".shell.v1.Environment.StateB\003\340A\003\022\025\n\010web_" + + "host\030\014 \001(\tB\003\340A\003\022\031\n\014ssh_username\030\005 \001(\tB\003\340" + + "A\003\022\025\n\010ssh_host\030\006 \001(\tB\003\340A\003\022\025\n\010ssh_port\030\007 " + + "\001(\005B\003\340A\003\022\030\n\013public_keys\030\010 \003(\tB\003\340A\003\"U\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUSPENDED\020" + + "\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\014\n\010DELETING\020" + + "\004:S\352AP\n%cloudshell.googleapis.com/Enviro" + + "nment\022\'users/{user}/environments/{enviro" + + "nment}\"T\n\025GetEnvironmentRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%cloudshell.googleapis.com" + + "/Environment\"\033\n\031CreateEnvironmentMetadat" + + "a\"\033\n\031DeleteEnvironmentMetadata\"R\n\027StartE" + + "nvironmentRequest\022\014\n\004name\030\001 \001(\t\022\024\n\014acces" + + "s_token\030\002 \001(\t\022\023\n\013public_keys\030\003 \003(\t\"\204\001\n\033A" + + "uthorizeEnvironmentRequest\022\014\n\004name\030\001 \001(\t" + + "\022\024\n\014access_token\030\002 \001(\t\022\020\n\010id_token\030\004 \001(\t" + + "\022/\n\013expire_time\030\003 \001(\0132\032.google.protobuf." + + "Timestamp\"\036\n\034AuthorizeEnvironmentRespons" + + "e\"\036\n\034AuthorizeEnvironmentMetadata\"\322\001\n\030St" + + "artEnvironmentMetadata\022D\n\005state\030\001 \001(\01625." + + "google.cloud.shell.v1.StartEnvironmentMe" + + "tadata.State\"p\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\014\n\010STARTING\020\001\022\024\n\020UNARCHIVING_DISK\020\002" + + "\022\036\n\032AWAITING_COMPUTE_RESOURCES\020\004\022\014\n\010FINI" + + "SHED\020\003\"S\n\030StartEnvironmentResponse\0227\n\013en" + + "vironment\030\001 \001(\0132\".google.cloud.shell.v1." + + "Environment\"7\n\023AddPublicKeyRequest\022\023\n\013en" + + "vironment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"#\n\024AddPubli" + + "cKeyResponse\022\013\n\003key\030\001 \001(\t\"\026\n\024AddPublicKe" + + "yMetadata\":\n\026RemovePublicKeyRequest\022\023\n\013e" + + "nvironment\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\"\031\n\027RemoveP" + + "ublicKeyResponse\"\031\n\027RemovePublicKeyMetad" + + "ata\"\201\002\n\026CloudShellErrorDetails\022O\n\004code\030\001" + + " \001(\0162A.google.cloud.shell.v1.CloudShellE" + + "rrorDetails.CloudShellErrorCode\"\225\001\n\023Clou" + + "dShellErrorCode\022&\n\"CLOUD_SHELL_ERROR_COD" + + "E_UNSPECIFIED\020\000\022\025\n\021IMAGE_UNAVAILABLE\020\001\022\030" + + "\n\024CLOUD_SHELL_DISABLED\020\002\022\021\n\rTOS_VIOLATIO" + + "N\020\004\022\022\n\016QUOTA_EXCEEDED\020\0052\324\010\n\021CloudShellSe" + + "rvice\022\224\001\n\016GetEnvironment\022,.google.cloud." + + "shell.v1.GetEnvironmentRequest\032\".google." + + "cloud.shell.v1.Environment\"0\202\323\344\223\002#\022!/v1/" + + "{name=users/*/environments/*}\332A\004name\022\314\001\n" + + "\020StartEnvironment\022..google.cloud.shell.v" + + "1.StartEnvironmentRequest\032\035.google.longr" + + "unning.Operation\"i\202\323\344\223\002,\"\'/v1/{name=user" + + "s/*/environments/*}:start:\001*\312A4\n\030StartEn" + + "vironmentResponse\022\030StartEnvironmentMetad" + + "ata\022\340\001\n\024AuthorizeEnvironment\0222.google.cl" + + "oud.shell.v1.AuthorizeEnvironmentRequest" + + "\032\035.google.longrunning.Operation\"u\202\323\344\223\0020\"" + + "+/v1/{name=users/*/environments/*}:autho" + + "rize:\001*\312A<\n\034AuthorizeEnvironmentResponse" + + "\022\034AuthorizeEnvironmentMetadata\022\312\001\n\014AddPu" + + "blicKey\022*.google.cloud.shell.v1.AddPubli" + + "cKeyRequest\032\035.google.longrunning.Operati" + + "on\"o\202\323\344\223\002:\"5/v1/{environment=users/*/env" + + "ironments/*}:addPublicKey:\001*\312A,\n\024AddPubl" + + "icKeyResponse\022\024AddPublicKeyMetadata\022\331\001\n\017" + + "RemovePublicKey\022-.google.cloud.shell.v1." + + "RemovePublicKeyRequest\032\035.google.longrunn" + + "ing.Operation\"x\202\323\344\223\002=\"8/v1/{environment=" + + "users/*/environments/*}:removePublicKey:" + + "\001*\312A2\n\027RemovePublicKeyResponse\022\027RemovePu" + + "blicKeyMetadata\032M\312A\031cloudshell.googleapi" + + "s.com\322A.https://www.googleapis.com/auth/" + + "cloud-platformBj\n\031com.google.cloud.shell" + + ".v1B\017CloudShellProtoP\001Z:google.golang.or" + + "g/genproto/googleapis/cloud/shell/v1;she" + + "llb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -194,7 +193,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_shell_v1_Environment_descriptor = @@ -344,7 +342,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto b/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto index f4b35b17..6d4f6c6b 100644 --- a/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto +++ b/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto @@ -21,7 +21,6 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/shell/v1;shell"; diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index bc4c9da6..0252e867 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-shell - 2.2.3 + 2.2.4 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 26c4649b..6b851dac 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-shell - 2.2.3 + 2.2.4 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 02e54afd..b74d26e9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-shell - 2.2.3 + 2.2.4 diff --git a/versions.txt b/versions.txt index 5e6c1595..170a1b9f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-shell:2.2.4:2.2.4 -grpc-google-cloud-shell-v1:2.2.4:2.2.4 -proto-google-cloud-shell-v1:2.2.4:2.2.4 +google-cloud-shell:2.2.5:2.2.5 +grpc-google-cloud-shell-v1:2.2.5:2.2.5 +proto-google-cloud-shell-v1:2.2.5:2.2.5