11#![ allow( dead_code) ]
22use gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: Instance ;
33
4- async fn instances_create ( project : & str , location : & str , instance_name : & str ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
4+ async fn instances_create (
5+ project : & str ,
6+ location : & str ,
7+ instance_name : & str ,
8+ ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
59 let google_rest_client = gcloud_sdk:: GoogleRestApi :: new ( ) . await ?;
610
711 let instance = Instance {
@@ -41,7 +45,11 @@ async fn instances_create(project: &str, location: &str, instance_name: &str) ->
4145 Ok ( ( ) )
4246}
4347
44- async fn instances_delete ( project : & str , location : & str , instance_name : & str ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
48+ async fn instances_delete (
49+ project : & str ,
50+ location : & str ,
51+ instance_name : & str ,
52+ ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
4553 let google_rest_client = gcloud_sdk:: GoogleRestApi :: new ( ) . await ?;
4654
4755 let response = gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: projects_api:: autopush_lustre_sandbox_projects_locations_instances_delete (
@@ -66,7 +74,11 @@ async fn instances_delete(project: &str, location: &str, instance_name: &str) ->
6674 Ok ( ( ) )
6775}
6876
69- async fn instances_get ( project : & str , location : & str , instance_name : & str ) -> Result < gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: Instance , Box < dyn std:: error:: Error > > {
77+ async fn instances_get (
78+ project : & str ,
79+ location : & str ,
80+ instance_name : & str ,
81+ ) -> Result < gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: Instance , Box < dyn std:: error:: Error > > {
7082 let google_rest_client = gcloud_sdk:: GoogleRestApi :: new ( ) . await ?;
7183
7284 let response = gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: projects_api:: autopush_lustre_sandbox_projects_locations_instances_get (
@@ -89,7 +101,11 @@ async fn instances_get(project: &str, location: &str, instance_name: &str) -> Re
89101 Ok ( response)
90102}
91103
92- async fn instances_list ( project : & str , location : & str ) -> Result < Vec < gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: Instance > , Box < dyn std:: error:: Error > > {
104+ async fn instances_list (
105+ project : & str ,
106+ location : & str ,
107+ ) -> Result < Vec < gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: Instance > , Box < dyn std:: error:: Error > >
108+ {
93109 let google_rest_client = gcloud_sdk:: GoogleRestApi :: new ( ) . await ?;
94110
95111 let response = gcloud_sdk:: google_rest_apis:: lustre_v1alpha:: projects_api:: autopush_lustre_sandbox_projects_locations_instances_list (
0 commit comments