File tree 1 file changed +9
-9
lines changed
compute/cloud-client/src/main/java/compute
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ public class CreateTemplateWithSubnet {
32
32
33
33
public static void main (String [] args )
34
34
throws IOException , ExecutionException , InterruptedException {
35
- /*
36
- TODO(developer): Replace these variables before running the sample.
37
- projectId: project ID or project number of the Cloud project you use.
38
- network: the network to be used in the new template. This value uses
39
- the following format: "projects/{project}/global/networks/{network}"
40
- subnetwork: the subnetwork to be used in the new template. This value
41
- uses the following format: "projects/{project}/regions/{region}/subnetworks/{subnetwork}"
42
- templateName: name of the new template to create.
43
- */
35
+ /*
36
+ TODO(developer): Replace these variables before running the sample.
37
+ projectId: project ID or project number of the Cloud project you use.
38
+ network: the network to be used in the new template. This value uses
39
+ the following format: "projects/{project}/global/networks/{network}"
40
+ subnetwork: the subnetwork to be used in the new template. This value
41
+ uses the following format: "projects/{project}/regions/{region}/subnetworks/{subnetwork}"
42
+ templateName: name of the new template to create.
43
+ */
44
44
String projectId = "your-project-id" ;
45
45
String network = "projects/{project}/global/networks/{network}" ;
46
46
String subnetwork = "projects/{project}/regions/{region}/subnetworks/{subnetwork}" ;
You can’t perform that action at this time.
0 commit comments