diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..a43a52b7e20f
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_ResumeInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ResumeInstancesAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersResumeInstancesRequest instanceGroupManagersResumeInstancesRequestResource = new InstanceGroupManagersResumeInstancesRequest();
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.ResumeInstancesAsync(project, zone, instanceGroupManager, instanceGroupManagersResumeInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceResumeInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_ResumeInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..ae1f02ac2ec2
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_ResumeInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ResumeInstancesRequestObjectAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ ResumeInstancesInstanceGroupManagerRequest request = new ResumeInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersResumeInstancesRequestResource = new InstanceGroupManagersResumeInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.ResumeInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceResumeInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_ResumeInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..fc2b92ca70dd
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void ResumeInstancesRequestObject()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ ResumeInstancesInstanceGroupManagerRequest request = new ResumeInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersResumeInstancesRequestResource = new InstanceGroupManagersResumeInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.ResumeInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceResumeInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesSnippet.g.cs
new file mode 100644
index 000000000000..c46ffe7f61dc
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.ResumeInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void ResumeInstances()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersResumeInstancesRequest instanceGroupManagersResumeInstancesRequestResource = new InstanceGroupManagersResumeInstancesRequest();
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.ResumeInstances(project, zone, instanceGroupManager, instanceGroupManagersResumeInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceResumeInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..736ccd603ddb
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StartInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StartInstancesAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersStartInstancesRequest instanceGroupManagersStartInstancesRequestResource = new InstanceGroupManagersStartInstancesRequest();
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.StartInstancesAsync(project, zone, instanceGroupManager, instanceGroupManagersStartInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceStartInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StartInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..6e855c64efcf
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StartInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StartInstancesRequestObjectAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ StartInstancesInstanceGroupManagerRequest request = new StartInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ Project = "",
+ InstanceGroupManager = "",
+ InstanceGroupManagersStartInstancesRequestResource = new InstanceGroupManagersStartInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.StartInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceStartInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StartInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..e0c76ed38095
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StartInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StartInstancesRequestObject()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ StartInstancesInstanceGroupManagerRequest request = new StartInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ Project = "",
+ InstanceGroupManager = "",
+ InstanceGroupManagersStartInstancesRequestResource = new InstanceGroupManagersStartInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.StartInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceStartInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StartInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesSnippet.g.cs
new file mode 100644
index 000000000000..0e7cf1829cc7
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StartInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StartInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StartInstances()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersStartInstancesRequest instanceGroupManagersStartInstancesRequestResource = new InstanceGroupManagersStartInstancesRequest();
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.StartInstances(project, zone, instanceGroupManager, instanceGroupManagersStartInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceStartInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StartInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..e97d8da3e7f6
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StopInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StopInstancesAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersStopInstancesRequest instanceGroupManagersStopInstancesRequestResource = new InstanceGroupManagersStopInstancesRequest();
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.StopInstancesAsync(project, zone, instanceGroupManager, instanceGroupManagersStopInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceStopInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StopInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..d5211cebab2a
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StopInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StopInstancesRequestObjectAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ StopInstancesInstanceGroupManagerRequest request = new StopInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersStopInstancesRequestResource = new InstanceGroupManagersStopInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.StopInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceStopInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StopInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..e0c2f2212f99
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StopInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StopInstancesRequestObject()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ StopInstancesInstanceGroupManagerRequest request = new StopInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersStopInstancesRequestResource = new InstanceGroupManagersStopInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.StopInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceStopInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StopInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesSnippet.g.cs
new file mode 100644
index 000000000000..bab751779bc1
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.StopInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_StopInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StopInstances()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersStopInstancesRequest instanceGroupManagersStopInstancesRequestResource = new InstanceGroupManagersStopInstancesRequest();
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.StopInstances(project, zone, instanceGroupManager, instanceGroupManagersStopInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceStopInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_StopInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..d92a58595908
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_SuspendInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SuspendInstancesAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersSuspendInstancesRequest instanceGroupManagersSuspendInstancesRequestResource = new InstanceGroupManagersSuspendInstancesRequest();
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.SuspendInstancesAsync(project, zone, instanceGroupManager, instanceGroupManagersSuspendInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceSuspendInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_SuspendInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..ad5db52d67dd
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_SuspendInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SuspendInstancesRequestObjectAsync()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = await InstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ SuspendInstancesInstanceGroupManagerRequest request = new SuspendInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersSuspendInstancesRequestResource = new InstanceGroupManagersSuspendInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = await instanceGroupManagersClient.SuspendInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await instanceGroupManagersClient.PollOnceSuspendInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_SuspendInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..de036567578b
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SuspendInstancesRequestObject()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ SuspendInstancesInstanceGroupManagerRequest request = new SuspendInstancesInstanceGroupManagerRequest
+ {
+ Zone = "",
+ RequestId = "",
+ InstanceGroupManagersSuspendInstancesRequestResource = new InstanceGroupManagersSuspendInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.SuspendInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceSuspendInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesSnippet.g.cs
new file mode 100644
index 000000000000..28dfdd25f690
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstanceGroupManagersClient.SuspendInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SuspendInstances()
+ {
+ // Create client
+ InstanceGroupManagersClient instanceGroupManagersClient = InstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string zone = "";
+ string instanceGroupManager = "";
+ InstanceGroupManagersSuspendInstancesRequest instanceGroupManagersSuspendInstancesRequestResource = new InstanceGroupManagersSuspendInstancesRequest();
+ // Make the request
+ lro::Operation response = instanceGroupManagersClient.SuspendInstances(project, zone, instanceGroupManager, instanceGroupManagersSuspendInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = instanceGroupManagersClient.PollOnceSuspendInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetAsyncSnippet.g.cs
new file mode 100644
index 000000000000..bd82b235b7bd
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetAsyncSnippet.g.cs
@@ -0,0 +1,45 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_Get_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for GetAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task GetAsync()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = await NetworkProfilesClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string networkProfile = "";
+ // Make the request
+ NetworkProfile response = await networkProfilesClient.GetAsync(project, networkProfile);
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_Get_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..adcd9489005f
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,48 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_Get_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for GetAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task GetRequestObjectAsync()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = await NetworkProfilesClient.CreateAsync();
+ // Initialize request argument(s)
+ GetNetworkProfileRequest request = new GetNetworkProfileRequest
+ {
+ NetworkProfile = "",
+ Project = "",
+ };
+ // Make the request
+ NetworkProfile response = await networkProfilesClient.GetAsync(request);
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_Get_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..84b17d39c4f6
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetRequestObjectSnippet.g.cs
@@ -0,0 +1,47 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_Get_sync]
+ using Google.Cloud.Compute.V1;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for Get
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void GetRequestObject()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = NetworkProfilesClient.Create();
+ // Initialize request argument(s)
+ GetNetworkProfileRequest request = new GetNetworkProfileRequest
+ {
+ NetworkProfile = "",
+ Project = "",
+ };
+ // Make the request
+ NetworkProfile response = networkProfilesClient.Get(request);
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_Get_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetSnippet.g.cs
new file mode 100644
index 000000000000..f29737dfdd48
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.GetSnippet.g.cs
@@ -0,0 +1,44 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_Get_sync_flattened]
+ using Google.Cloud.Compute.V1;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for Get
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void Get()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = NetworkProfilesClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string networkProfile = "";
+ // Make the request
+ NetworkProfile response = networkProfilesClient.Get(project, networkProfile);
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_Get_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListAsyncSnippet.g.cs
new file mode 100644
index 000000000000..55d842f92569
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListAsyncSnippet.g.cs
@@ -0,0 +1,79 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_List_async_flattened]
+ using Google.Api.Gax;
+ using Google.Cloud.Compute.V1;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for ListAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ListAsync()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = await NetworkProfilesClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ // Make the request
+ PagedAsyncEnumerable response = networkProfilesClient.ListAsync(project);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((NetworkProfile item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((NetworkProfilesListResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (NetworkProfile item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (NetworkProfile item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_List_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..ce7f6476a6fa
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,85 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_List_async]
+ using Google.Api.Gax;
+ using Google.Cloud.Compute.V1;
+ using System;
+ using System.Linq;
+ using System.Threading.Tasks;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for ListAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ListRequestObjectAsync()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = await NetworkProfilesClient.CreateAsync();
+ // Initialize request argument(s)
+ ListNetworkProfilesRequest request = new ListNetworkProfilesRequest
+ {
+ OrderBy = "",
+ Project = "",
+ Filter = "",
+ ReturnPartialSuccess = false,
+ };
+ // Make the request
+ PagedAsyncEnumerable response = networkProfilesClient.ListAsync(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ await response.ForEachAsync((NetworkProfile item) =>
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ });
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ await response.AsRawResponses().ForEachAsync((NetworkProfilesListResponse page) =>
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (NetworkProfile item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ });
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = await response.ReadPageAsync(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (NetworkProfile item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_List_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..ea774b640d24
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListRequestObjectSnippet.g.cs
@@ -0,0 +1,83 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_List_sync]
+ using Google.Api.Gax;
+ using Google.Cloud.Compute.V1;
+ using System;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for List
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void ListRequestObject()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = NetworkProfilesClient.Create();
+ // Initialize request argument(s)
+ ListNetworkProfilesRequest request = new ListNetworkProfilesRequest
+ {
+ OrderBy = "",
+ Project = "",
+ Filter = "",
+ ReturnPartialSuccess = false,
+ };
+ // Make the request
+ PagedEnumerable response = networkProfilesClient.List(request);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (NetworkProfile item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (NetworkProfilesListResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (NetworkProfile item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (NetworkProfile item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_List_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListSnippet.g.cs
new file mode 100644
index 000000000000..09e3471fe020
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/NetworkProfilesClient.ListSnippet.g.cs
@@ -0,0 +1,77 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_NetworkProfiles_List_sync_flattened]
+ using Google.Api.Gax;
+ using Google.Cloud.Compute.V1;
+ using System;
+
+ public sealed partial class GeneratedNetworkProfilesClientSnippets
+ {
+ /// Snippet for List
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void List()
+ {
+ // Create client
+ NetworkProfilesClient networkProfilesClient = NetworkProfilesClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ // Make the request
+ PagedEnumerable response = networkProfilesClient.List(project);
+
+ // Iterate over all response items, lazily performing RPCs as required
+ foreach (NetworkProfile item in response)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+
+ // Or iterate over pages (of server-defined size), performing one RPC per page
+ foreach (NetworkProfilesListResponse page in response.AsRawResponses())
+ {
+ // Do something with each page of items
+ Console.WriteLine("A page of results:");
+ foreach (NetworkProfile item in page)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ }
+
+ // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
+ int pageSize = 10;
+ Page singlePage = response.ReadPage(pageSize);
+ // Do something with the page of items
+ Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
+ foreach (NetworkProfile item in singlePage)
+ {
+ // Do something with each item
+ Console.WriteLine(item);
+ }
+ // Store the pageToken, for when the next page is required.
+ string nextPageToken = singlePage.NextPageToken;
+ }
+ }
+ // [END compute_v1_generated_NetworkProfiles_List_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..216a8ea24527
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ResumeInstancesAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersResumeInstancesRequest regionInstanceGroupManagersResumeInstancesRequestResource = new RegionInstanceGroupManagersResumeInstancesRequest();
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.ResumeInstancesAsync(project, region, instanceGroupManager, regionInstanceGroupManagersResumeInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceResumeInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..2f6ab6fa6caa
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task ResumeInstancesRequestObjectAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ ResumeInstancesRegionInstanceGroupManagerRequest request = new ResumeInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersResumeInstancesRequestResource = new RegionInstanceGroupManagersResumeInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.ResumeInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceResumeInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..91c620d3640d
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void ResumeInstancesRequestObject()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ ResumeInstancesRegionInstanceGroupManagerRequest request = new ResumeInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersResumeInstancesRequestResource = new RegionInstanceGroupManagersResumeInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.ResumeInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceResumeInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesSnippet.g.cs
new file mode 100644
index 000000000000..dc8e0826051b
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.ResumeInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for ResumeInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void ResumeInstances()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersResumeInstancesRequest regionInstanceGroupManagersResumeInstancesRequestResource = new RegionInstanceGroupManagersResumeInstancesRequest();
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.ResumeInstances(project, region, instanceGroupManager, regionInstanceGroupManagersResumeInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceResumeInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..d66ab132b290
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StartInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StartInstancesAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersStartInstancesRequest regionInstanceGroupManagersStartInstancesRequestResource = new RegionInstanceGroupManagersStartInstancesRequest();
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.StartInstancesAsync(project, region, instanceGroupManager, regionInstanceGroupManagersStartInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceStartInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StartInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..db99ddc07ef2
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StartInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StartInstancesRequestObjectAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ StartInstancesRegionInstanceGroupManagerRequest request = new StartInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersStartInstancesRequestResource = new RegionInstanceGroupManagersStartInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.StartInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceStartInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StartInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..d6e4cdf02319
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StartInstancesRequestObject()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ StartInstancesRegionInstanceGroupManagerRequest request = new StartInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersStartInstancesRequestResource = new RegionInstanceGroupManagersStartInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.StartInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceStartInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesSnippet.g.cs
new file mode 100644
index 000000000000..b70b9d2bb784
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StartInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StartInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StartInstances()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersStartInstancesRequest regionInstanceGroupManagersStartInstancesRequestResource = new RegionInstanceGroupManagersStartInstancesRequest();
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.StartInstances(project, region, instanceGroupManager, regionInstanceGroupManagersStartInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceStartInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..27ad2a6f05c8
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StopInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StopInstancesAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersStopInstancesRequest regionInstanceGroupManagersStopInstancesRequestResource = new RegionInstanceGroupManagersStopInstancesRequest();
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.StopInstancesAsync(project, region, instanceGroupManager, regionInstanceGroupManagersStopInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceStopInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StopInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..bb69108d28cc
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StopInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task StopInstancesRequestObjectAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ StopInstancesRegionInstanceGroupManagerRequest request = new StopInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersStopInstancesRequestResource = new RegionInstanceGroupManagersStopInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.StopInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceStopInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StopInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..e96dc0535d06
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StopInstancesRequestObject()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ StopInstancesRegionInstanceGroupManagerRequest request = new StopInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ Project = "",
+ InstanceGroupManager = "",
+ RegionInstanceGroupManagersStopInstancesRequestResource = new RegionInstanceGroupManagersStopInstancesRequest(),
+ };
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.StopInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceStopInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesSnippet.g.cs
new file mode 100644
index 000000000000..3eff0ae850bb
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.StopInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for StopInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void StopInstances()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersStopInstancesRequest regionInstanceGroupManagersStopInstancesRequestResource = new RegionInstanceGroupManagersStopInstancesRequest();
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.StopInstances(project, region, instanceGroupManager, regionInstanceGroupManagersStopInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceStopInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs
new file mode 100644
index 000000000000..b52b588eb01e
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SuspendInstancesAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersSuspendInstancesRequest regionInstanceGroupManagersSuspendInstancesRequestResource = new RegionInstanceGroupManagersSuspendInstancesRequest();
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.SuspendInstancesAsync(project, region, instanceGroupManager, regionInstanceGroupManagersSuspendInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceSuspendInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..75ab8e3a65e5
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstancesAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SuspendInstancesRequestObjectAsync()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = await RegionInstanceGroupManagersClient.CreateAsync();
+ // Initialize request argument(s)
+ SuspendInstancesRegionInstanceGroupManagerRequest request = new SuspendInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ RegionInstanceGroupManagersSuspendInstancesRequestResource = new RegionInstanceGroupManagersSuspendInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = await regionInstanceGroupManagersClient.SuspendInstancesAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionInstanceGroupManagersClient.PollOnceSuspendInstancesAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..b4fffc329b5a
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SuspendInstancesRequestObject()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ SuspendInstancesRegionInstanceGroupManagerRequest request = new SuspendInstancesRegionInstanceGroupManagerRequest
+ {
+ RequestId = "",
+ Region = "",
+ RegionInstanceGroupManagersSuspendInstancesRequestResource = new RegionInstanceGroupManagersSuspendInstancesRequest(),
+ Project = "",
+ InstanceGroupManager = "",
+ };
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.SuspendInstances(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceSuspendInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesSnippet.g.cs
new file mode 100644
index 000000000000..816f5c930445
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionInstanceGroupManagersClient.SuspendInstancesSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionInstanceGroupManagersClientSnippets
+ {
+ /// Snippet for SuspendInstances
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SuspendInstances()
+ {
+ // Create client
+ RegionInstanceGroupManagersClient regionInstanceGroupManagersClient = RegionInstanceGroupManagersClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string instanceGroupManager = "";
+ RegionInstanceGroupManagersSuspendInstancesRequest regionInstanceGroupManagersSuspendInstancesRequestResource = new RegionInstanceGroupManagersSuspendInstancesRequest();
+ // Make the request
+ lro::Operation response = regionInstanceGroupManagersClient.SuspendInstances(project, region, instanceGroupManager, regionInstanceGroupManagersSuspendInstancesRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionInstanceGroupManagersClient.PollOnceSuspendInstances(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsAsyncSnippet.g.cs
new file mode 100644
index 000000000000..b3073599b703
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsAsyncSnippet.g.cs
@@ -0,0 +1,66 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionSecurityPolicies_SetLabels_async_flattened]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionSecurityPoliciesClientSnippets
+ {
+ /// Snippet for SetLabelsAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SetLabelsAsync()
+ {
+ // Create client
+ RegionSecurityPoliciesClient regionSecurityPoliciesClient = await RegionSecurityPoliciesClient.CreateAsync();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string resource = "";
+ RegionSetLabelsRequest regionSetLabelsRequestResource = new RegionSetLabelsRequest();
+ // Make the request
+ lro::Operation response = await regionSecurityPoliciesClient.SetLabelsAsync(project, region, resource, regionSetLabelsRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionSecurityPoliciesClient.PollOnceSetLabelsAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionSecurityPolicies_SetLabels_async_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectAsyncSnippet.g.cs
new file mode 100644
index 000000000000..7a677ce709ea
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectAsyncSnippet.g.cs
@@ -0,0 +1,70 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionSecurityPolicies_SetLabels_async]
+ using Google.Cloud.Compute.V1;
+ using System.Threading.Tasks;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionSecurityPoliciesClientSnippets
+ {
+ /// Snippet for SetLabelsAsync
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public async Task SetLabelsRequestObjectAsync()
+ {
+ // Create client
+ RegionSecurityPoliciesClient regionSecurityPoliciesClient = await RegionSecurityPoliciesClient.CreateAsync();
+ // Initialize request argument(s)
+ SetLabelsRegionSecurityPolicyRequest request = new SetLabelsRegionSecurityPolicyRequest
+ {
+ RequestId = "",
+ Region = "",
+ Resource = "",
+ Project = "",
+ RegionSetLabelsRequestResource = new RegionSetLabelsRequest(),
+ };
+ // Make the request
+ lro::Operation response = await regionSecurityPoliciesClient.SetLabelsAsync(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = await response.PollUntilCompletedAsync();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = await regionSecurityPoliciesClient.PollOnceSetLabelsAsync(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionSecurityPolicies_SetLabels_async]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectSnippet.g.cs
new file mode 100644
index 000000000000..276142e57851
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsRequestObjectSnippet.g.cs
@@ -0,0 +1,69 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionSecurityPolicies_SetLabels_sync]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionSecurityPoliciesClientSnippets
+ {
+ /// Snippet for SetLabels
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SetLabelsRequestObject()
+ {
+ // Create client
+ RegionSecurityPoliciesClient regionSecurityPoliciesClient = RegionSecurityPoliciesClient.Create();
+ // Initialize request argument(s)
+ SetLabelsRegionSecurityPolicyRequest request = new SetLabelsRegionSecurityPolicyRequest
+ {
+ RequestId = "",
+ Region = "",
+ Resource = "",
+ Project = "",
+ RegionSetLabelsRequestResource = new RegionSetLabelsRequest(),
+ };
+ // Make the request
+ lro::Operation response = regionSecurityPoliciesClient.SetLabels(request);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionSecurityPoliciesClient.PollOnceSetLabels(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionSecurityPolicies_SetLabels_sync]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsSnippet.g.cs b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsSnippet.g.cs
new file mode 100644
index 000000000000..a719d7deae6c
--- /dev/null
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/RegionSecurityPoliciesClient.SetLabelsSnippet.g.cs
@@ -0,0 +1,65 @@
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Generated code. DO NOT EDIT!
+
+#pragma warning disable CS8981
+
+namespace GoogleCSharpSnippets
+{
+ // [START compute_v1_generated_RegionSecurityPolicies_SetLabels_sync_flattened]
+ using Google.Cloud.Compute.V1;
+ using lro = Google.LongRunning;
+
+ public sealed partial class GeneratedRegionSecurityPoliciesClientSnippets
+ {
+ /// Snippet for SetLabels
+ ///
+ /// This snippet has been automatically generated and should be regarded as a code template only.
+ /// It will require modifications to work:
+ /// - It may require correct/in-range values for request initialization.
+ /// - It may require specifying regional endpoints when creating the service client as shown in
+ /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
+ ///
+ public void SetLabels()
+ {
+ // Create client
+ RegionSecurityPoliciesClient regionSecurityPoliciesClient = RegionSecurityPoliciesClient.Create();
+ // Initialize request argument(s)
+ string project = "";
+ string region = "";
+ string resource = "";
+ RegionSetLabelsRequest regionSetLabelsRequestResource = new RegionSetLabelsRequest();
+ // Make the request
+ lro::Operation response = regionSecurityPoliciesClient.SetLabels(project, region, resource, regionSetLabelsRequestResource);
+
+ // Poll until the returned long-running operation is complete
+ lro::Operation completedResponse = response.PollUntilCompleted();
+ // Retrieve the operation result
+ Operation result = completedResponse.Result;
+
+ // Or get the name of the operation
+ string operationName = response.Name;
+ // This name can be stored, then the long-running operation retrieved later by name
+ lro::Operation retrievedResponse = regionSecurityPoliciesClient.PollOnceSetLabels(operationName);
+ // Check if the retrieved long-running operation has completed
+ if (retrievedResponse.IsCompleted)
+ {
+ // If it has completed, then access the result
+ Operation retrievedResult = retrievedResponse.Result;
+ }
+ }
+ }
+ // [END compute_v1_generated_RegionSecurityPolicies_SetLabels_sync_flattened]
+}
diff --git a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/snippet_metadata_google.cloud.compute.v1.json b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/snippet_metadata_google.cloud.compute.v1.json
index ea75c499baf2..739032c3b074 100644
--- a/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/snippet_metadata_google.cloud.compute.v1.json
+++ b/apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/snippet_metadata_google.cloud.compute.v1.json
@@ -36818,6 +36818,222 @@
}
]
},
+ {
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync",
+ "title": "ResumeInstancesRequestObject",
+ "description": "Snippet for ResumeInstances",
+ "file": "InstanceGroupManagersClient.ResumeInstancesRequestObjectSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ResumeInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.ResumeInstances",
+ "parameters": [
+ {
+ "type": "Google.Cloud.Compute.V1.ResumeInstancesInstanceGroupManagerRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.LongRunning.Operation",
+ "client": {
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
+ },
+ "method": {
+ "shortName": "ResumeInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances",
+ "service": {
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 22,
+ "end": 67,
+ "type": "FULL"
+ },
+ {
+ "start": 37,
+ "end": 65,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_async",
+ "title": "ResumeInstancesRequestObjectAsync",
+ "description": "Snippet for ResumeInstancesAsync",
+ "file": "InstanceGroupManagersClient.ResumeInstancesRequestObjectAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ResumeInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.ResumeInstancesAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "Google.Cloud.Compute.V1.ResumeInstancesInstanceGroupManagerRequest",
+ "name": "request"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task>",
+ "client": {
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
+ },
+ "method": {
+ "shortName": "ResumeInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances",
+ "service": {
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
+ }
+ }
+ },
+ "canonical": true,
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 22,
+ "end": 68,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 66,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync_flattened",
+ "title": "ResumeInstances",
+ "description": "Snippet for ResumeInstances",
+ "file": "InstanceGroupManagersClient.ResumeInstancesSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ResumeInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.ResumeInstances",
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "project"
+ },
+ {
+ "type": "System.String",
+ "name": "zone"
+ },
+ {
+ "type": "System.String",
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersResumeInstancesRequest",
+ "name": "instanceGroupManagersResumeInstancesRequestResource"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "Google.LongRunning.Operation",
+ "client": {
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
+ },
+ "method": {
+ "shortName": "ResumeInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances",
+ "service": {
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 22,
+ "end": 63,
+ "type": "FULL"
+ },
+ {
+ "start": 37,
+ "end": 61,
+ "type": "SHORT"
+ }
+ ]
+ },
+ {
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_async_flattened",
+ "title": "ResumeInstancesAsync",
+ "description": "Snippet for ResumeInstancesAsync",
+ "file": "InstanceGroupManagersClient.ResumeInstancesAsyncSnippet.g.cs",
+ "language": "C_SHARP",
+ "clientMethod": {
+ "shortName": "ResumeInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.ResumeInstancesAsync",
+ "async": true,
+ "parameters": [
+ {
+ "type": "System.String",
+ "name": "project"
+ },
+ {
+ "type": "System.String",
+ "name": "zone"
+ },
+ {
+ "type": "System.String",
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersResumeInstancesRequest",
+ "name": "instanceGroupManagersResumeInstancesRequestResource"
+ },
+ {
+ "type": "Google.Api.Gax.Grpc.CallSettings",
+ "name": "callSettings"
+ }
+ ],
+ "resultType": "System.Threading.Tasks.Task>",
+ "client": {
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
+ },
+ "method": {
+ "shortName": "ResumeInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances",
+ "service": {
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
+ }
+ }
+ },
+ "origin": "API_DEFINITION",
+ "segments": [
+ {
+ "start": 22,
+ "end": 64,
+ "type": "FULL"
+ },
+ {
+ "start": 38,
+ "end": 62,
+ "type": "SHORT"
+ }
+ ]
+ },
{
"regionTag": "compute_v1_generated_InstanceGroupManagers_SetInstanceTemplate_sync",
"title": "SetInstanceTemplateRequestObject",
@@ -37251,17 +37467,17 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync",
- "title": "UpdatePerInstanceConfigsRequestObject",
- "description": "Snippet for UpdatePerInstanceConfigs",
- "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_sync",
+ "title": "StartInstancesRequestObject",
+ "description": "Snippet for StartInstances",
+ "file": "InstanceGroupManagersClient.StartInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StartInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.UpdatePerInstanceConfigsInstanceGroupManagerRequest",
+ "type": "Google.Cloud.Compute.V1.StartInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37275,8 +37491,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances",
"service": {
"shortName": "InstanceGroupManagers",
"fullName": "google.cloud.compute.v1.InstanceGroupManagers"
@@ -37299,18 +37515,18 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_async",
- "title": "UpdatePerInstanceConfigsRequestObjectAsync",
- "description": "Snippet for UpdatePerInstanceConfigsAsync",
- "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_async",
+ "title": "StartInstancesRequestObjectAsync",
+ "description": "Snippet for StartInstancesAsync",
+ "file": "InstanceGroupManagersClient.StartInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "UpdatePerInstanceConfigsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigsAsync",
+ "shortName": "StartInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StartInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.UpdatePerInstanceConfigsInstanceGroupManagerRequest",
+ "type": "Google.Cloud.Compute.V1.StartInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37324,8 +37540,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances",
"service": {
"shortName": "InstanceGroupManagers",
"fullName": "google.cloud.compute.v1.InstanceGroupManagers"
@@ -37348,14 +37564,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync_flattened",
- "title": "UpdatePerInstanceConfigs",
- "description": "Snippet for UpdatePerInstanceConfigs",
- "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_sync_flattened",
+ "title": "StartInstances",
+ "description": "Snippet for StartInstances",
+ "file": "InstanceGroupManagersClient.StartInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StartInstances",
"parameters": [
{
"type": "System.String",
@@ -37370,8 +37586,8 @@
"name": "instanceGroupManager"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupManagersUpdatePerInstanceConfigsReq",
- "name": "instanceGroupManagersUpdatePerInstanceConfigsReqResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersStartInstancesRequest",
+ "name": "instanceGroupManagersStartInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -37384,8 +37600,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances",
"service": {
"shortName": "InstanceGroupManagers",
"fullName": "google.cloud.compute.v1.InstanceGroupManagers"
@@ -37407,14 +37623,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_async_flattened",
- "title": "UpdatePerInstanceConfigsAsync",
- "description": "Snippet for UpdatePerInstanceConfigsAsync",
- "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_async_flattened",
+ "title": "StartInstancesAsync",
+ "description": "Snippet for StartInstancesAsync",
+ "file": "InstanceGroupManagersClient.StartInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "UpdatePerInstanceConfigsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigsAsync",
+ "shortName": "StartInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StartInstancesAsync",
"async": true,
"parameters": [
{
@@ -37430,8 +37646,8 @@
"name": "instanceGroupManager"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupManagersUpdatePerInstanceConfigsReq",
- "name": "instanceGroupManagersUpdatePerInstanceConfigsReqResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersStartInstancesRequest",
+ "name": "instanceGroupManagersStartInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -37444,8 +37660,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "UpdatePerInstanceConfigs",
- "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
+ "shortName": "StartInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances",
"service": {
"shortName": "InstanceGroupManagers",
"fullName": "google.cloud.compute.v1.InstanceGroupManagers"
@@ -37467,17 +37683,17 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync",
- "title": "AddInstancesRequestObject",
- "description": "Snippet for AddInstances",
- "file": "InstanceGroupsClient.AddInstancesRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_sync",
+ "title": "StopInstancesRequestObject",
+ "description": "Snippet for StopInstances",
+ "file": "InstanceGroupManagersClient.StopInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StopInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddInstancesInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.StopInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37487,15 +37703,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AddInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37515,18 +37731,18 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_async",
- "title": "AddInstancesRequestObjectAsync",
- "description": "Snippet for AddInstancesAsync",
- "file": "InstanceGroupsClient.AddInstancesRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_async",
+ "title": "StopInstancesRequestObjectAsync",
+ "description": "Snippet for StopInstancesAsync",
+ "file": "InstanceGroupManagersClient.StopInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstancesAsync",
+ "shortName": "StopInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StopInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddInstancesInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.StopInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37536,15 +37752,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AddInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37564,14 +37780,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync_flattened",
- "title": "AddInstances",
- "description": "Snippet for AddInstances",
- "file": "InstanceGroupsClient.AddInstancesSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_sync_flattened",
+ "title": "StopInstances",
+ "description": "Snippet for StopInstances",
+ "file": "InstanceGroupManagersClient.StopInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StopInstances",
"parameters": [
{
"type": "System.String",
@@ -37583,11 +37799,11 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "instanceGroupManager"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupsAddInstancesRequest",
- "name": "instanceGroupsAddInstancesRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersStopInstancesRequest",
+ "name": "instanceGroupManagersStopInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -37596,15 +37812,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AddInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37623,14 +37839,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_async_flattened",
- "title": "AddInstancesAsync",
- "description": "Snippet for AddInstancesAsync",
- "file": "InstanceGroupsClient.AddInstancesAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_async_flattened",
+ "title": "StopInstancesAsync",
+ "description": "Snippet for StopInstancesAsync",
+ "file": "InstanceGroupManagersClient.StopInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstancesAsync",
+ "shortName": "StopInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.StopInstancesAsync",
"async": true,
"parameters": [
{
@@ -37643,11 +37859,11 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "instanceGroupManager"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupsAddInstancesRequest",
- "name": "instanceGroupsAddInstancesRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersStopInstancesRequest",
+ "name": "instanceGroupManagersStopInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -37656,15 +37872,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AddInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
+ "shortName": "StopInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37683,17 +37899,17 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync",
- "title": "AggregatedListRequestObject",
- "description": "Snippet for AggregatedList",
- "file": "InstanceGroupsClient.AggregatedListRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync",
+ "title": "SuspendInstancesRequestObject",
+ "description": "Snippet for SuspendInstances",
+ "file": "InstanceGroupManagersClient.SuspendInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.SuspendInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.SuspendInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37701,17 +37917,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37719,30 +37935,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 84,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
"start": 37,
- "end": 82,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_async",
- "title": "AggregatedListRequestObjectAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstanceGroupsClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_async",
+ "title": "SuspendInstancesRequestObjectAsync",
+ "description": "Snippet for SuspendInstancesAsync",
+ "file": "InstanceGroupManagersClient.SuspendInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedListAsync",
+ "shortName": "SuspendInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.SuspendInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.SuspendInstancesInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37750,17 +37966,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37768,26 +37984,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 86,
+ "start": 22,
+ "end": 68,
"type": "FULL"
},
{
- "start": 39,
- "end": 84,
+ "start": 38,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync_flattened",
- "title": "AggregatedList",
- "description": "Snippet for AggregatedList",
- "file": "InstanceGroupsClient.AggregatedListSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync_flattened",
+ "title": "SuspendInstances",
+ "description": "Snippet for SuspendInstances",
+ "file": "InstanceGroupManagersClient.SuspendInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.SuspendInstances",
"parameters": [
{
"type": "System.String",
@@ -37795,54 +38011,58 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "zone"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "System.String",
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersSuspendInstancesRequest",
+ "name": "instanceGroupManagersSuspendInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 76,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 74,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_async_flattened",
- "title": "AggregatedListAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstanceGroupsClient.AggregatedListAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_async_flattened",
+ "title": "SuspendInstancesAsync",
+ "description": "Snippet for SuspendInstancesAsync",
+ "file": "InstanceGroupManagersClient.SuspendInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedListAsync",
+ "shortName": "SuspendInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.SuspendInstancesAsync",
"async": true,
"parameters": [
{
@@ -37851,57 +38071,61 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "zone"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "System.String",
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersSuspendInstancesRequest",
+ "name": "instanceGroupManagersSuspendInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
+ "shortName": "SuspendInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 78,
+ "start": 22,
+ "end": 64,
"type": "FULL"
},
{
- "start": 39,
- "end": 76,
+ "start": 38,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync",
- "title": "DeleteRequestObject",
- "description": "Snippet for Delete",
- "file": "InstanceGroupsClient.DeleteRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync",
+ "title": "UpdatePerInstanceConfigsRequestObject",
+ "description": "Snippet for UpdatePerInstanceConfigs",
+ "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigs",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.UpdatePerInstanceConfigsInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37911,15 +38135,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37928,29 +38152,29 @@
"segments": [
{
"start": 22,
- "end": 66,
+ "end": 67,
"type": "FULL"
},
{
"start": 37,
- "end": 64,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Delete_async",
- "title": "DeleteRequestObjectAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstanceGroupsClient.DeleteRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_async",
+ "title": "UpdatePerInstanceConfigsRequestObjectAsync",
+ "description": "Snippet for UpdatePerInstanceConfigsAsync",
+ "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.DeleteAsync",
+ "shortName": "UpdatePerInstanceConfigsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigsAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.UpdatePerInstanceConfigsInstanceGroupManagerRequest",
"name": "request"
},
{
@@ -37960,15 +38184,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -37977,25 +38201,25 @@
"segments": [
{
"start": 22,
- "end": 67,
+ "end": 68,
"type": "FULL"
},
{
"start": 38,
- "end": 65,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync_flattened",
- "title": "Delete",
- "description": "Snippet for Delete",
- "file": "InstanceGroupsClient.DeleteSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync_flattened",
+ "title": "UpdatePerInstanceConfigs",
+ "description": "Snippet for UpdatePerInstanceConfigs",
+ "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigs",
"parameters": [
{
"type": "System.String",
@@ -38007,7 +38231,11 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersUpdatePerInstanceConfigsReq",
+ "name": "instanceGroupManagersUpdatePerInstanceConfigsReqResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -38016,15 +38244,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -38032,25 +38260,25 @@
"segments": [
{
"start": 22,
- "end": 62,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 60,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Delete_async_flattened",
- "title": "DeleteAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstanceGroupsClient.DeleteAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_async_flattened",
+ "title": "UpdatePerInstanceConfigsAsync",
+ "description": "Snippet for UpdatePerInstanceConfigsAsync",
+ "file": "InstanceGroupManagersClient.UpdatePerInstanceConfigsAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.DeleteAsync",
+ "shortName": "UpdatePerInstanceConfigsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient.UpdatePerInstanceConfigsAsync",
"async": true,
"parameters": [
{
@@ -38063,7 +38291,11 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "instanceGroupManager"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupManagersUpdatePerInstanceConfigsReq",
+ "name": "instanceGroupManagersUpdatePerInstanceConfigsReqResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -38072,15 +38304,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceGroupsClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
+ "shortName": "InstanceGroupManagersClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupManagersClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
+ "shortName": "UpdatePerInstanceConfigs",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs",
"service": {
- "shortName": "InstanceGroups",
- "fullName": "google.cloud.compute.v1.InstanceGroups"
+ "shortName": "InstanceGroupManagers",
+ "fullName": "google.cloud.compute.v1.InstanceGroupManagers"
}
}
},
@@ -38088,28 +38320,28 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 64,
"type": "FULL"
},
{
"start": 38,
- "end": 61,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Get_sync",
- "title": "GetRequestObject",
- "description": "Snippet for Get",
- "file": "InstanceGroupsClient.GetRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync",
+ "title": "AddInstancesRequestObject",
+ "description": "Snippet for AddInstances",
+ "file": "InstanceGroupsClient.AddInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Get",
+ "shortName": "AddInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.AddInstancesInstanceGroupRequest",
"name": "request"
},
{
@@ -38117,14 +38349,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceGroup",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
+ "shortName": "AddInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38135,30 +38367,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 46,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
- "start": 34,
- "end": 44,
+ "start": 37,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Get_async",
- "title": "GetRequestObjectAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceGroupsClient.GetRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_async",
+ "title": "AddInstancesRequestObjectAsync",
+ "description": "Snippet for AddInstancesAsync",
+ "file": "InstanceGroupsClient.AddInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.GetAsync",
+ "shortName": "AddInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.AddInstancesInstanceGroupRequest",
"name": "request"
},
{
@@ -38166,14 +38398,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
+ "shortName": "AddInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38184,26 +38416,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 47,
+ "start": 22,
+ "end": 68,
"type": "FULL"
},
{
- "start": 35,
- "end": 45,
+ "start": 38,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Get_sync_flattened",
- "title": "Get",
- "description": "Snippet for Get",
- "file": "InstanceGroupsClient.GetSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync_flattened",
+ "title": "AddInstances",
+ "description": "Snippet for AddInstances",
+ "file": "InstanceGroupsClient.AddInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Get",
+ "shortName": "AddInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstances",
"parameters": [
{
"type": "System.String",
@@ -38217,19 +38449,23 @@
"type": "System.String",
"name": "instanceGroup"
},
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsAddInstancesRequest",
+ "name": "instanceGroupsAddInstancesRequestResource"
+ },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceGroup",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
+ "shortName": "AddInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38239,26 +38475,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 43,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
- "start": 34,
- "end": 41,
+ "start": 37,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Get_async_flattened",
- "title": "GetAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceGroupsClient.GetAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_async_flattened",
+ "title": "AddInstancesAsync",
+ "description": "Snippet for AddInstancesAsync",
+ "file": "InstanceGroupsClient.AddInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.GetAsync",
+ "shortName": "AddInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AddInstancesAsync",
"async": true,
"parameters": [
{
@@ -38273,19 +38509,23 @@
"type": "System.String",
"name": "instanceGroup"
},
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsAddInstancesRequest",
+ "name": "instanceGroupsAddInstancesRequestResource"
+ },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
+ "shortName": "AddInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38295,29 +38535,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 44,
+ "start": 22,
+ "end": 64,
"type": "FULL"
},
{
- "start": 35,
- "end": 42,
+ "start": 38,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync",
- "title": "InsertRequestObject",
- "description": "Snippet for Insert",
- "file": "InstanceGroupsClient.InsertRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync",
+ "title": "AggregatedListRequestObject",
+ "description": "Snippet for AggregatedList",
+ "file": "InstanceGroupsClient.AggregatedListRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Insert",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedList",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.InsertInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstanceGroupsRequest",
"name": "request"
},
{
@@ -38325,14 +38565,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38343,30 +38583,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 66,
+ "start": 20,
+ "end": 84,
"type": "FULL"
},
{
"start": 37,
- "end": 64,
+ "end": 82,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Insert_async",
- "title": "InsertRequestObjectAsync",
- "description": "Snippet for InsertAsync",
- "file": "InstanceGroupsClient.InsertRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_async",
+ "title": "AggregatedListRequestObjectAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstanceGroupsClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "InsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.InsertAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedListAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.InsertInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstanceGroupsRequest",
"name": "request"
},
{
@@ -38374,14 +38614,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38392,26 +38632,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 67,
+ "start": 20,
+ "end": 86,
"type": "FULL"
},
{
- "start": 38,
- "end": 65,
+ "start": 39,
+ "end": 84,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync_flattened",
- "title": "Insert",
- "description": "Snippet for Insert",
- "file": "InstanceGroupsClient.InsertSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync_flattened",
+ "title": "AggregatedList",
+ "description": "Snippet for AggregatedList",
+ "file": "InstanceGroupsClient.AggregatedListSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Insert",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedList",
"parameters": [
{
"type": "System.String",
@@ -38419,25 +38659,25 @@
},
{
"type": "System.String",
- "name": "zone"
+ "name": "pageToken"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroup",
- "name": "instanceGroupResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38447,26 +38687,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 62,
+ "start": 20,
+ "end": 76,
"type": "FULL"
},
{
"start": 37,
- "end": 60,
+ "end": 74,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_Insert_async_flattened",
- "title": "InsertAsync",
- "description": "Snippet for InsertAsync",
- "file": "InstanceGroupsClient.InsertAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_async_flattened",
+ "title": "AggregatedListAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstanceGroupsClient.AggregatedListAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "InsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.InsertAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.AggregatedListAsync",
"async": true,
"parameters": [
{
@@ -38475,25 +38715,25 @@
},
{
"type": "System.String",
- "name": "zone"
+ "name": "pageToken"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroup",
- "name": "instanceGroupResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38503,29 +38743,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 63,
+ "start": 20,
+ "end": 78,
"type": "FULL"
},
{
- "start": 38,
- "end": 61,
+ "start": 39,
+ "end": 76,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_List_sync",
- "title": "ListRequestObject",
- "description": "Snippet for List",
- "file": "InstanceGroupsClient.ListRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync",
+ "title": "DeleteRequestObject",
+ "description": "Snippet for Delete",
+ "file": "InstanceGroupsClient.DeleteRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "List",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.List",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Delete",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceGroupRequest",
"name": "request"
},
{
@@ -38533,14 +38773,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceGroups.List",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38551,30 +38791,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 82,
+ "start": 22,
+ "end": 66,
"type": "FULL"
},
{
- "start": 36,
- "end": 80,
+ "start": 37,
+ "end": 64,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_List_async",
- "title": "ListRequestObjectAsync",
- "description": "Snippet for ListAsync",
- "file": "InstanceGroupsClient.ListRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Delete_async",
+ "title": "DeleteRequestObjectAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstanceGroupsClient.DeleteRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.DeleteAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceGroupRequest",
"name": "request"
},
{
@@ -38582,14 +38822,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceGroups.List",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38600,26 +38840,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 84,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
"start": 38,
- "end": 82,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_List_sync_flattened",
- "title": "List",
- "description": "Snippet for List",
- "file": "InstanceGroupsClient.ListSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync_flattened",
+ "title": "Delete",
+ "description": "Snippet for Delete",
+ "file": "InstanceGroupsClient.DeleteSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "List",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.List",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Delete",
"parameters": [
{
"type": "System.String",
@@ -38631,25 +38871,21 @@
},
{
"type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "name": "instanceGroup"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceGroups.List",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38659,26 +38895,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 76,
+ "start": 22,
+ "end": 62,
"type": "FULL"
},
{
- "start": 36,
- "end": 74,
+ "start": 37,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_List_async_flattened",
- "title": "ListAsync",
- "description": "Snippet for ListAsync",
- "file": "InstanceGroupsClient.ListAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Delete_async_flattened",
+ "title": "DeleteAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstanceGroupsClient.DeleteAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.DeleteAsync",
"async": true,
"parameters": [
{
@@ -38691,25 +38927,21 @@
},
{
"type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "name": "instanceGroup"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceGroups.List",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Delete",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38719,29 +38951,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 78,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
"start": 38,
- "end": 76,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync",
- "title": "ListInstancesRequestObject",
- "description": "Snippet for ListInstances",
- "file": "InstanceGroupsClient.ListInstancesRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Get_sync",
+ "title": "GetRequestObject",
+ "description": "Snippet for Get",
+ "file": "InstanceGroupsClient.GetRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstances",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Get",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstancesInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceGroupRequest",
"name": "request"
},
{
@@ -38749,14 +38981,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.Cloud.Compute.V1.InstanceGroup",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "ListInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38768,29 +39000,29 @@
"segments": [
{
"start": 20,
- "end": 84,
+ "end": 46,
"type": "FULL"
},
{
- "start": 36,
- "end": 82,
+ "start": 34,
+ "end": 44,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_async",
- "title": "ListInstancesRequestObjectAsync",
- "description": "Snippet for ListInstancesAsync",
- "file": "InstanceGroupsClient.ListInstancesRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Get_async",
+ "title": "GetRequestObjectAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceGroupsClient.GetRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstancesAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.GetAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstancesInstanceGroupsRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceGroupRequest",
"name": "request"
},
{
@@ -38798,14 +39030,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "ListInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38817,25 +39049,25 @@
"segments": [
{
"start": 20,
- "end": 86,
+ "end": 47,
"type": "FULL"
},
{
- "start": 38,
- "end": 84,
+ "start": 35,
+ "end": 45,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync_flattened",
- "title": "ListInstances",
- "description": "Snippet for ListInstances",
- "file": "InstanceGroupsClient.ListInstancesSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Get_sync_flattened",
+ "title": "Get",
+ "description": "Snippet for Get",
+ "file": "InstanceGroupsClient.GetSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstances",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Get",
"parameters": [
{
"type": "System.String",
@@ -38849,31 +39081,19 @@
"type": "System.String",
"name": "instanceGroup"
},
- {
- "type": "Google.Cloud.Compute.V1.InstanceGroupsListInstancesRequest",
- "name": "instanceGroupsListInstancesRequestResource"
- },
- {
- "type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
- },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.Cloud.Compute.V1.InstanceGroup",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "ListInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38884,25 +39104,25 @@
"segments": [
{
"start": 20,
- "end": 78,
+ "end": 43,
"type": "FULL"
},
{
- "start": 36,
- "end": 76,
+ "start": 34,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_async_flattened",
- "title": "ListInstancesAsync",
- "description": "Snippet for ListInstancesAsync",
- "file": "InstanceGroupsClient.ListInstancesAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Get_async_flattened",
+ "title": "GetAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceGroupsClient.GetAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstancesAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.GetAsync",
"async": true,
"parameters": [
{
@@ -38917,31 +39137,19 @@
"type": "System.String",
"name": "instanceGroup"
},
- {
- "type": "Google.Cloud.Compute.V1.InstanceGroupsListInstancesRequest",
- "name": "instanceGroupsListInstancesRequestResource"
- },
- {
- "type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
- },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "ListInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Get",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -38952,28 +39160,28 @@
"segments": [
{
"start": 20,
- "end": 80,
+ "end": 44,
"type": "FULL"
},
{
- "start": 38,
- "end": 78,
+ "start": 35,
+ "end": 42,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync",
- "title": "RemoveInstancesRequestObject",
- "description": "Snippet for RemoveInstances",
- "file": "InstanceGroupsClient.RemoveInstancesRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync",
+ "title": "InsertRequestObject",
+ "description": "Snippet for Insert",
+ "file": "InstanceGroupsClient.InsertRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "RemoveInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Insert",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.RemoveInstancesInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.InsertInstanceGroupRequest",
"name": "request"
},
{
@@ -38987,8 +39195,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "RemoveInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39000,29 +39208,29 @@
"segments": [
{
"start": 22,
- "end": 67,
+ "end": 66,
"type": "FULL"
},
{
"start": 37,
- "end": 65,
+ "end": 64,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_async",
- "title": "RemoveInstancesRequestObjectAsync",
- "description": "Snippet for RemoveInstancesAsync",
- "file": "InstanceGroupsClient.RemoveInstancesRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Insert_async",
+ "title": "InsertRequestObjectAsync",
+ "description": "Snippet for InsertAsync",
+ "file": "InstanceGroupsClient.InsertRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "RemoveInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstancesAsync",
+ "shortName": "InsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.InsertAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.RemoveInstancesInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.InsertInstanceGroupRequest",
"name": "request"
},
{
@@ -39036,8 +39244,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "RemoveInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39049,25 +39257,25 @@
"segments": [
{
"start": 22,
- "end": 68,
+ "end": 67,
"type": "FULL"
},
{
"start": 38,
- "end": 66,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync_flattened",
- "title": "RemoveInstances",
- "description": "Snippet for RemoveInstances",
- "file": "InstanceGroupsClient.RemoveInstancesSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync_flattened",
+ "title": "Insert",
+ "description": "Snippet for Insert",
+ "file": "InstanceGroupsClient.InsertSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "RemoveInstances",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.Insert",
"parameters": [
{
"type": "System.String",
@@ -39078,12 +39286,8 @@
"name": "zone"
},
{
- "type": "System.String",
- "name": "instanceGroup"
- },
- {
- "type": "Google.Cloud.Compute.V1.InstanceGroupsRemoveInstancesRequest",
- "name": "instanceGroupsRemoveInstancesRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroup",
+ "name": "instanceGroupResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -39096,8 +39300,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "RemoveInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39108,25 +39312,25 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 62,
"type": "FULL"
},
{
"start": 37,
- "end": 61,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_async_flattened",
- "title": "RemoveInstancesAsync",
- "description": "Snippet for RemoveInstancesAsync",
- "file": "InstanceGroupsClient.RemoveInstancesAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_Insert_async_flattened",
+ "title": "InsertAsync",
+ "description": "Snippet for InsertAsync",
+ "file": "InstanceGroupsClient.InsertAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "RemoveInstancesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstancesAsync",
+ "shortName": "InsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.InsertAsync",
"async": true,
"parameters": [
{
@@ -39138,12 +39342,8 @@
"name": "zone"
},
{
- "type": "System.String",
- "name": "instanceGroup"
- },
- {
- "type": "Google.Cloud.Compute.V1.InstanceGroupsRemoveInstancesRequest",
- "name": "instanceGroupsRemoveInstancesRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceGroup",
+ "name": "instanceGroupResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -39156,8 +39356,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "RemoveInstances",
- "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.Insert",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39168,28 +39368,28 @@
"segments": [
{
"start": 22,
- "end": 64,
+ "end": 63,
"type": "FULL"
},
{
"start": 38,
- "end": 62,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync",
- "title": "SetNamedPortsRequestObject",
- "description": "Snippet for SetNamedPorts",
- "file": "InstanceGroupsClient.SetNamedPortsRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_List_sync",
+ "title": "ListRequestObject",
+ "description": "Snippet for List",
+ "file": "InstanceGroupsClient.ListRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetNamedPorts",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.List",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.SetNamedPortsInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstanceGroupsRequest",
"name": "request"
},
{
@@ -39197,14 +39397,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "SetNamedPorts",
- "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.List",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39215,30 +39415,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 67,
+ "start": 20,
+ "end": 82,
"type": "FULL"
},
{
- "start": 37,
- "end": 65,
+ "start": 36,
+ "end": 80,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_async",
- "title": "SetNamedPortsRequestObjectAsync",
- "description": "Snippet for SetNamedPortsAsync",
- "file": "InstanceGroupsClient.SetNamedPortsRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_List_async",
+ "title": "ListRequestObjectAsync",
+ "description": "Snippet for ListAsync",
+ "file": "InstanceGroupsClient.ListRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetNamedPortsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPortsAsync",
+ "shortName": "ListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.SetNamedPortsInstanceGroupRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstanceGroupsRequest",
"name": "request"
},
{
@@ -39246,14 +39446,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "SetNamedPorts",
- "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.List",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39264,26 +39464,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 68,
+ "start": 20,
+ "end": 84,
"type": "FULL"
},
{
"start": 38,
- "end": 66,
+ "end": 82,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync_flattened",
- "title": "SetNamedPorts",
- "description": "Snippet for SetNamedPorts",
- "file": "InstanceGroupsClient.SetNamedPortsSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_List_sync_flattened",
+ "title": "List",
+ "description": "Snippet for List",
+ "file": "InstanceGroupsClient.ListSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetNamedPorts",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.List",
"parameters": [
{
"type": "System.String",
@@ -39295,25 +39495,25 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "pageToken"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupsSetNamedPortsRequest",
- "name": "instanceGroupsSetNamedPortsRequestResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "SetNamedPorts",
- "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.List",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39323,26 +39523,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 63,
+ "start": 20,
+ "end": 76,
"type": "FULL"
},
{
- "start": 37,
- "end": 61,
+ "start": 36,
+ "end": 74,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_async_flattened",
- "title": "SetNamedPortsAsync",
- "description": "Snippet for SetNamedPortsAsync",
- "file": "InstanceGroupsClient.SetNamedPortsAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_List_async_flattened",
+ "title": "ListAsync",
+ "description": "Snippet for ListAsync",
+ "file": "InstanceGroupsClient.ListAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetNamedPortsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPortsAsync",
+ "shortName": "ListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListAsync",
"async": true,
"parameters": [
{
@@ -39355,25 +39555,25 @@
},
{
"type": "System.String",
- "name": "instanceGroup"
+ "name": "pageToken"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceGroupsSetNamedPortsRequest",
- "name": "instanceGroupsSetNamedPortsRequestResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
"shortName": "InstanceGroupsClient",
"fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "SetNamedPorts",
- "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.List",
"service": {
"shortName": "InstanceGroups",
"fullName": "google.cloud.compute.v1.InstanceGroups"
@@ -39383,29 +39583,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 64,
+ "start": 20,
+ "end": 78,
"type": "FULL"
},
{
"start": 38,
- "end": 62,
+ "end": 76,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync",
- "title": "GetRequestObject",
- "description": "Snippet for Get",
- "file": "InstanceSettingsServiceClient.GetRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync",
+ "title": "ListInstancesRequestObject",
+ "description": "Snippet for ListInstances",
+ "file": "InstanceGroupsClient.ListInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Get",
+ "shortName": "ListInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceSettingRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstancesInstanceGroupsRequest",
"name": "request"
},
{
@@ -39413,17 +39613,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceSettings",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
+ "shortName": "ListInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39432,29 +39632,29 @@
"segments": [
{
"start": 20,
- "end": 45,
+ "end": 84,
"type": "FULL"
},
{
- "start": 34,
- "end": 43,
+ "start": 36,
+ "end": 82,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Get_async",
- "title": "GetRequestObjectAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceSettingsServiceClient.GetRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_async",
+ "title": "ListInstancesRequestObjectAsync",
+ "description": "Snippet for ListInstancesAsync",
+ "file": "InstanceGroupsClient.ListInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.GetAsync",
+ "shortName": "ListInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceSettingRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstancesInstanceGroupsRequest",
"name": "request"
},
{
@@ -39462,17 +39662,17 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
+ "shortName": "ListInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39481,25 +39681,25 @@
"segments": [
{
"start": 20,
- "end": 46,
+ "end": 86,
"type": "FULL"
},
{
- "start": 35,
- "end": 44,
+ "start": 38,
+ "end": 84,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync_flattened",
- "title": "Get",
- "description": "Snippet for Get",
- "file": "InstanceSettingsServiceClient.GetSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync_flattened",
+ "title": "ListInstances",
+ "description": "Snippet for ListInstances",
+ "file": "InstanceGroupsClient.ListInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Get",
+ "shortName": "ListInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstances",
"parameters": [
{
"type": "System.String",
@@ -39509,22 +39709,38 @@
"type": "System.String",
"name": "zone"
},
+ {
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsListInstancesRequest",
+ "name": "instanceGroupsListInstancesRequestResource"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceSettings",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
+ "shortName": "ListInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39532,25 +39748,25 @@
"segments": [
{
"start": 20,
- "end": 42,
+ "end": 78,
"type": "FULL"
},
{
- "start": 34,
- "end": 40,
+ "start": 36,
+ "end": 76,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Get_async_flattened",
- "title": "GetAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceSettingsServiceClient.GetAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_async_flattened",
+ "title": "ListInstancesAsync",
+ "description": "Snippet for ListInstancesAsync",
+ "file": "InstanceGroupsClient.ListInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.GetAsync",
+ "shortName": "ListInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.ListInstancesAsync",
"async": true,
"parameters": [
{
@@ -39561,22 +39777,38 @@
"type": "System.String",
"name": "zone"
},
+ {
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsListInstancesRequest",
+ "name": "instanceGroupsListInstancesRequestResource"
+ },
+ {
+ "type": "System.String",
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
+ },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
+ "shortName": "ListInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39584,28 +39816,28 @@
"segments": [
{
"start": 20,
- "end": 43,
+ "end": 80,
"type": "FULL"
},
{
- "start": 35,
- "end": 41,
+ "start": 38,
+ "end": 78,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync",
- "title": "PatchRequestObject",
- "description": "Snippet for Patch",
- "file": "InstanceSettingsServiceClient.PatchRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync",
+ "title": "RemoveInstancesRequestObject",
+ "description": "Snippet for RemoveInstances",
+ "file": "InstanceGroupsClient.RemoveInstancesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Patch",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstances",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.PatchInstanceSettingRequest",
+ "type": "Google.Cloud.Compute.V1.RemoveInstancesInstanceGroupRequest",
"name": "request"
},
{
@@ -39615,15 +39847,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Patch",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39643,18 +39875,18 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_async",
- "title": "PatchRequestObjectAsync",
- "description": "Snippet for PatchAsync",
- "file": "InstanceSettingsServiceClient.PatchRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_async",
+ "title": "RemoveInstancesRequestObjectAsync",
+ "description": "Snippet for RemoveInstancesAsync",
+ "file": "InstanceGroupsClient.RemoveInstancesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "PatchAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.PatchAsync",
+ "shortName": "RemoveInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstancesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.PatchInstanceSettingRequest",
+ "type": "Google.Cloud.Compute.V1.RemoveInstancesInstanceGroupRequest",
"name": "request"
},
{
@@ -39664,15 +39896,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Patch",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39692,14 +39924,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync_flattened",
- "title": "Patch",
- "description": "Snippet for Patch",
- "file": "InstanceSettingsServiceClient.PatchSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync_flattened",
+ "title": "RemoveInstances",
+ "description": "Snippet for RemoveInstances",
+ "file": "InstanceGroupsClient.RemoveInstancesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Patch",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstances",
"parameters": [
{
"type": "System.String",
@@ -39710,8 +39942,12 @@
"name": "zone"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceSettings",
- "name": "instanceSettingsResource"
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsRemoveInstancesRequest",
+ "name": "instanceGroupsRemoveInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -39720,15 +39956,15 @@
],
"resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Patch",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39736,25 +39972,25 @@
"segments": [
{
"start": 22,
- "end": 62,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 60,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_async_flattened",
- "title": "PatchAsync",
- "description": "Snippet for PatchAsync",
- "file": "InstanceSettingsServiceClient.PatchAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_async_flattened",
+ "title": "RemoveInstancesAsync",
+ "description": "Snippet for RemoveInstancesAsync",
+ "file": "InstanceGroupsClient.RemoveInstancesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "PatchAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.PatchAsync",
+ "shortName": "RemoveInstancesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.RemoveInstancesAsync",
"async": true,
"parameters": [
{
@@ -39766,8 +40002,12 @@
"name": "zone"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceSettings",
- "name": "instanceSettingsResource"
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsRemoveInstancesRequest",
+ "name": "instanceGroupsRemoveInstancesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -39776,15 +40016,15 @@
],
"resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceSettingsServiceClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "Patch",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
+ "shortName": "RemoveInstances",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances",
"service": {
- "shortName": "InstanceSettingsService",
- "fullName": "google.cloud.compute.v1.InstanceSettingsService"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39792,28 +40032,28 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 64,
"type": "FULL"
},
{
"start": 38,
- "end": 61,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync",
- "title": "AggregatedListRequestObject",
- "description": "Snippet for AggregatedList",
- "file": "InstanceTemplatesClient.AggregatedListRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync",
+ "title": "SetNamedPortsRequestObject",
+ "description": "Snippet for SetNamedPorts",
+ "file": "InstanceGroupsClient.SetNamedPortsRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPorts",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstanceTemplatesRequest",
+ "type": "Google.Cloud.Compute.V1.SetNamedPortsInstanceGroupRequest",
"name": "request"
},
{
@@ -39821,17 +40061,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39839,30 +40079,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 84,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
"start": 37,
- "end": 82,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_async",
- "title": "AggregatedListRequestObjectAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstanceTemplatesClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_async",
+ "title": "SetNamedPortsRequestObjectAsync",
+ "description": "Snippet for SetNamedPortsAsync",
+ "file": "InstanceGroupsClient.SetNamedPortsRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedListAsync",
+ "shortName": "SetNamedPortsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPortsAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstanceTemplatesRequest",
+ "type": "Google.Cloud.Compute.V1.SetNamedPortsInstanceGroupRequest",
"name": "request"
},
{
@@ -39870,17 +40110,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
@@ -39888,26 +40128,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 86,
+ "start": 22,
+ "end": 68,
"type": "FULL"
},
{
- "start": 39,
- "end": 84,
+ "start": 38,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync_flattened",
- "title": "AggregatedList",
- "description": "Snippet for AggregatedList",
- "file": "InstanceTemplatesClient.AggregatedListSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync_flattened",
+ "title": "SetNamedPorts",
+ "description": "Snippet for SetNamedPorts",
+ "file": "InstanceGroupsClient.SetNamedPortsSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPorts",
"parameters": [
{
"type": "System.String",
@@ -39915,54 +40155,58 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "zone"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsSetNamedPortsRequest",
+ "name": "instanceGroupsSetNamedPortsRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 76,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 74,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_async_flattened",
- "title": "AggregatedListAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstanceTemplatesClient.AggregatedListAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_async_flattened",
+ "title": "SetNamedPortsAsync",
+ "description": "Snippet for SetNamedPortsAsync",
+ "file": "InstanceGroupsClient.SetNamedPortsAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedListAsync",
+ "shortName": "SetNamedPortsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient.SetNamedPortsAsync",
"async": true,
"parameters": [
{
@@ -39971,57 +40215,61 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "zone"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "System.String",
+ "name": "instanceGroup"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceGroupsSetNamedPortsRequest",
+ "name": "instanceGroupsSetNamedPortsRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceGroupsClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceGroupsClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
+ "shortName": "SetNamedPorts",
+ "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceGroups",
+ "fullName": "google.cloud.compute.v1.InstanceGroups"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 78,
+ "start": 22,
+ "end": 64,
"type": "FULL"
},
{
- "start": 39,
- "end": 76,
+ "start": 38,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync",
- "title": "DeleteRequestObject",
- "description": "Snippet for Delete",
- "file": "InstanceTemplatesClient.DeleteRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync",
+ "title": "GetRequestObject",
+ "description": "Snippet for Get",
+ "file": "InstanceSettingsServiceClient.GetRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Delete",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Get",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceSettingRequest",
"name": "request"
},
{
@@ -40029,17 +40277,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Cloud.Compute.V1.InstanceSettings",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
@@ -40047,30 +40295,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 65,
+ "start": 20,
+ "end": 45,
"type": "FULL"
},
{
- "start": 37,
- "end": 63,
+ "start": 34,
+ "end": 43,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Delete_async",
- "title": "DeleteRequestObjectAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstanceTemplatesClient.DeleteRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Get_async",
+ "title": "GetRequestObjectAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceSettingsServiceClient.GetRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.DeleteAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.GetAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceSettingRequest",
"name": "request"
},
{
@@ -40078,17 +40326,17 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
@@ -40096,26 +40344,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 66,
+ "start": 20,
+ "end": 46,
"type": "FULL"
},
{
- "start": 38,
- "end": 64,
+ "start": 35,
+ "end": 44,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync_flattened",
- "title": "Delete",
- "description": "Snippet for Delete",
- "file": "InstanceTemplatesClient.DeleteSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync_flattened",
+ "title": "Get",
+ "description": "Snippet for Get",
+ "file": "InstanceSettingsServiceClient.GetSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Delete",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Get",
"parameters": [
{
"type": "System.String",
@@ -40123,50 +40371,50 @@
},
{
"type": "System.String",
- "name": "instanceTemplate"
+ "name": "zone"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Cloud.Compute.V1.InstanceSettings",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 61,
+ "start": 20,
+ "end": 42,
"type": "FULL"
},
{
- "start": 37,
- "end": 59,
+ "start": 34,
+ "end": 40,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Delete_async_flattened",
- "title": "DeleteAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstanceTemplatesClient.DeleteAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Get_async_flattened",
+ "title": "GetAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceSettingsServiceClient.GetAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.DeleteAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.GetAsync",
"async": true,
"parameters": [
{
@@ -40175,53 +40423,53 @@
},
{
"type": "System.String",
- "name": "instanceTemplate"
+ "name": "zone"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 62,
+ "start": 20,
+ "end": 43,
"type": "FULL"
},
{
- "start": 38,
- "end": 60,
+ "start": 35,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync",
- "title": "GetRequestObject",
- "description": "Snippet for Get",
- "file": "InstanceTemplatesClient.GetRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync",
+ "title": "PatchRequestObject",
+ "description": "Snippet for Patch",
+ "file": "InstanceSettingsServiceClient.PatchRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Get",
+ "shortName": "Patch",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Patch",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.PatchInstanceSettingRequest",
"name": "request"
},
{
@@ -40229,17 +40477,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceTemplate",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
+ "shortName": "Patch",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
@@ -40247,30 +40495,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 45,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
- "start": 34,
- "end": 43,
+ "start": 37,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Get_async",
- "title": "GetRequestObjectAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceTemplatesClient.GetRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_async",
+ "title": "PatchRequestObjectAsync",
+ "description": "Snippet for PatchAsync",
+ "file": "InstanceSettingsServiceClient.PatchRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetAsync",
+ "shortName": "PatchAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.PatchAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.PatchInstanceSettingRequest",
"name": "request"
},
{
@@ -40278,17 +40526,17 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
+ "shortName": "Patch",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
@@ -40296,26 +40544,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 46,
+ "start": 22,
+ "end": 68,
"type": "FULL"
},
{
- "start": 35,
- "end": 44,
+ "start": 38,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync_flattened",
- "title": "Get",
- "description": "Snippet for Get",
- "file": "InstanceTemplatesClient.GetSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync_flattened",
+ "title": "Patch",
+ "description": "Snippet for Patch",
+ "file": "InstanceSettingsServiceClient.PatchSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Get",
+ "shortName": "Patch",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.Patch",
"parameters": [
{
"type": "System.String",
@@ -40323,50 +40571,54 @@
},
{
"type": "System.String",
- "name": "instanceTemplate"
+ "name": "zone"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceSettings",
+ "name": "instanceSettingsResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstanceTemplate",
+ "resultType": "Google.LongRunning.Operation",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
+ "shortName": "Patch",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 42,
+ "start": 22,
+ "end": 62,
"type": "FULL"
},
{
- "start": 34,
- "end": 40,
+ "start": 37,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Get_async_flattened",
- "title": "GetAsync",
- "description": "Snippet for GetAsync",
- "file": "InstanceTemplatesClient.GetAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_async_flattened",
+ "title": "PatchAsync",
+ "description": "Snippet for PatchAsync",
+ "file": "InstanceSettingsServiceClient.PatchAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetAsync",
+ "shortName": "PatchAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient.PatchAsync",
"async": true,
"parameters": [
{
@@ -40375,53 +40627,57 @@
},
{
"type": "System.String",
- "name": "instanceTemplate"
+ "name": "zone"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstanceSettings",
+ "name": "instanceSettingsResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
- "shortName": "InstanceTemplatesClient",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
+ "shortName": "InstanceSettingsServiceClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceSettingsServiceClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
+ "shortName": "Patch",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch",
"service": {
- "shortName": "InstanceTemplates",
- "fullName": "google.cloud.compute.v1.InstanceTemplates"
+ "shortName": "InstanceSettingsService",
+ "fullName": "google.cloud.compute.v1.InstanceSettingsService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 43,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
- "start": 35,
- "end": 41,
+ "start": 38,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync",
- "title": "GetIamPolicyRequestObject",
- "description": "Snippet for GetIamPolicy",
- "file": "InstanceTemplatesClient.GetIamPolicyRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync",
+ "title": "AggregatedListRequestObject",
+ "description": "Snippet for AggregatedList",
+ "file": "InstanceTemplatesClient.AggregatedListRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetIamPolicy",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedList",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetIamPolicyInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstanceTemplatesRequest",
"name": "request"
},
{
@@ -40429,14 +40685,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.Policy",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "GetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40448,29 +40704,29 @@
"segments": [
{
"start": 20,
- "end": 46,
+ "end": 84,
"type": "FULL"
},
{
- "start": 34,
- "end": 44,
+ "start": 37,
+ "end": 82,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_async",
- "title": "GetIamPolicyRequestObjectAsync",
- "description": "Snippet for GetIamPolicyAsync",
- "file": "InstanceTemplatesClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_async",
+ "title": "AggregatedListRequestObjectAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstanceTemplatesClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetIamPolicyAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicyAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedListAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetIamPolicyInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstanceTemplatesRequest",
"name": "request"
},
{
@@ -40478,14 +40734,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "GetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40497,25 +40753,25 @@
"segments": [
{
"start": 20,
- "end": 47,
+ "end": 86,
"type": "FULL"
},
{
- "start": 35,
- "end": 45,
+ "start": 39,
+ "end": 84,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync_flattened",
- "title": "GetIamPolicy",
- "description": "Snippet for GetIamPolicy",
- "file": "InstanceTemplatesClient.GetIamPolicySnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync_flattened",
+ "title": "AggregatedList",
+ "description": "Snippet for AggregatedList",
+ "file": "InstanceTemplatesClient.AggregatedListSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetIamPolicy",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedList",
"parameters": [
{
"type": "System.String",
@@ -40523,21 +40779,25 @@
},
{
"type": "System.String",
- "name": "resource"
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.Policy",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "GetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40548,25 +40808,25 @@
"segments": [
{
"start": 20,
- "end": 42,
+ "end": 76,
"type": "FULL"
},
{
- "start": 34,
- "end": 40,
+ "start": 37,
+ "end": 74,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_async_flattened",
- "title": "GetIamPolicyAsync",
- "description": "Snippet for GetIamPolicyAsync",
- "file": "InstanceTemplatesClient.GetIamPolicyAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_async_flattened",
+ "title": "AggregatedListAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstanceTemplatesClient.AggregatedListAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetIamPolicyAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicyAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.AggregatedListAsync",
"async": true,
"parameters": [
{
@@ -40575,21 +40835,25 @@
},
{
"type": "System.String",
- "name": "resource"
+ "name": "pageToken"
+ },
+ {
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "GetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40600,28 +40864,28 @@
"segments": [
{
"start": 20,
- "end": 43,
+ "end": 78,
"type": "FULL"
},
{
- "start": 35,
- "end": 41,
+ "start": 39,
+ "end": 76,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync",
- "title": "InsertRequestObject",
- "description": "Snippet for Insert",
- "file": "InstanceTemplatesClient.InsertRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync",
+ "title": "DeleteRequestObject",
+ "description": "Snippet for Delete",
+ "file": "InstanceTemplatesClient.DeleteRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Insert",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Insert",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Delete",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.InsertInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceTemplateRequest",
"name": "request"
},
{
@@ -40635,8 +40899,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40659,18 +40923,18 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Insert_async",
- "title": "InsertRequestObjectAsync",
- "description": "Snippet for InsertAsync",
- "file": "InstanceTemplatesClient.InsertRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Delete_async",
+ "title": "DeleteRequestObjectAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstanceTemplatesClient.DeleteRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "InsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.InsertAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.DeleteAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.InsertInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceTemplateRequest",
"name": "request"
},
{
@@ -40684,8 +40948,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40708,22 +40972,22 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync_flattened",
- "title": "Insert",
- "description": "Snippet for Insert",
- "file": "InstanceTemplatesClient.InsertSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync_flattened",
+ "title": "Delete",
+ "description": "Snippet for Delete",
+ "file": "InstanceTemplatesClient.DeleteSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Insert",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Insert",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Delete",
"parameters": [
{
"type": "System.String",
"name": "project"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceTemplate",
- "name": "instanceTemplateResource"
+ "type": "System.String",
+ "name": "instanceTemplate"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -40736,8 +41000,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40759,14 +41023,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_Insert_async_flattened",
- "title": "InsertAsync",
- "description": "Snippet for InsertAsync",
- "file": "InstanceTemplatesClient.InsertAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Delete_async_flattened",
+ "title": "DeleteAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstanceTemplatesClient.DeleteAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "InsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.InsertAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.DeleteAsync",
"async": true,
"parameters": [
{
@@ -40774,8 +41038,8 @@
"name": "project"
},
{
- "type": "Google.Cloud.Compute.V1.InstanceTemplate",
- "name": "instanceTemplateResource"
+ "type": "System.String",
+ "name": "instanceTemplate"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -40788,8 +41052,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "Insert",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40811,17 +41075,17 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_List_sync",
- "title": "ListRequestObject",
- "description": "Snippet for List",
- "file": "InstanceTemplatesClient.ListRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync",
+ "title": "GetRequestObject",
+ "description": "Snippet for Get",
+ "file": "InstanceTemplatesClient.GetRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "List",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.List",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Get",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstanceTemplatesRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceTemplateRequest",
"name": "request"
},
{
@@ -40829,14 +41093,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.Cloud.Compute.V1.InstanceTemplate",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40848,29 +41112,29 @@
"segments": [
{
"start": 20,
- "end": 81,
+ "end": 45,
"type": "FULL"
},
{
- "start": 36,
- "end": 79,
+ "start": 34,
+ "end": 43,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_List_async",
- "title": "ListRequestObjectAsync",
- "description": "Snippet for ListAsync",
- "file": "InstanceTemplatesClient.ListRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Get_async",
+ "title": "GetRequestObjectAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceTemplatesClient.GetRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.ListAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.ListInstanceTemplatesRequest",
+ "type": "Google.Cloud.Compute.V1.GetInstanceTemplateRequest",
"name": "request"
},
{
@@ -40878,14 +41142,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40897,25 +41161,25 @@
"segments": [
{
"start": 20,
- "end": 83,
+ "end": 46,
"type": "FULL"
},
{
- "start": 38,
- "end": 81,
+ "start": 35,
+ "end": 44,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_List_sync_flattened",
- "title": "List",
- "description": "Snippet for List",
- "file": "InstanceTemplatesClient.ListSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync_flattened",
+ "title": "Get",
+ "description": "Snippet for Get",
+ "file": "InstanceTemplatesClient.GetSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "List",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.List",
+ "shortName": "Get",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Get",
"parameters": [
{
"type": "System.String",
@@ -40923,25 +41187,21 @@
},
{
"type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "name": "instanceTemplate"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable",
+ "resultType": "Google.Cloud.Compute.V1.InstanceTemplate",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -40952,25 +41212,25 @@
"segments": [
{
"start": 20,
- "end": 75,
+ "end": 42,
"type": "FULL"
},
{
- "start": 36,
- "end": 73,
+ "start": 34,
+ "end": 40,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_List_async_flattened",
- "title": "ListAsync",
- "description": "Snippet for ListAsync",
- "file": "InstanceTemplatesClient.ListAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Get_async_flattened",
+ "title": "GetAsync",
+ "description": "Snippet for GetAsync",
+ "file": "InstanceTemplatesClient.GetAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "ListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.ListAsync",
+ "shortName": "GetAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetAsync",
"async": true,
"parameters": [
{
@@ -40979,25 +41239,21 @@
},
{
"type": "System.String",
- "name": "pageToken"
- },
- {
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "name": "instanceTemplate"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "List",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
+ "shortName": "Get",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Get",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41008,28 +41264,28 @@
"segments": [
{
"start": 20,
- "end": 77,
+ "end": 43,
"type": "FULL"
},
{
- "start": 38,
- "end": 75,
+ "start": 35,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync",
- "title": "SetIamPolicyRequestObject",
- "description": "Snippet for SetIamPolicy",
- "file": "InstanceTemplatesClient.SetIamPolicyRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync",
+ "title": "GetIamPolicyRequestObject",
+ "description": "Snippet for GetIamPolicy",
+ "file": "InstanceTemplatesClient.GetIamPolicyRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetIamPolicy",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicy",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.SetIamPolicyInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.GetIamPolicyInstanceTemplateRequest",
"name": "request"
},
{
@@ -41043,8 +41299,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "SetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41067,18 +41323,18 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_async",
- "title": "SetIamPolicyRequestObjectAsync",
- "description": "Snippet for SetIamPolicyAsync",
- "file": "InstanceTemplatesClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_async",
+ "title": "GetIamPolicyRequestObjectAsync",
+ "description": "Snippet for GetIamPolicyAsync",
+ "file": "InstanceTemplatesClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetIamPolicyAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicyAsync",
+ "shortName": "GetIamPolicyAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicyAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.SetIamPolicyInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.GetIamPolicyInstanceTemplateRequest",
"name": "request"
},
{
@@ -41092,8 +41348,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "SetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41116,14 +41372,14 @@
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync_flattened",
- "title": "SetIamPolicy",
- "description": "Snippet for SetIamPolicy",
- "file": "InstanceTemplatesClient.SetIamPolicySnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync_flattened",
+ "title": "GetIamPolicy",
+ "description": "Snippet for GetIamPolicy",
+ "file": "InstanceTemplatesClient.GetIamPolicySnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetIamPolicy",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicy",
"parameters": [
{
"type": "System.String",
@@ -41133,10 +41389,6 @@
"type": "System.String",
"name": "resource"
},
- {
- "type": "Google.Cloud.Compute.V1.GlobalSetPolicyRequest",
- "name": "globalSetPolicyRequestResource"
- },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
@@ -41148,8 +41400,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "SetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41160,25 +41412,25 @@
"segments": [
{
"start": 20,
- "end": 43,
+ "end": 42,
"type": "FULL"
},
{
"start": 34,
- "end": 41,
+ "end": 40,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_async_flattened",
- "title": "SetIamPolicyAsync",
- "description": "Snippet for SetIamPolicyAsync",
- "file": "InstanceTemplatesClient.SetIamPolicyAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_async_flattened",
+ "title": "GetIamPolicyAsync",
+ "description": "Snippet for GetIamPolicyAsync",
+ "file": "InstanceTemplatesClient.GetIamPolicyAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "SetIamPolicyAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicyAsync",
+ "shortName": "GetIamPolicyAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.GetIamPolicyAsync",
"async": true,
"parameters": [
{
@@ -41189,10 +41441,6 @@
"type": "System.String",
"name": "resource"
},
- {
- "type": "Google.Cloud.Compute.V1.GlobalSetPolicyRequest",
- "name": "globalSetPolicyRequestResource"
- },
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
@@ -41204,8 +41452,8 @@
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "SetIamPolicy",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
+ "shortName": "GetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41216,28 +41464,28 @@
"segments": [
{
"start": 20,
- "end": 44,
+ "end": 43,
"type": "FULL"
},
{
"start": 35,
- "end": 42,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync",
- "title": "TestIamPermissionsRequestObject",
- "description": "Snippet for TestIamPermissions",
- "file": "InstanceTemplatesClient.TestIamPermissionsRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync",
+ "title": "InsertRequestObject",
+ "description": "Snippet for Insert",
+ "file": "InstanceTemplatesClient.InsertRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "TestIamPermissions",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Insert",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.TestIamPermissionsInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.InsertInstanceTemplateRequest",
"name": "request"
},
{
@@ -41245,14 +41493,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.TestPermissionsResponse",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "TestIamPermissions",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41263,30 +41511,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 46,
+ "start": 22,
+ "end": 65,
"type": "FULL"
},
{
- "start": 34,
- "end": 44,
+ "start": 37,
+ "end": 63,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_async",
- "title": "TestIamPermissionsRequestObjectAsync",
- "description": "Snippet for TestIamPermissionsAsync",
- "file": "InstanceTemplatesClient.TestIamPermissionsRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Insert_async",
+ "title": "InsertRequestObjectAsync",
+ "description": "Snippet for InsertAsync",
+ "file": "InstanceTemplatesClient.InsertRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "TestIamPermissionsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissionsAsync",
+ "shortName": "InsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.InsertAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.TestIamPermissionsInstanceTemplateRequest",
+ "type": "Google.Cloud.Compute.V1.InsertInstanceTemplateRequest",
"name": "request"
},
{
@@ -41294,14 +41542,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "TestIamPermissions",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41312,52 +41560,48 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 47,
+ "start": 22,
+ "end": 66,
"type": "FULL"
},
{
- "start": 35,
- "end": 45,
+ "start": 38,
+ "end": 64,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync_flattened",
- "title": "TestIamPermissions",
- "description": "Snippet for TestIamPermissions",
- "file": "InstanceTemplatesClient.TestIamPermissionsSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync_flattened",
+ "title": "Insert",
+ "description": "Snippet for Insert",
+ "file": "InstanceTemplatesClient.InsertSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "TestIamPermissions",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.Insert",
"parameters": [
{
"type": "System.String",
"name": "project"
},
{
- "type": "System.String",
- "name": "resource"
- },
- {
- "type": "Google.Cloud.Compute.V1.TestPermissionsRequest",
- "name": "testPermissionsRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceTemplate",
+ "name": "instanceTemplateResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.TestPermissionsResponse",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "TestIamPermissions",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41367,26 +41611,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 43,
+ "start": 22,
+ "end": 61,
"type": "FULL"
},
{
- "start": 34,
- "end": 41,
+ "start": 37,
+ "end": 59,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_async_flattened",
- "title": "TestIamPermissionsAsync",
- "description": "Snippet for TestIamPermissionsAsync",
- "file": "InstanceTemplatesClient.TestIamPermissionsAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_Insert_async_flattened",
+ "title": "InsertAsync",
+ "description": "Snippet for InsertAsync",
+ "file": "InstanceTemplatesClient.InsertAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "TestIamPermissionsAsync",
- "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissionsAsync",
+ "shortName": "InsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.InsertAsync",
"async": true,
"parameters": [
{
@@ -41394,26 +41638,22 @@
"name": "project"
},
{
- "type": "System.String",
- "name": "resource"
- },
- {
- "type": "Google.Cloud.Compute.V1.TestPermissionsRequest",
- "name": "testPermissionsRequestResource"
+ "type": "Google.Cloud.Compute.V1.InstanceTemplate",
+ "name": "instanceTemplateResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstanceTemplatesClient",
"fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "TestIamPermissions",
- "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
+ "shortName": "Insert",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert",
"service": {
"shortName": "InstanceTemplates",
"fullName": "google.cloud.compute.v1.InstanceTemplates"
@@ -41423,29 +41663,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 44,
+ "start": 22,
+ "end": 62,
"type": "FULL"
},
{
- "start": 35,
- "end": 42,
+ "start": 38,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync",
- "title": "AddAccessConfigRequestObject",
- "description": "Snippet for AddAccessConfig",
- "file": "InstancesClient.AddAccessConfigRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_List_sync",
+ "title": "ListRequestObject",
+ "description": "Snippet for List",
+ "file": "InstanceTemplatesClient.ListRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddAccessConfig",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.List",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddAccessConfigInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstanceTemplatesRequest",
"name": "request"
},
{
@@ -41453,17 +41693,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41471,30 +41711,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 68,
+ "start": 20,
+ "end": 81,
"type": "FULL"
},
{
- "start": 37,
- "end": 66,
+ "start": 36,
+ "end": 79,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddAccessConfig_async",
- "title": "AddAccessConfigRequestObjectAsync",
- "description": "Snippet for AddAccessConfigAsync",
- "file": "InstancesClient.AddAccessConfigRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_List_async",
+ "title": "ListRequestObjectAsync",
+ "description": "Snippet for ListAsync",
+ "file": "InstanceTemplatesClient.ListRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddAccessConfigAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfigAsync",
+ "shortName": "ListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.ListAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddAccessConfigInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.ListInstanceTemplatesRequest",
"name": "request"
},
{
@@ -41502,17 +41742,17 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41520,26 +41760,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 69,
+ "start": 20,
+ "end": 83,
"type": "FULL"
},
{
"start": 38,
- "end": 67,
+ "end": 81,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync_flattened",
- "title": "AddAccessConfig",
- "description": "Snippet for AddAccessConfig",
- "file": "InstancesClient.AddAccessConfigSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_List_sync_flattened",
+ "title": "List",
+ "description": "Snippet for List",
+ "file": "InstanceTemplatesClient.ListSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddAccessConfig",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.List",
"parameters": [
{
"type": "System.String",
@@ -41547,62 +41787,54 @@
},
{
"type": "System.String",
- "name": "zone"
+ "name": "pageToken"
},
{
- "type": "System.String",
- "name": "instance"
- },
- {
- "type": "System.String",
- "name": "networkInterface"
- },
- {
- "type": "Google.Cloud.Compute.V1.AccessConfig",
- "name": "accessConfigResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 64,
+ "start": 20,
+ "end": 75,
"type": "FULL"
},
{
- "start": 37,
- "end": 62,
+ "start": 36,
+ "end": 73,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddAccessConfig_async_flattened",
- "title": "AddAccessConfigAsync",
- "description": "Snippet for AddAccessConfigAsync",
- "file": "InstancesClient.AddAccessConfigAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_List_async_flattened",
+ "title": "ListAsync",
+ "description": "Snippet for ListAsync",
+ "file": "InstanceTemplatesClient.ListAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddAccessConfigAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfigAsync",
+ "shortName": "ListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.ListAsync",
"async": true,
"parameters": [
{
@@ -41611,65 +41843,57 @@
},
{
"type": "System.String",
- "name": "zone"
- },
- {
- "type": "System.String",
- "name": "instance"
- },
- {
- "type": "System.String",
- "name": "networkInterface"
+ "name": "pageToken"
},
{
- "type": "Google.Cloud.Compute.V1.AccessConfig",
- "name": "accessConfigResource"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
+ "shortName": "List",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.List",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 65,
+ "start": 20,
+ "end": 77,
"type": "FULL"
},
{
"start": 38,
- "end": 63,
+ "end": 75,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync",
- "title": "AddResourcePoliciesRequestObject",
- "description": "Snippet for AddResourcePolicies",
- "file": "InstancesClient.AddResourcePoliciesRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync",
+ "title": "SetIamPolicyRequestObject",
+ "description": "Snippet for SetIamPolicy",
+ "file": "InstanceTemplatesClient.SetIamPolicyRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddResourcePolicies",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicy",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddResourcePoliciesInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.SetIamPolicyInstanceTemplateRequest",
"name": "request"
},
{
@@ -41677,17 +41901,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Cloud.Compute.V1.Policy",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddResourcePolicies",
- "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41695,30 +41919,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 67,
+ "start": 20,
+ "end": 46,
"type": "FULL"
},
{
- "start": 37,
- "end": 65,
+ "start": 34,
+ "end": 44,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_async",
- "title": "AddResourcePoliciesRequestObjectAsync",
- "description": "Snippet for AddResourcePoliciesAsync",
- "file": "InstancesClient.AddResourcePoliciesRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_async",
+ "title": "SetIamPolicyRequestObjectAsync",
+ "description": "Snippet for SetIamPolicyAsync",
+ "file": "InstanceTemplatesClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddResourcePoliciesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePoliciesAsync",
+ "shortName": "SetIamPolicyAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicyAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AddResourcePoliciesInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.SetIamPolicyInstanceTemplateRequest",
"name": "request"
},
{
@@ -41726,17 +41950,17 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddResourcePolicies",
- "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41744,26 +41968,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 68,
+ "start": 20,
+ "end": 47,
"type": "FULL"
},
{
- "start": 38,
- "end": 66,
+ "start": 35,
+ "end": 45,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync_flattened",
- "title": "AddResourcePolicies",
- "description": "Snippet for AddResourcePolicies",
- "file": "InstancesClient.AddResourcePoliciesSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync_flattened",
+ "title": "SetIamPolicy",
+ "description": "Snippet for SetIamPolicy",
+ "file": "InstanceTemplatesClient.SetIamPolicySnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddResourcePolicies",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicy",
"parameters": [
{
"type": "System.String",
@@ -41771,58 +41995,54 @@
},
{
"type": "System.String",
- "name": "zone"
- },
- {
- "type": "System.String",
- "name": "instance"
+ "name": "resource"
},
{
- "type": "Google.Cloud.Compute.V1.InstancesAddResourcePoliciesRequest",
- "name": "instancesAddResourcePoliciesRequestResource"
+ "type": "Google.Cloud.Compute.V1.GlobalSetPolicyRequest",
+ "name": "globalSetPolicyRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Cloud.Compute.V1.Policy",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddResourcePolicies",
- "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 63,
+ "start": 20,
+ "end": 43,
"type": "FULL"
},
{
- "start": 37,
- "end": 61,
+ "start": 34,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_async_flattened",
- "title": "AddResourcePoliciesAsync",
- "description": "Snippet for AddResourcePoliciesAsync",
- "file": "InstancesClient.AddResourcePoliciesAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_async_flattened",
+ "title": "SetIamPolicyAsync",
+ "description": "Snippet for SetIamPolicyAsync",
+ "file": "InstanceTemplatesClient.SetIamPolicyAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AddResourcePoliciesAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePoliciesAsync",
+ "shortName": "SetIamPolicyAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.SetIamPolicyAsync",
"async": true,
"parameters": [
{
@@ -41831,61 +42051,57 @@
},
{
"type": "System.String",
- "name": "zone"
- },
- {
- "type": "System.String",
- "name": "instance"
+ "name": "resource"
},
{
- "type": "Google.Cloud.Compute.V1.InstancesAddResourcePoliciesRequest",
- "name": "instancesAddResourcePoliciesRequestResource"
+ "type": "Google.Cloud.Compute.V1.GlobalSetPolicyRequest",
+ "name": "globalSetPolicyRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AddResourcePolicies",
- "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
+ "shortName": "SetIamPolicy",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 64,
+ "start": 20,
+ "end": 44,
"type": "FULL"
},
{
- "start": 38,
- "end": 62,
+ "start": 35,
+ "end": 42,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AggregatedList_sync",
- "title": "AggregatedListRequestObject",
- "description": "Snippet for AggregatedList",
- "file": "InstancesClient.AggregatedListRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync",
+ "title": "TestIamPermissionsRequestObject",
+ "description": "Snippet for TestIamPermissions",
+ "file": "InstanceTemplatesClient.TestIamPermissionsRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissions",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstancesRequest",
+ "type": "Google.Cloud.Compute.V1.TestIamPermissionsInstanceTemplateRequest",
"name": "request"
},
{
@@ -41893,17 +42109,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.Cloud.Compute.V1.TestPermissionsResponse",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41912,29 +42128,29 @@
"segments": [
{
"start": 20,
- "end": 84,
+ "end": 46,
"type": "FULL"
},
{
- "start": 37,
- "end": 82,
+ "start": 34,
+ "end": 44,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AggregatedList_async",
- "title": "AggregatedListRequestObjectAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstancesClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_async",
+ "title": "TestIamPermissionsRequestObjectAsync",
+ "description": "Snippet for TestIamPermissionsAsync",
+ "file": "InstanceTemplatesClient.TestIamPermissionsRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedListAsync",
+ "shortName": "TestIamPermissionsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissionsAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AggregatedListInstancesRequest",
+ "type": "Google.Cloud.Compute.V1.TestIamPermissionsInstanceTemplateRequest",
"name": "request"
},
{
@@ -41942,17 +42158,17 @@
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -41961,25 +42177,25 @@
"segments": [
{
"start": 20,
- "end": 86,
+ "end": 47,
"type": "FULL"
},
{
- "start": 39,
- "end": 84,
+ "start": 35,
+ "end": 45,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AggregatedList_sync_flattened",
- "title": "AggregatedList",
- "description": "Snippet for AggregatedList",
- "file": "InstancesClient.AggregatedListSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync_flattened",
+ "title": "TestIamPermissions",
+ "description": "Snippet for TestIamPermissions",
+ "file": "InstanceTemplatesClient.TestIamPermissionsSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedList",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissions",
"parameters": [
{
"type": "System.String",
@@ -41987,28 +42203,28 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "resource"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "Google.Cloud.Compute.V1.TestPermissionsRequest",
+ "name": "testPermissionsRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedEnumerable>",
+ "resultType": "Google.Cloud.Compute.V1.TestPermissionsResponse",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -42016,25 +42232,25 @@
"segments": [
{
"start": 20,
- "end": 76,
+ "end": 43,
"type": "FULL"
},
{
- "start": 37,
- "end": 74,
+ "start": 34,
+ "end": 41,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AggregatedList_async_flattened",
- "title": "AggregatedListAsync",
- "description": "Snippet for AggregatedListAsync",
- "file": "InstancesClient.AggregatedListAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_async_flattened",
+ "title": "TestIamPermissionsAsync",
+ "description": "Snippet for TestIamPermissionsAsync",
+ "file": "InstanceTemplatesClient.TestIamPermissionsAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AggregatedListAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedListAsync",
+ "shortName": "TestIamPermissionsAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient.TestIamPermissionsAsync",
"async": true,
"parameters": [
{
@@ -42043,28 +42259,28 @@
},
{
"type": "System.String",
- "name": "pageToken"
+ "name": "resource"
},
{
- "type": "System.Nullable[System.Int32]",
- "name": "pageSize"
+ "type": "Google.Cloud.Compute.V1.TestPermissionsRequest",
+ "name": "testPermissionsRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
+ "resultType": "System.Threading.Tasks.Task",
"client": {
- "shortName": "InstancesClient",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient"
+ "shortName": "InstanceTemplatesClient",
+ "fullName": "Google.Cloud.Compute.V1.InstanceTemplatesClient"
},
"method": {
- "shortName": "AggregatedList",
- "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
+ "shortName": "TestIamPermissions",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions",
"service": {
- "shortName": "Instances",
- "fullName": "google.cloud.compute.v1.Instances"
+ "shortName": "InstanceTemplates",
+ "fullName": "google.cloud.compute.v1.InstanceTemplates"
}
}
},
@@ -42072,28 +42288,28 @@
"segments": [
{
"start": 20,
- "end": 78,
+ "end": 44,
"type": "FULL"
},
{
- "start": 39,
- "end": 76,
+ "start": 35,
+ "end": 42,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AttachDisk_sync",
- "title": "AttachDiskRequestObject",
- "description": "Snippet for AttachDisk",
- "file": "InstancesClient.AttachDiskRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync",
+ "title": "AddAccessConfigRequestObject",
+ "description": "Snippet for AddAccessConfig",
+ "file": "InstancesClient.AddAccessConfigRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AttachDisk",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfig",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AttachDiskInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AddAccessConfigInstanceRequest",
"name": "request"
},
{
@@ -42107,8 +42323,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "AttachDisk",
- "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42131,18 +42347,18 @@
]
},
{
- "regionTag": "compute_v1_generated_Instances_AttachDisk_async",
- "title": "AttachDiskRequestObjectAsync",
- "description": "Snippet for AttachDiskAsync",
- "file": "InstancesClient.AttachDiskRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddAccessConfig_async",
+ "title": "AddAccessConfigRequestObjectAsync",
+ "description": "Snippet for AddAccessConfigAsync",
+ "file": "InstancesClient.AddAccessConfigRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AttachDiskAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDiskAsync",
+ "shortName": "AddAccessConfigAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfigAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.AttachDiskInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AddAccessConfigInstanceRequest",
"name": "request"
},
{
@@ -42156,8 +42372,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "AttachDisk",
- "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42180,14 +42396,14 @@
]
},
{
- "regionTag": "compute_v1_generated_Instances_AttachDisk_sync_flattened",
- "title": "AttachDisk",
- "description": "Snippet for AttachDisk",
- "file": "InstancesClient.AttachDiskSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync_flattened",
+ "title": "AddAccessConfig",
+ "description": "Snippet for AddAccessConfig",
+ "file": "InstancesClient.AddAccessConfigSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AttachDisk",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfig",
"parameters": [
{
"type": "System.String",
@@ -42202,8 +42418,12 @@
"name": "instance"
},
{
- "type": "Google.Cloud.Compute.V1.AttachedDisk",
- "name": "attachedDiskResource"
+ "type": "System.String",
+ "name": "networkInterface"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.AccessConfig",
+ "name": "accessConfigResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42216,8 +42436,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "AttachDisk",
- "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42228,25 +42448,25 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 64,
"type": "FULL"
},
{
"start": 37,
- "end": 61,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_AttachDisk_async_flattened",
- "title": "AttachDiskAsync",
- "description": "Snippet for AttachDiskAsync",
- "file": "InstancesClient.AttachDiskAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddAccessConfig_async_flattened",
+ "title": "AddAccessConfigAsync",
+ "description": "Snippet for AddAccessConfigAsync",
+ "file": "InstancesClient.AddAccessConfigAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "AttachDiskAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDiskAsync",
+ "shortName": "AddAccessConfigAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddAccessConfigAsync",
"async": true,
"parameters": [
{
@@ -42262,8 +42482,12 @@
"name": "instance"
},
{
- "type": "Google.Cloud.Compute.V1.AttachedDisk",
- "name": "attachedDiskResource"
+ "type": "System.String",
+ "name": "networkInterface"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.AccessConfig",
+ "name": "accessConfigResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42276,8 +42500,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "AttachDisk",
- "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
+ "shortName": "AddAccessConfig",
+ "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42288,28 +42512,28 @@
"segments": [
{
"start": 22,
- "end": 64,
+ "end": 65,
"type": "FULL"
},
{
"start": 38,
- "end": 62,
+ "end": 63,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_BulkInsert_sync",
- "title": "BulkInsertRequestObject",
- "description": "Snippet for BulkInsert",
- "file": "InstancesClient.BulkInsertRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync",
+ "title": "AddResourcePoliciesRequestObject",
+ "description": "Snippet for AddResourcePolicies",
+ "file": "InstancesClient.AddResourcePoliciesRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "BulkInsert",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePolicies",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.BulkInsertInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AddResourcePoliciesInstanceRequest",
"name": "request"
},
{
@@ -42323,8 +42547,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "BulkInsert",
- "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42336,29 +42560,29 @@
"segments": [
{
"start": 22,
- "end": 66,
+ "end": 67,
"type": "FULL"
},
{
"start": 37,
- "end": 64,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_BulkInsert_async",
- "title": "BulkInsertRequestObjectAsync",
- "description": "Snippet for BulkInsertAsync",
- "file": "InstancesClient.BulkInsertRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_async",
+ "title": "AddResourcePoliciesRequestObjectAsync",
+ "description": "Snippet for AddResourcePoliciesAsync",
+ "file": "InstancesClient.AddResourcePoliciesRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "BulkInsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsertAsync",
+ "shortName": "AddResourcePoliciesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePoliciesAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.BulkInsertInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AddResourcePoliciesInstanceRequest",
"name": "request"
},
{
@@ -42372,8 +42596,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "BulkInsert",
- "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42385,25 +42609,25 @@
"segments": [
{
"start": 22,
- "end": 67,
+ "end": 68,
"type": "FULL"
},
{
"start": 38,
- "end": 65,
+ "end": 66,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_BulkInsert_sync_flattened",
- "title": "BulkInsert",
- "description": "Snippet for BulkInsert",
- "file": "InstancesClient.BulkInsertSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync_flattened",
+ "title": "AddResourcePolicies",
+ "description": "Snippet for AddResourcePolicies",
+ "file": "InstancesClient.AddResourcePoliciesSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "BulkInsert",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePolicies",
"parameters": [
{
"type": "System.String",
@@ -42414,8 +42638,12 @@
"name": "zone"
},
{
- "type": "Google.Cloud.Compute.V1.BulkInsertInstanceResource",
- "name": "bulkInsertInstanceResourceResource"
+ "type": "System.String",
+ "name": "instance"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstancesAddResourcePoliciesRequest",
+ "name": "instancesAddResourcePoliciesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42428,8 +42656,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "BulkInsert",
- "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42440,25 +42668,25 @@
"segments": [
{
"start": 22,
- "end": 62,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 60,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_BulkInsert_async_flattened",
- "title": "BulkInsertAsync",
- "description": "Snippet for BulkInsertAsync",
- "file": "InstancesClient.BulkInsertAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_async_flattened",
+ "title": "AddResourcePoliciesAsync",
+ "description": "Snippet for AddResourcePoliciesAsync",
+ "file": "InstancesClient.AddResourcePoliciesAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "BulkInsertAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsertAsync",
+ "shortName": "AddResourcePoliciesAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AddResourcePoliciesAsync",
"async": true,
"parameters": [
{
@@ -42470,8 +42698,12 @@
"name": "zone"
},
{
- "type": "Google.Cloud.Compute.V1.BulkInsertInstanceResource",
- "name": "bulkInsertInstanceResourceResource"
+ "type": "System.String",
+ "name": "instance"
+ },
+ {
+ "type": "Google.Cloud.Compute.V1.InstancesAddResourcePoliciesRequest",
+ "name": "instancesAddResourcePoliciesRequestResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42484,8 +42716,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "BulkInsert",
- "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
+ "shortName": "AddResourcePolicies",
+ "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42496,28 +42728,28 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 64,
"type": "FULL"
},
{
"start": 38,
- "end": 61,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Delete_sync",
- "title": "DeleteRequestObject",
- "description": "Snippet for Delete",
- "file": "InstancesClient.DeleteRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AggregatedList_sync",
+ "title": "AggregatedListRequestObject",
+ "description": "Snippet for AggregatedList",
+ "file": "InstancesClient.AggregatedListRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedList",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstancesRequest",
"name": "request"
},
{
@@ -42525,14 +42757,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.Instances.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42543,30 +42775,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 66,
+ "start": 20,
+ "end": 84,
"type": "FULL"
},
{
"start": 37,
- "end": 64,
+ "end": 82,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Delete_async",
- "title": "DeleteRequestObjectAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstancesClient.DeleteRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AggregatedList_async",
+ "title": "AggregatedListRequestObjectAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstancesClient.AggregatedListRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedListAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AggregatedListInstancesRequest",
"name": "request"
},
{
@@ -42574,14 +42806,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.Instances.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42592,26 +42824,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 67,
+ "start": 20,
+ "end": 86,
"type": "FULL"
},
{
- "start": 38,
- "end": 65,
+ "start": 39,
+ "end": 84,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Delete_sync_flattened",
- "title": "Delete",
- "description": "Snippet for Delete",
- "file": "InstancesClient.DeleteSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AggregatedList_sync_flattened",
+ "title": "AggregatedList",
+ "description": "Snippet for AggregatedList",
+ "file": "InstancesClient.AggregatedListSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Delete",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedList",
"parameters": [
{
"type": "System.String",
@@ -42619,25 +42851,25 @@
},
{
"type": "System.String",
- "name": "zone"
+ "name": "pageToken"
},
{
- "type": "System.String",
- "name": "instance"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "Google.LongRunning.Operation",
+ "resultType": "Google.Api.Gax.PagedEnumerable>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.Instances.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42647,26 +42879,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 62,
+ "start": 20,
+ "end": 76,
"type": "FULL"
},
{
"start": 37,
- "end": 60,
+ "end": 74,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Delete_async_flattened",
- "title": "DeleteAsync",
- "description": "Snippet for DeleteAsync",
- "file": "InstancesClient.DeleteAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AggregatedList_async_flattened",
+ "title": "AggregatedListAsync",
+ "description": "Snippet for AggregatedListAsync",
+ "file": "InstancesClient.AggregatedListAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAsync",
+ "shortName": "AggregatedListAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AggregatedListAsync",
"async": true,
"parameters": [
{
@@ -42675,25 +42907,25 @@
},
{
"type": "System.String",
- "name": "zone"
+ "name": "pageToken"
},
{
- "type": "System.String",
- "name": "instance"
+ "type": "System.Nullable[System.Int32]",
+ "name": "pageSize"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task>",
+ "resultType": "Google.Api.Gax.PagedAsyncEnumerable>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Delete",
- "fullName": "google.cloud.compute.v1.Instances.Delete",
+ "shortName": "AggregatedList",
+ "fullName": "google.cloud.compute.v1.Instances.AggregatedList",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42703,29 +42935,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 22,
- "end": 63,
+ "start": 20,
+ "end": 78,
"type": "FULL"
},
{
- "start": 38,
- "end": 61,
+ "start": 39,
+ "end": 76,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_sync",
- "title": "DeleteAccessConfigRequestObject",
- "description": "Snippet for DeleteAccessConfig",
- "file": "InstancesClient.DeleteAccessConfigRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AttachDisk_sync",
+ "title": "AttachDiskRequestObject",
+ "description": "Snippet for AttachDisk",
+ "file": "InstancesClient.AttachDiskRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAccessConfig",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDisk",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteAccessConfigInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AttachDiskInstanceRequest",
"name": "request"
},
{
@@ -42739,8 +42971,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DeleteAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42763,18 +42995,18 @@
]
},
{
- "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_async",
- "title": "DeleteAccessConfigRequestObjectAsync",
- "description": "Snippet for DeleteAccessConfigAsync",
- "file": "InstancesClient.DeleteAccessConfigRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AttachDisk_async",
+ "title": "AttachDiskRequestObjectAsync",
+ "description": "Snippet for AttachDiskAsync",
+ "file": "InstancesClient.AttachDiskRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAccessConfigAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAccessConfigAsync",
+ "shortName": "AttachDiskAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDiskAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DeleteAccessConfigInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.AttachDiskInstanceRequest",
"name": "request"
},
{
@@ -42788,8 +43020,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DeleteAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42812,14 +43044,14 @@
]
},
{
- "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_sync_flattened",
- "title": "DeleteAccessConfig",
- "description": "Snippet for DeleteAccessConfig",
- "file": "InstancesClient.DeleteAccessConfigSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AttachDisk_sync_flattened",
+ "title": "AttachDisk",
+ "description": "Snippet for AttachDisk",
+ "file": "InstancesClient.AttachDiskSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAccessConfig",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDisk",
"parameters": [
{
"type": "System.String",
@@ -42834,12 +43066,8 @@
"name": "instance"
},
{
- "type": "System.String",
- "name": "accessConfig"
- },
- {
- "type": "System.String",
- "name": "networkInterface"
+ "type": "Google.Cloud.Compute.V1.AttachedDisk",
+ "name": "attachedDiskResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42852,8 +43080,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DeleteAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42864,25 +43092,25 @@
"segments": [
{
"start": 22,
- "end": 64,
+ "end": 63,
"type": "FULL"
},
{
"start": 37,
- "end": 62,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_async_flattened",
- "title": "DeleteAccessConfigAsync",
- "description": "Snippet for DeleteAccessConfigAsync",
- "file": "InstancesClient.DeleteAccessConfigAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_AttachDisk_async_flattened",
+ "title": "AttachDiskAsync",
+ "description": "Snippet for AttachDiskAsync",
+ "file": "InstancesClient.AttachDiskAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DeleteAccessConfigAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAccessConfigAsync",
+ "shortName": "AttachDiskAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.AttachDiskAsync",
"async": true,
"parameters": [
{
@@ -42898,12 +43126,8 @@
"name": "instance"
},
{
- "type": "System.String",
- "name": "accessConfig"
- },
- {
- "type": "System.String",
- "name": "networkInterface"
+ "type": "Google.Cloud.Compute.V1.AttachedDisk",
+ "name": "attachedDiskResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -42916,8 +43140,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DeleteAccessConfig",
- "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig",
+ "shortName": "AttachDisk",
+ "fullName": "google.cloud.compute.v1.Instances.AttachDisk",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42928,28 +43152,28 @@
"segments": [
{
"start": 22,
- "end": 65,
+ "end": 64,
"type": "FULL"
},
{
"start": 38,
- "end": 63,
+ "end": 62,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DetachDisk_sync",
- "title": "DetachDiskRequestObject",
- "description": "Snippet for DetachDisk",
- "file": "InstancesClient.DetachDiskRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_BulkInsert_sync",
+ "title": "BulkInsertRequestObject",
+ "description": "Snippet for BulkInsert",
+ "file": "InstancesClient.BulkInsertRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DetachDisk",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsert",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DetachDiskInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.BulkInsertInstanceRequest",
"name": "request"
},
{
@@ -42963,8 +43187,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DetachDisk",
- "fullName": "google.cloud.compute.v1.Instances.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -42976,29 +43200,29 @@
"segments": [
{
"start": 22,
- "end": 67,
+ "end": 66,
"type": "FULL"
},
{
"start": 37,
- "end": 65,
+ "end": 64,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DetachDisk_async",
- "title": "DetachDiskRequestObjectAsync",
- "description": "Snippet for DetachDiskAsync",
- "file": "InstancesClient.DetachDiskRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_BulkInsert_async",
+ "title": "BulkInsertRequestObjectAsync",
+ "description": "Snippet for BulkInsertAsync",
+ "file": "InstancesClient.BulkInsertRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DetachDiskAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DetachDiskAsync",
+ "shortName": "BulkInsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsertAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.DetachDiskInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.BulkInsertInstanceRequest",
"name": "request"
},
{
@@ -43012,8 +43236,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DetachDisk",
- "fullName": "google.cloud.compute.v1.Instances.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43025,25 +43249,25 @@
"segments": [
{
"start": 22,
- "end": 68,
+ "end": 67,
"type": "FULL"
},
{
"start": 38,
- "end": 66,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DetachDisk_sync_flattened",
- "title": "DetachDisk",
- "description": "Snippet for DetachDisk",
- "file": "InstancesClient.DetachDiskSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_BulkInsert_sync_flattened",
+ "title": "BulkInsert",
+ "description": "Snippet for BulkInsert",
+ "file": "InstancesClient.BulkInsertSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DetachDisk",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsert",
"parameters": [
{
"type": "System.String",
@@ -43054,12 +43278,8 @@
"name": "zone"
},
{
- "type": "System.String",
- "name": "instance"
- },
- {
- "type": "System.String",
- "name": "deviceName"
+ "type": "Google.Cloud.Compute.V1.BulkInsertInstanceResource",
+ "name": "bulkInsertInstanceResourceResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -43072,8 +43292,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DetachDisk",
- "fullName": "google.cloud.compute.v1.Instances.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43084,25 +43304,25 @@
"segments": [
{
"start": 22,
- "end": 63,
+ "end": 62,
"type": "FULL"
},
{
"start": 37,
- "end": 61,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_DetachDisk_async_flattened",
- "title": "DetachDiskAsync",
- "description": "Snippet for DetachDiskAsync",
- "file": "InstancesClient.DetachDiskAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_BulkInsert_async_flattened",
+ "title": "BulkInsertAsync",
+ "description": "Snippet for BulkInsertAsync",
+ "file": "InstancesClient.BulkInsertAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "DetachDiskAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.DetachDiskAsync",
+ "shortName": "BulkInsertAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.BulkInsertAsync",
"async": true,
"parameters": [
{
@@ -43114,12 +43334,8 @@
"name": "zone"
},
{
- "type": "System.String",
- "name": "instance"
- },
- {
- "type": "System.String",
- "name": "deviceName"
+ "type": "Google.Cloud.Compute.V1.BulkInsertInstanceResource",
+ "name": "bulkInsertInstanceResourceResource"
},
{
"type": "Google.Api.Gax.Grpc.CallSettings",
@@ -43132,8 +43348,8 @@
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "DetachDisk",
- "fullName": "google.cloud.compute.v1.Instances.DetachDisk",
+ "shortName": "BulkInsert",
+ "fullName": "google.cloud.compute.v1.Instances.BulkInsert",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43144,28 +43360,28 @@
"segments": [
{
"start": 22,
- "end": 64,
+ "end": 63,
"type": "FULL"
},
{
"start": 38,
- "end": 62,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Get_sync",
- "title": "GetRequestObject",
- "description": "Snippet for Get",
- "file": "InstancesClient.GetRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_Delete_sync",
+ "title": "DeleteRequestObject",
+ "description": "Snippet for Delete",
+ "file": "InstancesClient.DeleteRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.Get",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.Delete",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceRequest",
"name": "request"
},
{
@@ -43173,14 +43389,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.Instance",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.Instances.Get",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.Instances.Delete",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43191,30 +43407,30 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 46,
+ "start": 22,
+ "end": 66,
"type": "FULL"
},
{
- "start": 34,
- "end": 44,
+ "start": 37,
+ "end": 64,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Get_async",
- "title": "GetRequestObjectAsync",
- "description": "Snippet for GetAsync",
- "file": "InstancesClient.GetRequestObjectAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_Delete_async",
+ "title": "DeleteRequestObjectAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstancesClient.DeleteRequestObjectAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.GetAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAsync",
"async": true,
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteInstanceRequest",
"name": "request"
},
{
@@ -43222,14 +43438,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.Instances.Get",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.Instances.Delete",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43240,26 +43456,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 47,
+ "start": 22,
+ "end": 67,
"type": "FULL"
},
{
- "start": 35,
- "end": 45,
+ "start": 38,
+ "end": 65,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Get_sync_flattened",
- "title": "Get",
- "description": "Snippet for Get",
- "file": "InstancesClient.GetSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_Delete_sync_flattened",
+ "title": "Delete",
+ "description": "Snippet for Delete",
+ "file": "InstancesClient.DeleteSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "Get",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.Get",
+ "shortName": "Delete",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.Delete",
"parameters": [
{
"type": "System.String",
@@ -43278,14 +43494,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.Instance",
+ "resultType": "Google.LongRunning.Operation",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.Instances.Get",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.Instances.Delete",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43295,26 +43511,26 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 43,
+ "start": 22,
+ "end": 62,
"type": "FULL"
},
{
- "start": 34,
- "end": 41,
+ "start": 37,
+ "end": 60,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_Get_async_flattened",
- "title": "GetAsync",
- "description": "Snippet for GetAsync",
- "file": "InstancesClient.GetAsyncSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_Delete_async_flattened",
+ "title": "DeleteAsync",
+ "description": "Snippet for DeleteAsync",
+ "file": "InstancesClient.DeleteAsyncSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetAsync",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.GetAsync",
+ "shortName": "DeleteAsync",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAsync",
"async": true,
"parameters": [
{
@@ -43334,14 +43550,14 @@
"name": "callSettings"
}
],
- "resultType": "System.Threading.Tasks.Task",
+ "resultType": "System.Threading.Tasks.Task>",
"client": {
"shortName": "InstancesClient",
"fullName": "Google.Cloud.Compute.V1.InstancesClient"
},
"method": {
- "shortName": "Get",
- "fullName": "google.cloud.compute.v1.Instances.Get",
+ "shortName": "Delete",
+ "fullName": "google.cloud.compute.v1.Instances.Delete",
"service": {
"shortName": "Instances",
"fullName": "google.cloud.compute.v1.Instances"
@@ -43351,29 +43567,29 @@
"origin": "API_DEFINITION",
"segments": [
{
- "start": 20,
- "end": 44,
+ "start": 22,
+ "end": 63,
"type": "FULL"
},
{
- "start": 35,
- "end": 42,
+ "start": 38,
+ "end": 61,
"type": "SHORT"
}
]
},
{
- "regionTag": "compute_v1_generated_Instances_GetEffectiveFirewalls_sync",
- "title": "GetEffectiveFirewallsRequestObject",
- "description": "Snippet for GetEffectiveFirewalls",
- "file": "InstancesClient.GetEffectiveFirewallsRequestObjectSnippet.g.cs",
+ "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_sync",
+ "title": "DeleteAccessConfigRequestObject",
+ "description": "Snippet for DeleteAccessConfig",
+ "file": "InstancesClient.DeleteAccessConfigRequestObjectSnippet.g.cs",
"language": "C_SHARP",
"clientMethod": {
- "shortName": "GetEffectiveFirewalls",
- "fullName": "Google.Cloud.Compute.V1.InstancesClient.GetEffectiveFirewalls",
+ "shortName": "DeleteAccessConfig",
+ "fullName": "Google.Cloud.Compute.V1.InstancesClient.DeleteAccessConfig",
"parameters": [
{
- "type": "Google.Cloud.Compute.V1.GetEffectiveFirewallsInstanceRequest",
+ "type": "Google.Cloud.Compute.V1.DeleteAccessConfigInstanceRequest",
"name": "request"
},
{
@@ -43381,14 +43597,14 @@
"name": "callSettings"
}
],
- "resultType": "Google.Cloud.Compute.V1.InstancesGetEffectiveFirewallsResponse",
+ "resultType": "Google.LongRunning.Operation