Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
95c3995
chore(deps): update dependency xunit.skippablefact to 1.5.85
renovate-bot Aug 26, 2026
88f9108
regen: Regenerate Google.Cloud.BigQuery.Migration.V2 at API commit 1f…
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
200fa43
regen: Regenerate Google.Cloud.GeminiDataAnalytics.V1Beta at API comm…
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
8734022
chore(renovate): limit Microsoft.CodeAnalysis.CSharp renovate updates
efevans Aug 31, 2026
16a430d
chore: Release library Google.Ads.AdManager.V1 version 1.0.0-beta10
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
dfe7657
chore: Release library Google.Cloud.AIPlatform.V1 version 3.77.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
003b3f7
chore: Release library Google.Cloud.Batch.V1 version 2.16.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
999e96c
chore: Release library Google.Cloud.BigQuery.Migration.V2 version 1.8.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
8d6b84f
chore: Release library Google.Cloud.BigQuery.Reservation.V1 version 2…
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
d584143
chore: Release library Google.Cloud.Compute.V1 version 3.31.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
b5a3366
chore: Release library Google.Cloud.Dlp.V2 version 4.27.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
a840842
chore: Release library Google.Maps.Routing.V2 version 1.3.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
49c9647
chore: Release library Google.Cloud.Spanner version 5.13.0-beta10
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
f7d9160
chore: Release library Google.Cloud.GeminiDataAnalytics.V1Beta versio…
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
1c928e8
chore: Release library Google.Cloud.GeminiDataAnalytics.V1 version 1.1.0
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
4af98ed
chore: Release library Google.Cloud.AppTopology.V1 version 1.0.0-beta01
google-cloud-sdk-librarian-dotnet-robot Aug 31, 2026
d43db09
chore(deps): update dotnet monorepo
renovate-bot Aug 31, 2026
4f54135
feat: Configured library Google.Shopping.Merchant.Loyaltycustomers.V1…
google-cloud-sdk-librarian-dotnet-robot Sep 1, 2026
0a4da4d
regen: Regenerate Google.Cloud.Bigtable.Admin.V2 at API commit 2295794
google-cloud-sdk-librarian-dotnet-robot Sep 1, 2026
a7ed38c
chore: enable release of google.shopping.merchant.loyaltycustomers.v1
robertvoinescu-work Sep 3, 2026
f0e0704
regen: Regenerate Google.Ads.AdManager.V1 at API commit f6761b7
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
0bafeab
regen: Regenerate Google.Cloud.AlloyDb.V1Alpha at API commit 2da94cf
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
d9ecc4f
regen: Regenerate Google.Cloud.AlloyDb.V1Beta at API commit da1f35d
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
5aaf64d
regen: Regenerate Google.Cloud.Compute.V1 at API commit 31daafc
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
2867759
regen: Regenerate Google.Cloud.ConfidentialComputing.V1 at API commit…
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
eaf5e64
regen: Regenerate Google.Cloud.ConfidentialComputing.V1Alpha1 at API …
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
280181e
regen: Regenerate Google.Cloud.NetworkConnectivity.V1 at API commit 2…
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
3a930ea
regen: Regenerate Google.Cloud.Chronicle.V1 at API commit c1f9e85
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
3403efe
regen: Regenerate Google.Cloud.NetworkConnectivity.V1Beta at API comm…
google-cloud-sdk-librarian-dotnet-robot Sep 8, 2026
ee888ed
Revert "chore: enable release of google.shopping.merchant.loyaltycust…
robertvoinescu-work Sep 8, 2026
a1f07cd
chore(deps): update gcr.io/cloud-spanner-emulator/emulator docker tag…
renovate-bot Sep 9, 2026
ee9248b
chore(deps): update dotnet monorepo
renovate-bot Sep 9, 2026
be59363
chore(customerloyalty): disable generation
efevans Sep 9, 2026
82577e4
regen: Regenerate Google.Apps.Meet.V2 at API commit 62cbe96
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
1f58927
regen: Regenerate Google.Apps.Meet.V2Beta at API commit 62cbe96
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
c8e1555
regen: Regenerate Google.Cloud.ApiGateway.V1 at API commit 8b8b58d
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
0e1d703
regen: Regenerate Google.Cloud.PubSub.V1 at API commit 667c11b
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
d475c7a
regen: Regenerate Google.Cloud.VisionAI.V1 at API commit 5cbe993
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
b46e15d
regen: Regenerate Google.Cloud.AuditManager.V1 at API commit 9b3d652
google-cloud-sdk-librarian-dotnet-robot Sep 10, 2026
1d3eec1
feat(AutoML): Add index.md for AutoML.V1
efevans Sep 9, 2026
33725d1
chore(deps): update dependency microsoft.net.test.sdk to 18.10.0
renovate-bot Sep 10, 2026
6f4d5cc
feat(Spanner.V1): Add interceptor for Built-In metrics.
robertvoinescu-work Aug 7, 2026
4f6a07d
regen: Regenerate Google.Cloud.Bigtable.Admin.V2 at API commit 0fad501
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
92a5043
regen: Regenerate Google.Cloud.Kms.V1 at API commit 5130f58
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
f2819f2
regen: Regenerate Google.Ads.DataManager.V1 at API commit d828f38
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
017e730
fix(Spanner.V1): remove record type.
robertvoinescu-work Sep 11, 2026
5907703
chore: Release library Google.Ads.AdManager.V1 version 1.0.0-beta11
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
c0c01ad
chore: Release library Google.Apps.Meet.V2 version 1.0.0-beta07
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
bf32000
chore: Release library Google.Apps.Meet.V2Beta version 1.0.0-beta09
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
2139563
chore: Release library Google.Cloud.AlloyDb.V1Alpha version 1.0.0-alp…
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
3ecf87b
chore: Release library Google.Cloud.AlloyDb.V1Beta version 1.0.0-beta18
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
39d722d
chore: Release library Google.Cloud.AutoML.V1 version 3.6.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
5fb12a2
chore: Release library Google.Cloud.Bigtable.Admin.V2 version 3.35.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
4abf491
chore: Release library Google.Cloud.Compute.V1 version 3.32.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
22eab6c
chore: Release library Google.Cloud.ConfidentialComputing.V1 version …
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
b6d21a6
chore: Release library Google.Cloud.Kms.V1 version 3.27.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
ca5214d
chore: Release library Google.Cloud.PubSub.V1 version 3.38.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
1e1d5f3
chore: Release library Google.Cloud.Chronicle.V1 version 1.1.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
dc1fade
chore: Release library Google.Ads.DataManager.V1 version 1.0.0-beta10
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
180f3e9
chore: Release library Google.Cloud.AuditManager.V1 version 1.3.0
google-cloud-sdk-librarian-dotnet-robot Sep 11, 2026
c7dd40b
test(Spanner.V1): Fix flaky test for built in metrics
robertvoinescu-work Sep 11, 2026
10762cc
regen: Regenerate Google.Analytics.Data.V1Beta at API commit ed6832a
google-cloud-sdk-librarian-dotnet-robot Sep 14, 2026
db6d45a
regen: Regenerate Google.Cloud.DataCatalog.Lineage.V1 at API commit e…
google-cloud-sdk-librarian-dotnet-robot Sep 14, 2026
dd49c91
regen: Regenerate Google.Cloud.DiscoveryEngine.V1 at API commit d3e4b45
google-cloud-sdk-librarian-dotnet-robot Sep 14, 2026
50ce70c
chore(deps): update dependency nodatime to 3.3.4
renovate-bot Sep 13, 2026
3bed32f
feat(Spanner.V1): Add attempt metrics for streaming RPCs.
robertvoinescu-work Sep 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,12 @@
],
"allowedVersions": "<0.14.0"
},
{
"matchPackageNames": [
"Microsoft.CodeAnalysis*"
],
"allowedVersions": "<5.9.0"
},
{
"matchFileNames": [
"Dockerfile.generator"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spanner-emulator-pr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
DOTNET_NOLOGO: true
services:
emulator:
image: gcr.io/cloud-spanner-emulator/emulator:1.5.56@sha256:18a56fd557011e50e1733a9232e8d17ec9bdd7e51f6cf7660f14c234479f4f36
image: gcr.io/cloud-spanner-emulator/emulator:1.5.57@sha256:4987860c9f8ecf1fffbbcdac115cb88cb9d1a42bd966c235a9ab843aea34fbd1
ports:
- 9010:9010
- 9020:9020
Expand Down
12 changes: 6 additions & 6 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PackageVersion Include="Google.Protobuf" Version="3.31.1" />

<!-- System packages -->
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.11" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.12" />

<!-- MS Extensions packages -->
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.1" />
Expand All @@ -44,15 +44,15 @@
<PackageVersion Include="xunit.assert" Version="2.9.3" />
<PackageVersion Include="xunit.core" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.61" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.85" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.10.0" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="System.Linq.AsyncEnumerable" Version="10.0.11" />
<PackageVersion Include="System.Linq.AsyncEnumerable" Version="10.0.12" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<PackageVersion Include="YamlDotNet" Version="18.1.0" />
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
<PackageVersion Include="SharpCompress" Version="0.50.4" />
<PackageVersion Include="NodaTime" Version="3.3.3" />
<PackageVersion Include="NodaTime" Version="3.3.4" />
<PackageVersion Include="LibGit2Sharp" Version="0.32.0" />
<PackageVersion Include="NuGet.Protocol" Version="7.9.0" />
<PackageVersion Include="Octokit" Version="14.0.0" />
Expand All @@ -68,6 +68,6 @@
<PackageVersion Include="log4net" Version="3.3.0" />
<PackageVersion Include="NLog" Version="5.5.1" />
<PackageVersion Include="Grpc.AspNetCore" Version="2.83.0" />
<PackageVersion Include="Microsoft.AspNetCore.Server.Kestrel.Core" Version="2.3.12" />
<PackageVersion Include="Microsoft.AspNetCore.Server.Kestrel.Core" Version="2.3.13" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Each package name links to the documentation for that package.
| [Google.Cloud.AppEngine.V1](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.AppEngine.V1)](https://nuget.org/packages/Google.Cloud.AppEngine.V1) | [App Engine](https://cloud.google.com/appengine) |
| [Google.Cloud.AppHub.V1](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.AppHub.V1)](https://nuget.org/packages/Google.Cloud.AppHub.V1) | [App Hub](https://cloud.google.com/app-hub/docs/overview) |
| [Google.Cloud.AppOptimize.V1Beta](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.AppOptimize.V1Beta/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.AppOptimize.V1Beta)](https://nuget.org/packages/Google.Cloud.AppOptimize.V1Beta) | [App Optimize](https://docs.cloud.google.com/app-optimize/overview) |
| [Google.Cloud.AppTopology.V1](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.AppTopology.V1/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.AppTopology.V1)](https://nuget.org/packages/Google.Cloud.AppTopology.V1) | [App Topology](https://docs.cloud.google.com/app-topology) |
| [Google.Cloud.ArtifactRegistry.V1](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.ArtifactRegistry.V1)](https://nuget.org/packages/Google.Cloud.ArtifactRegistry.V1) | [Artifact Registry (V1 API)](https://cloud.google.com/artifact-registry) |
| [Google.Cloud.ArtifactRegistry.V1Beta2](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.ArtifactRegistry.V1Beta2)](https://nuget.org/packages/Google.Cloud.ArtifactRegistry.V1Beta2) | [Artifact Registry (V1Beta2 API)](https://cloud.google.com/artifact-registry) |
| [Google.Cloud.Asset.V1](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest) | [![NuGet](https://img.shields.io/nuget/v/Google.Cloud.Asset.V1)](https://nuget.org/packages/Google.Cloud.Asset.V1) | [Google Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async_flattened]
using Google.Ads.AdManager.V1;
using System.Collections.Generic;
using System.Threading.Tasks;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegmentsAsync</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 BatchCreateAudienceSegmentsAsync()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = await AudienceSegmentServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<CreateAudienceSegmentRequest> requests = new CreateAudienceSegmentRequest[]
{
new CreateAudienceSegmentRequest(),
};
// Make the request
BatchCreateAudienceSegmentsResponse response = await audienceSegmentServiceClient.BatchCreateAudienceSegmentsAsync(parent, requests);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async_flattened]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async]
using Google.Ads.AdManager.V1;
using System.Threading.Tasks;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegmentsAsync</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 BatchCreateAudienceSegmentsRequestObjectAsync()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = await AudienceSegmentServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateAudienceSegmentsRequest request = new BatchCreateAudienceSegmentsRequest
{
ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
Requests =
{
new CreateAudienceSegmentRequest(),
},
};
// Make the request
BatchCreateAudienceSegmentsResponse response = await audienceSegmentServiceClient.BatchCreateAudienceSegmentsAsync(request);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync]
using Google.Ads.AdManager.V1;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegments</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 BatchCreateAudienceSegmentsRequestObject()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = AudienceSegmentServiceClient.Create();
// Initialize request argument(s)
BatchCreateAudienceSegmentsRequest request = new BatchCreateAudienceSegmentsRequest
{
ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
Requests =
{
new CreateAudienceSegmentRequest(),
},
};
// Make the request
BatchCreateAudienceSegmentsResponse response = audienceSegmentServiceClient.BatchCreateAudienceSegments(request);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async_flattened_resourceNames]
using Google.Ads.AdManager.V1;
using System.Collections.Generic;
using System.Threading.Tasks;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegmentsAsync</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 BatchCreateAudienceSegmentsResourceNamesAsync()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = await AudienceSegmentServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<CreateAudienceSegmentRequest> requests = new CreateAudienceSegmentRequest[]
{
new CreateAudienceSegmentRequest(),
};
// Make the request
BatchCreateAudienceSegmentsResponse response = await audienceSegmentServiceClient.BatchCreateAudienceSegmentsAsync(parent, requests);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_async_flattened_resourceNames]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync_flattened_resourceNames]
using Google.Ads.AdManager.V1;
using System.Collections.Generic;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegments</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 BatchCreateAudienceSegmentsResourceNames()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = AudienceSegmentServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<CreateAudienceSegmentRequest> requests = new CreateAudienceSegmentRequest[]
{
new CreateAudienceSegmentRequest(),
};
// Make the request
BatchCreateAudienceSegmentsResponse response = audienceSegmentServiceClient.BatchCreateAudienceSegments(parent, requests);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync_flattened_resourceNames]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// Copyright 2026 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 admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync_flattened]
using Google.Ads.AdManager.V1;
using System.Collections.Generic;

public sealed partial class GeneratedAudienceSegmentServiceClientSnippets
{
/// <summary>Snippet for BatchCreateAudienceSegments</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 BatchCreateAudienceSegments()
{
// Create client
AudienceSegmentServiceClient audienceSegmentServiceClient = AudienceSegmentServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<CreateAudienceSegmentRequest> requests = new CreateAudienceSegmentRequest[]
{
new CreateAudienceSegmentRequest(),
};
// Make the request
BatchCreateAudienceSegmentsResponse response = audienceSegmentServiceClient.BatchCreateAudienceSegments(parent, requests);
}
}
// [END admanager_v1_generated_AudienceSegmentService_BatchCreateAudienceSegments_sync_flattened]
}
Loading