Skip to content

Commit 9d6e4ee

Browse files
Added args to main function
1 parent 0acae16 commit 9d6e4ee

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

secretmanager/src/main/java/secretmanager/CreateSecretWithCmek.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
public class CreateSecretWithCmek {
2828

29-
public static void main() throws IOException {
29+
public static void main(String[] args) throws IOException {
3030
// TODO(developer): Replace these variables before running the sample.
3131

3232
// This is the id of the GCP project

secretmanager/src/main/java/secretmanager/DeleteSecretAnnotations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
import com.google.protobuf.util.FieldMaskUtil;
2525
import java.io.IOException;
2626
import java.util.HashMap;
27-
import java.util.Map;
2827

2928
public class DeleteSecretAnnotations {
3029

31-
public static void main() throws IOException {
30+
31+
public static void main(String[] args) throws IOException {
3232
// TODO(developer): Replace these variables before running the sample.
3333

3434
// This is the id of the GCP project

secretmanager/src/main/java/secretmanager/regionalsamples/CreateRegionalSecretWithCmek.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
public class CreateRegionalSecretWithCmek {
2828

29-
public static void main() throws IOException {
29+
public static void main(String[] args) throws IOException {
3030
// TODO(developer): Replace these variables before running the sample.
3131

3232
// This is the id of the GCP project

secretmanager/src/main/java/secretmanager/regionalsamples/DeleteRegionalSecretAnnotations.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@
2525
import com.google.protobuf.util.FieldMaskUtil;
2626
import java.io.IOException;
2727
import java.util.HashMap;
28-
import java.util.Map;
2928

3029
public class DeleteRegionalSecretAnnotations {
3130

32-
public static void main() throws IOException {
31+
public static void main(String[] args) throws IOException {
3332
// TODO(developer): Replace these variables before running the sample.
3433

3534
// This is the id of the GCP project

0 commit comments

Comments
 (0)