Skip to content

Commit ae53ed3

Browse files
gcf-owl-bot[bot]amanda-tarafa
authored andcommitted
feat: mark DataCatalog service deprecated, use Dataplex Catalog instead
docs: fix a few typos PiperOrigin-RevId: 736573278 Source-Link: googleapis/googleapis@c18eb9f Source-Link: googleapis/googleapis-gen@352c3e3 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGF0YUNhdGFsb2cuVjEvLk93bEJvdC55YW1sIiwiaCI6IjM1MmMzZTM1MmI4OWExOTFhY2ViMmRjZjA1NzEwMmVjM2FkODM5MzYifQ==
1 parent b5adb03 commit ae53ed3

File tree

198 files changed

+2552
-774
lines changed

Some content is hidden

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

198 files changed

+2552
-774
lines changed

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntry_async_flattened]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122
using System.Threading.Tasks;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public async Task CreateEntryAsync()
3436
{
3537
// Create client
@@ -39,7 +41,9 @@ public async Task CreateEntryAsync()
3941
string entryId = "";
4042
Entry entry = new Entry();
4143
// Make the request
44+
#pragma warning disable CS0612
4245
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
46+
#pragma warning restore CS0612
4347
}
4448
}
4549
// [END datacatalog_v1_generated_DataCatalog_CreateEntry_async_flattened]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async_flattened]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122
using System.Threading.Tasks;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public async Task CreateEntryGroupAsync()
3436
{
3537
// Create client
@@ -39,7 +41,9 @@ public async Task CreateEntryGroupAsync()
3941
string entryGroupId = "";
4042
EntryGroup entryGroup = new EntryGroup();
4143
// Make the request
44+
#pragma warning disable CS0612
4245
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
46+
#pragma warning restore CS0612
4347
}
4448
}
4549
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async_flattened]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupRequestObjectAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace GoogleCSharpSnippets
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async]
2020
using Google.Api.Gax.ResourceNames;
2121
using Google.Cloud.DataCatalog.V1;
22+
using System;
2223
using System.Threading.Tasks;
2324

2425
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -31,6 +32,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3132
/// - It may require specifying regional endpoints when creating the service client as shown in
3233
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3334
/// </remarks>
35+
[ObsoleteAttribute]
3436
public async Task CreateEntryGroupRequestObjectAsync()
3537
{
3638
// Create client
@@ -43,7 +45,9 @@ public async Task CreateEntryGroupRequestObjectAsync()
4345
EntryGroupId = "",
4446
};
4547
// Make the request
48+
#pragma warning disable CS0612
4649
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(request);
50+
#pragma warning restore CS0612
4751
}
4852
}
4953
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupRequestObjectSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace GoogleCSharpSnippets
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync]
2020
using Google.Api.Gax.ResourceNames;
2121
using Google.Cloud.DataCatalog.V1;
22+
using System;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
2425
{
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public void CreateEntryGroupRequestObject()
3436
{
3537
// Create client
@@ -42,7 +44,9 @@ public void CreateEntryGroupRequestObject()
4244
EntryGroupId = "",
4345
};
4446
// Make the request
47+
#pragma warning disable CS0612
4548
EntryGroup response = dataCatalogClient.CreateEntryGroup(request);
49+
#pragma warning restore CS0612
4650
}
4751
}
4852
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupResourceNamesAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace GoogleCSharpSnippets
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async_flattened_resourceNames]
2020
using Google.Api.Gax.ResourceNames;
2121
using Google.Cloud.DataCatalog.V1;
22+
using System;
2223
using System.Threading.Tasks;
2324

2425
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -31,6 +32,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3132
/// - It may require specifying regional endpoints when creating the service client as shown in
3233
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3334
/// </remarks>
35+
[ObsoleteAttribute]
3436
public async Task CreateEntryGroupResourceNamesAsync()
3537
{
3638
// Create client
@@ -40,7 +42,9 @@ public async Task CreateEntryGroupResourceNamesAsync()
4042
string entryGroupId = "";
4143
EntryGroup entryGroup = new EntryGroup();
4244
// Make the request
45+
#pragma warning disable CS0612
4346
EntryGroup response = await dataCatalogClient.CreateEntryGroupAsync(parent, entryGroupId, entryGroup);
47+
#pragma warning restore CS0612
4448
}
4549
}
4650
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_async_flattened_resourceNames]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupResourceNamesSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace GoogleCSharpSnippets
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync_flattened_resourceNames]
2020
using Google.Api.Gax.ResourceNames;
2121
using Google.Cloud.DataCatalog.V1;
22+
using System;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
2425
{
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public void CreateEntryGroupResourceNames()
3436
{
3537
// Create client
@@ -39,7 +41,9 @@ public void CreateEntryGroupResourceNames()
3941
string entryGroupId = "";
4042
EntryGroup entryGroup = new EntryGroup();
4143
// Make the request
44+
#pragma warning disable CS0612
4245
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
46+
#pragma warning restore CS0612
4347
}
4448
}
4549
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync_flattened_resourceNames]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryGroupSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync_flattened]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122

2223
public sealed partial class GeneratedDataCatalogClientSnippets
2324
{
@@ -29,6 +30,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
2930
/// - It may require specifying regional endpoints when creating the service client as shown in
3031
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3132
/// </remarks>
33+
[ObsoleteAttribute]
3234
public void CreateEntryGroup()
3335
{
3436
// Create client
@@ -38,7 +40,9 @@ public void CreateEntryGroup()
3840
string entryGroupId = "";
3941
EntryGroup entryGroup = new EntryGroup();
4042
// Make the request
43+
#pragma warning disable CS0612
4144
EntryGroup response = dataCatalogClient.CreateEntryGroup(parent, entryGroupId, entryGroup);
45+
#pragma warning restore CS0612
4246
}
4347
}
4448
// [END datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync_flattened]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryRequestObjectAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntry_async]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122
using System.Threading.Tasks;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public async Task CreateEntryRequestObjectAsync()
3436
{
3537
// Create client
@@ -42,7 +44,9 @@ public async Task CreateEntryRequestObjectAsync()
4244
EntryId = "",
4345
};
4446
// Make the request
47+
#pragma warning disable CS0612
4548
Entry response = await dataCatalogClient.CreateEntryAsync(request);
49+
#pragma warning restore CS0612
4650
}
4751
}
4852
// [END datacatalog_v1_generated_DataCatalog_CreateEntry_async]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryRequestObjectSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntry_sync]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122

2223
public sealed partial class GeneratedDataCatalogClientSnippets
2324
{
@@ -29,6 +30,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
2930
/// - It may require specifying regional endpoints when creating the service client as shown in
3031
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3132
/// </remarks>
33+
[ObsoleteAttribute]
3234
public void CreateEntryRequestObject()
3335
{
3436
// Create client
@@ -41,7 +43,9 @@ public void CreateEntryRequestObject()
4143
EntryId = "",
4244
};
4345
// Make the request
46+
#pragma warning disable CS0612
4447
Entry response = dataCatalogClient.CreateEntry(request);
48+
#pragma warning restore CS0612
4549
}
4650
}
4751
// [END datacatalog_v1_generated_DataCatalog_CreateEntry_sync]

apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1.GeneratedSnippets/DataCatalogClient.CreateEntryResourceNamesAsyncSnippet.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
1818
{
1919
// [START datacatalog_v1_generated_DataCatalog_CreateEntry_async_flattened_resourceNames]
2020
using Google.Cloud.DataCatalog.V1;
21+
using System;
2122
using System.Threading.Tasks;
2223

2324
public sealed partial class GeneratedDataCatalogClientSnippets
@@ -30,6 +31,7 @@ public sealed partial class GeneratedDataCatalogClientSnippets
3031
/// - It may require specifying regional endpoints when creating the service client as shown in
3132
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
3233
/// </remarks>
34+
[ObsoleteAttribute]
3335
public async Task CreateEntryResourceNamesAsync()
3436
{
3537
// Create client
@@ -39,7 +41,9 @@ public async Task CreateEntryResourceNamesAsync()
3941
string entryId = "";
4042
Entry entry = new Entry();
4143
// Make the request
44+
#pragma warning disable CS0612
4245
Entry response = await dataCatalogClient.CreateEntryAsync(parent, entryId, entry);
46+
#pragma warning restore CS0612
4347
}
4448
}
4549
// [END datacatalog_v1_generated_DataCatalog_CreateEntry_async_flattened_resourceNames]

0 commit comments

Comments
 (0)