-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: A new field
dns_endpoint
is added to message `.google.cloud.d…
…eploy.v1.GkeCluster` docs: A comment for field `internal_ip` in message `.google.cloud.deploy.v1.GkeCluster` is changed docs: A comment for field `skaffold_version` in message `.google.cloud.deploy.v1.Release` is changed docs: A comment for field `requested_cancellation` in message `.google.cloud.deploy.v1.OperationMetadata` is changed PiperOrigin-RevId: 702047981 Source-Link: googleapis/googleapis@99a5e29 Source-Link: googleapis/googleapis-gen@2fdcaaf Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGVwbG95LlYxLy5Pd2xCb3QueWFtbCIsImgiOiIyZmRjYWFmZTVlMWViZDZmZTE5MjFjYmI1M2Y0MTQyNzA4NjQ2MmRmIn0=
- Loading branch information
1 parent
cad74b5
commit bd38fcb
Showing
285 changed files
with
116,856 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...oogle.Cloud.Deploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseAsyncSnippet.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 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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async_flattened] | ||
using Google.Cloud.Deploy.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonReleaseAsync</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 AbandonReleaseAsync() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]"; | ||
// Make the request | ||
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async_flattened] | ||
} |
47 changes: 47 additions & 0 deletions
47
...eploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseRequestObjectAsyncSnippet.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,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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async] | ||
using Google.Cloud.Deploy.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonReleaseAsync</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 AbandonReleaseRequestObjectAsync() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
AbandonReleaseRequest request = new AbandonReleaseRequest | ||
{ | ||
ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"), | ||
}; | ||
// Make the request | ||
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(request); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async] | ||
} |
46 changes: 46 additions & 0 deletions
46
...oud.Deploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseRequestObjectSnippet.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,46 @@ | ||
// 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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync] | ||
using Google.Cloud.Deploy.V1; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonRelease</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 AbandonReleaseRequestObject() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = CloudDeployClient.Create(); | ||
// Initialize request argument(s) | ||
AbandonReleaseRequest request = new AbandonReleaseRequest | ||
{ | ||
ReleaseName = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"), | ||
}; | ||
// Make the request | ||
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(request); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync] | ||
} |
44 changes: 44 additions & 0 deletions
44
...eploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseResourceNamesAsyncSnippet.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 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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async_flattened_resourceNames] | ||
using Google.Cloud.Deploy.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonReleaseAsync</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 AbandonReleaseResourceNamesAsync() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"); | ||
// Make the request | ||
AbandonReleaseResponse response = await cloudDeployClient.AbandonReleaseAsync(name); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
...oud.Deploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseResourceNamesSnippet.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 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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync_flattened_resourceNames] | ||
using Google.Cloud.Deploy.V1; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonRelease</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 AbandonReleaseResourceNames() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = CloudDeployClient.Create(); | ||
// Initialize request argument(s) | ||
ReleaseName name = ReleaseName.FromProjectLocationDeliveryPipelineRelease("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]"); | ||
// Make the request | ||
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(name); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
....V1/Google.Cloud.Deploy.V1.GeneratedSnippets/CloudDeployClient.AbandonReleaseSnippet.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 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 clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync_flattened] | ||
using Google.Cloud.Deploy.V1; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AbandonRelease</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 AbandonRelease() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = CloudDeployClient.Create(); | ||
// Initialize request argument(s) | ||
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]"; | ||
// Make the request | ||
AbandonReleaseResponse response = cloudDeployClient.AbandonRelease(name); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync_flattened] | ||
} |
45 changes: 45 additions & 0 deletions
45
...oogle.Cloud.Deploy.V1.GeneratedSnippets/CloudDeployClient.AdvanceRolloutAsyncSnippet.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,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 clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async_flattened] | ||
using Google.Cloud.Deploy.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AdvanceRolloutAsync</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 AdvanceRolloutAsync() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string name = "projects/[PROJECT]/locations/[LOCATION]/deliveryPipelines/[DELIVERY_PIPELINE]/releases/[RELEASE]/rollouts/[ROLLOUT]"; | ||
string phaseId = ""; | ||
// Make the request | ||
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(name, phaseId); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async_flattened] | ||
} |
52 changes: 52 additions & 0 deletions
52
...eploy.V1.GeneratedSnippets/CloudDeployClient.AdvanceRolloutRequestObjectAsyncSnippet.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,52 @@ | ||
// 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 clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async] | ||
using Google.Cloud.Deploy.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedCloudDeployClientSnippets | ||
{ | ||
/// <summary>Snippet for AdvanceRolloutAsync</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 AdvanceRolloutRequestObjectAsync() | ||
{ | ||
// Create client | ||
CloudDeployClient cloudDeployClient = await CloudDeployClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
AdvanceRolloutRequest request = new AdvanceRolloutRequest | ||
{ | ||
RolloutName = RolloutName.FromProjectLocationDeliveryPipelineReleaseRollout("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]", "[RELEASE]", "[ROLLOUT]"), | ||
PhaseId = "", | ||
OverrideDeployPolicyAsDeployPolicyNames = | ||
{ | ||
DeployPolicyName.FromProjectLocationDeployPolicy("[PROJECT]", "[LOCATION]", "[DEPLOY_POLICY]"), | ||
}, | ||
}; | ||
// Make the request | ||
AdvanceRolloutResponse response = await cloudDeployClient.AdvanceRolloutAsync(request); | ||
} | ||
} | ||
// [END clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async] | ||
} |
Oops, something went wrong.