-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: discovery of Vertex AI datasets
docs: documentation revisions for data profiles PiperOrigin-RevId: 728394045 Source-Link: googleapis/googleapis@40bad3e Source-Link: googleapis/googleapis-gen@ff329ff Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGxwLlYyLy5Pd2xCb3QueWFtbCIsImgiOiJmZjMyOWZmMDkzYWNhZjQyMmZhM2ZjYWYwZmFhMmI2Zjg0YmQxMzc5In0=
- Loading branch information
1 parent
b729eb0
commit 3d76a70
Showing
377 changed files
with
183,454 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
...lp.V2.GeneratedSnippets/DlpServiceClient.ActivateJobTriggerRequestObjectAsyncSnippet.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 2025 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 dlp_v2_generated_DlpService_ActivateJobTrigger_async] | ||
using Google.Cloud.Dlp.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ActivateJobTriggerAsync</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 ActivateJobTriggerRequestObjectAsync() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
ActivateJobTriggerRequest request = new ActivateJobTriggerRequest | ||
{ | ||
JobTriggerName = JobTriggerName.FromProjectJobTrigger("[PROJECT]", "[JOB_TRIGGER]"), | ||
}; | ||
// Make the request | ||
DlpJob response = await dlpServiceClient.ActivateJobTriggerAsync(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_ActivateJobTrigger_async] | ||
} |
46 changes: 46 additions & 0 deletions
46
...oud.Dlp.V2.GeneratedSnippets/DlpServiceClient.ActivateJobTriggerRequestObjectSnippet.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 2025 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 dlp_v2_generated_DlpService_ActivateJobTrigger_sync] | ||
using Google.Cloud.Dlp.V2; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ActivateJobTrigger</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 ActivateJobTriggerRequestObject() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = DlpServiceClient.Create(); | ||
// Initialize request argument(s) | ||
ActivateJobTriggerRequest request = new ActivateJobTriggerRequest | ||
{ | ||
JobTriggerName = JobTriggerName.FromProjectJobTrigger("[PROJECT]", "[JOB_TRIGGER]"), | ||
}; | ||
// Make the request | ||
DlpJob response = dlpServiceClient.ActivateJobTrigger(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_ActivateJobTrigger_sync] | ||
} |
47 changes: 47 additions & 0 deletions
47
...loud.Dlp.V2.GeneratedSnippets/DlpServiceClient.CancelDlpJobRequestObjectAsyncSnippet.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 2025 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 dlp_v2_generated_DlpService_CancelDlpJob_async] | ||
using Google.Cloud.Dlp.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CancelDlpJobAsync</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 CancelDlpJobRequestObjectAsync() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CancelDlpJobRequest request = new CancelDlpJobRequest | ||
{ | ||
DlpJobName = DlpJobName.FromProjectDlpJob("[PROJECT]", "[DLP_JOB]"), | ||
}; | ||
// Make the request | ||
await dlpServiceClient.CancelDlpJobAsync(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CancelDlpJob_async] | ||
} |
46 changes: 46 additions & 0 deletions
46
...gle.Cloud.Dlp.V2.GeneratedSnippets/DlpServiceClient.CancelDlpJobRequestObjectSnippet.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 2025 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 dlp_v2_generated_DlpService_CancelDlpJob_sync] | ||
using Google.Cloud.Dlp.V2; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CancelDlpJob</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 CancelDlpJobRequestObject() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = DlpServiceClient.Create(); | ||
// Initialize request argument(s) | ||
CancelDlpJobRequest request = new CancelDlpJobRequest | ||
{ | ||
DlpJobName = DlpJobName.FromProjectDlpJob("[PROJECT]", "[DLP_JOB]"), | ||
}; | ||
// Make the request | ||
dlpServiceClient.CancelDlpJob(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CancelDlpJob_sync] | ||
} |
45 changes: 45 additions & 0 deletions
45
.../Google.Cloud.Dlp.V2.GeneratedSnippets/DlpServiceClient.CreateConnectionAsyncSnippet.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 2025 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 dlp_v2_generated_DlpService_CreateConnection_async_flattened] | ||
using Google.Cloud.Dlp.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateConnectionAsync</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 CreateConnectionAsync() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string parent = "projects/[PROJECT]/locations/[LOCATION]"; | ||
Connection connection = new Connection(); | ||
// Make the request | ||
Connection response = await dlpServiceClient.CreateConnectionAsync(parent, connection); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CreateConnection_async_flattened] | ||
} |
49 changes: 49 additions & 0 deletions
49
....Dlp.V2.GeneratedSnippets/DlpServiceClient.CreateConnectionRequestObjectAsyncSnippet.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,49 @@ | ||
// Copyright 2025 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 dlp_v2_generated_DlpService_CreateConnection_async] | ||
using Google.Api.Gax.ResourceNames; | ||
using Google.Cloud.Dlp.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateConnectionAsync</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 CreateConnectionRequestObjectAsync() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CreateConnectionRequest request = new CreateConnectionRequest | ||
{ | ||
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), | ||
Connection = new Connection(), | ||
}; | ||
// Make the request | ||
Connection response = await dlpServiceClient.CreateConnectionAsync(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CreateConnection_async] | ||
} |
48 changes: 48 additions & 0 deletions
48
...Cloud.Dlp.V2.GeneratedSnippets/DlpServiceClient.CreateConnectionRequestObjectSnippet.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,48 @@ | ||
// Copyright 2025 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 dlp_v2_generated_DlpService_CreateConnection_sync] | ||
using Google.Api.Gax.ResourceNames; | ||
using Google.Cloud.Dlp.V2; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateConnection</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 CreateConnectionRequestObject() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = DlpServiceClient.Create(); | ||
// Initialize request argument(s) | ||
CreateConnectionRequest request = new CreateConnectionRequest | ||
{ | ||
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), | ||
Connection = new Connection(), | ||
}; | ||
// Make the request | ||
Connection response = dlpServiceClient.CreateConnection(request); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CreateConnection_sync] | ||
} |
46 changes: 46 additions & 0 deletions
46
...Dlp.V2.GeneratedSnippets/DlpServiceClient.CreateConnectionResourceNames1AsyncSnippet.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 2025 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 dlp_v2_generated_DlpService_CreateConnection_async_flattened_resourceNames1] | ||
using Google.Api.Gax.ResourceNames; | ||
using Google.Cloud.Dlp.V2; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedDlpServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for CreateConnectionAsync</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 CreateConnectionResourceNames1Async() | ||
{ | ||
// Create client | ||
DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); | ||
Connection connection = new Connection(); | ||
// Make the request | ||
Connection response = await dlpServiceClient.CreateConnectionAsync(parent, connection); | ||
} | ||
} | ||
// [END dlp_v2_generated_DlpService_CreateConnection_async_flattened_resourceNames1] | ||
} |
Oops, something went wrong.