Skip to content

Commit a6fa497

Browse files
chore: Set rest_numeric_enums = False for all gapic rules explicitly (#124)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9
1 parent 1d39944 commit a6fa497

File tree

98 files changed

+196
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+196
-202
lines changed

java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@
130130
* // - It may require specifying regional endpoints when creating the service client as shown in
131131
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
132132
* BareMetalSolutionSettings bareMetalSolutionSettings =
133-
* BareMetalSolutionSettings.newBuilder()
134-
* .setTransportChannelProvider(
135-
* BareMetalSolutionSettings.defaultHttpJsonTransportProviderBuilder().build())
136-
* .build();
133+
* BareMetalSolutionSettings.newHttpJsonBuilder().build();
137134
* BareMetalSolutionClient bareMetalSolutionClient =
138135
* BareMetalSolutionClient.create(bareMetalSolutionSettings);
139136
* }</pre>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_Create_SetCredentialsProvider_sync]
2020
import com.google.api.gax.core.FixedCredentialsProvider;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings;
@@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception {
4242
BareMetalSolutionClient.create(bareMetalSolutionSettings);
4343
}
4444
}
45-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider_sync]
45+
// [END baremetalsolution_v2_generated_BareMetalSolution_Create_SetCredentialsProvider_sync]
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider1_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_Create_SetCredentialsProvider1_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings;
2222

@@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
3333
// - It may require specifying regional endpoints when creating the service client as shown in
3434
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3535
BareMetalSolutionSettings bareMetalSolutionSettings =
36-
BareMetalSolutionSettings.newBuilder()
37-
.setTransportChannelProvider(
38-
BareMetalSolutionSettings.defaultHttpJsonTransportProviderBuilder().build())
39-
.build();
36+
BareMetalSolutionSettings.newHttpJsonBuilder().build();
4037
BareMetalSolutionClient bareMetalSolutionClient =
4138
BareMetalSolutionClient.create(bareMetalSolutionSettings);
4239
}
4340
}
44-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_create_setcredentialsprovider1_sync]
41+
// [END baremetalsolution_v2_generated_BareMetalSolution_Create_SetCredentialsProvider1_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_create_setendpoint_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_Create_SetEndpoint_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings;
2222
import com.google.cloud.baremetalsolution.v2.myEndpoint;
@@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception {
3939
BareMetalSolutionClient.create(bareMetalSolutionSettings);
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_create_setendpoint_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_Create_SetEndpoint_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.DetachLunRequest;
@@ -48,4 +48,4 @@ public static void asyncDetachLun() throws Exception {
4848
}
4949
}
5050
}
51-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_async]
51+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_lro_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_LRO_async]
2020
import com.google.api.gax.longrunning.OperationFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.DetachLunRequest;
@@ -50,4 +50,4 @@ public static void asyncDetachLunLRO() throws Exception {
5050
}
5151
}
5252
}
53-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_lro_async]
53+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_LRO_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.DetachLunRequest;
2222
import com.google.cloud.baremetalsolution.v2.Instance;
@@ -45,4 +45,4 @@ public static void syncDetachLun() throws Exception {
4545
}
4646
}
4747
}
48-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_sync]
48+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_instancenamelunname_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_InstancenameLunname_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -41,4 +41,4 @@ public static void syncDetachLunInstancenameLunname() throws Exception {
4141
}
4242
}
4343
}
44-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_instancenamelunname_sync]
44+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_InstancenameLunname_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_instancenamestring_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_InstancenameString_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -41,4 +41,4 @@ public static void syncDetachLunInstancenameString() throws Exception {
4141
}
4242
}
4343
}
44-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_instancenamestring_sync]
44+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_InstancenameString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_stringlunname_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_StringLunname_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -41,4 +41,4 @@ public static void syncDetachLunStringLunname() throws Exception {
4141
}
4242
}
4343
}
44-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_stringlunname_sync]
44+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_StringLunname_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_stringstring_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_DetachLun_StringString_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -41,4 +41,4 @@ public static void syncDetachLunStringString() throws Exception {
4141
}
4242
}
4343
}
44-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_detachlun_stringstring_sync]
44+
// [END baremetalsolution_v2_generated_BareMetalSolution_DetachLun_StringString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetInstance_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.GetInstanceRequest;
@@ -47,4 +47,4 @@ public static void asyncGetInstance() throws Exception {
4747
}
4848
}
4949
}
50-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_async]
50+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetInstance_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetInstance_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.GetInstanceRequest;
2222
import com.google.cloud.baremetalsolution.v2.Instance;
@@ -43,4 +43,4 @@ public static void syncGetInstance() throws Exception {
4343
}
4444
}
4545
}
46-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_sync]
46+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetInstance_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_instancename_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetInstance_Instancename_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -39,4 +39,4 @@ public static void syncGetInstanceInstancename() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_instancename_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetInstance_Instancename_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_string_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetInstance_String_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Instance;
2222
import com.google.cloud.baremetalsolution.v2.InstanceName;
@@ -39,4 +39,4 @@ public static void syncGetInstanceString() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getinstance_string_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetInstance_String_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getlun_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetLun_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.GetLunRequest;
@@ -46,4 +46,4 @@ public static void asyncGetLun() throws Exception {
4646
}
4747
}
4848
}
49-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getlun_async]
49+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetLun_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getlun_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetLun_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.GetLunRequest;
2222
import com.google.cloud.baremetalsolution.v2.Lun;
@@ -43,4 +43,4 @@ public static void syncGetLun() throws Exception {
4343
}
4444
}
4545
}
46-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getlun_sync]
46+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetLun_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getlun_lunname_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetLun_Lunname_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Lun;
2222
import com.google.cloud.baremetalsolution.v2.LunName;
@@ -39,4 +39,4 @@ public static void syncGetLunLunname() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getlun_lunname_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetLun_Lunname_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getlun_string_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetLun_String_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Lun;
2222
import com.google.cloud.baremetalsolution.v2.LunName;
@@ -39,4 +39,4 @@ public static void syncGetLunString() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getlun_string_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetLun_String_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.GetNetworkRequest;
@@ -46,4 +46,4 @@ public static void asyncGetNetwork() throws Exception {
4646
}
4747
}
4848
}
49-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_async]
49+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.GetNetworkRequest;
2222
import com.google.cloud.baremetalsolution.v2.Network;
@@ -43,4 +43,4 @@ public static void syncGetNetwork() throws Exception {
4343
}
4444
}
4545
}
46-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_sync]
46+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_networkname_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_Networkname_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Network;
2222
import com.google.cloud.baremetalsolution.v2.NetworkName;
@@ -39,4 +39,4 @@ public static void syncGetNetworkNetworkname() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_networkname_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_Networkname_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_string_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_String_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.Network;
2222
import com.google.cloud.baremetalsolution.v2.NetworkName;
@@ -39,4 +39,4 @@ public static void syncGetNetworkString() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnetwork_string_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_String_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_async]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2222
import com.google.cloud.baremetalsolution.v2.GetNfsShareRequest;
@@ -47,4 +47,4 @@ public static void asyncGetNfsShare() throws Exception {
4747
}
4848
}
4949
}
50-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_async]
50+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.GetNfsShareRequest;
2222
import com.google.cloud.baremetalsolution.v2.NFSShareName;
@@ -43,4 +43,4 @@ public static void syncGetNfsShare() throws Exception {
4343
}
4444
}
4545
}
46-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_sync]
46+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.baremetalsolution.v2.samples;
1818

19-
// [START baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_nfssharename_sync]
19+
// [START baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_Nfssharename_sync]
2020
import com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient;
2121
import com.google.cloud.baremetalsolution.v2.NFSShareName;
2222
import com.google.cloud.baremetalsolution.v2.NfsShare;
@@ -39,4 +39,4 @@ public static void syncGetNfsShareNfssharename() throws Exception {
3939
}
4040
}
4141
}
42-
// [END baremetalsolution_v2_generated_baremetalsolutionclient_getnfsshare_nfssharename_sync]
42+
// [END baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_Nfssharename_sync]

0 commit comments

Comments
 (0)