-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a API field to enable FQDN Network Policy on clusters
--- feat: turn on public visibility for best effort provision --- feat: add CheckAutopilotCompatibility API to get autopilot compatibility issues for a given standard cluster PiperOrigin-RevId: 537987027 Source-Link: googleapis/googleapis@5a57359 Source-Link: googleapis/googleapis-gen@8c47f20 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQ29udGFpbmVyLlYxLy5Pd2xCb3QueWFtbCIsImgiOiI4YzQ3ZjIwOGM1ZTcwNGJlMDhhZmNmMjc4ZmIwMjE3NzljYjUzZGEwIn0=
- Loading branch information
1 parent
735d19b
commit a694180
Showing
8 changed files
with
2,821 additions
and
831 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...edSnippets/ClusterManagerClient.CheckAutopilotCompatibilityRequestObjectAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2023 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 container_v1_generated_ClusterManager_CheckAutopilotCompatibility_async] | ||
using Google.Cloud.Container.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedClusterManagerClientSnippets | ||
{ | ||
/// <summary>Snippet for CheckAutopilotCompatibilityAsync</summary> | ||
/// <remarks> | ||
/// 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. | ||
/// </remarks> | ||
public async Task CheckAutopilotCompatibilityRequestObjectAsync() | ||
{ | ||
// Create client | ||
ClusterManagerClient clusterManagerClient = await ClusterManagerClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CheckAutopilotCompatibilityRequest request = new CheckAutopilotCompatibilityRequest { Name = "", }; | ||
// Make the request | ||
CheckAutopilotCompatibilityResponse response = await clusterManagerClient.CheckAutopilotCompatibilityAsync(request); | ||
} | ||
} | ||
// [END container_v1_generated_ClusterManager_CheckAutopilotCompatibility_async] | ||
} |
43 changes: 43 additions & 0 deletions
43
...neratedSnippets/ClusterManagerClient.CheckAutopilotCompatibilityRequestObjectSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2023 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 container_v1_generated_ClusterManager_CheckAutopilotCompatibility_sync] | ||
using Google.Cloud.Container.V1; | ||
|
||
public sealed partial class GeneratedClusterManagerClientSnippets | ||
{ | ||
/// <summary>Snippet for CheckAutopilotCompatibility</summary> | ||
/// <remarks> | ||
/// 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. | ||
/// </remarks> | ||
public void CheckAutopilotCompatibilityRequestObject() | ||
{ | ||
// Create client | ||
ClusterManagerClient clusterManagerClient = ClusterManagerClient.Create(); | ||
// Initialize request argument(s) | ||
CheckAutopilotCompatibilityRequest request = new CheckAutopilotCompatibilityRequest { Name = "", }; | ||
// Make the request | ||
CheckAutopilotCompatibilityResponse response = clusterManagerClient.CheckAutopilotCompatibility(request); | ||
} | ||
} | ||
// [END container_v1_generated_ClusterManager_CheckAutopilotCompatibility_sync] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.