-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add clarifications PiperOrigin-RevId: 553885123 Source-Link: googleapis/googleapis@9458a5a Source-Link: googleapis/googleapis-gen@8b78760 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQW5hbHl0aWNzLkRhdGEuVjFCZXRhLy5Pd2xCb3QueWFtbCIsImgiOiI4Yjc4NzYwMzRmY2ZiNTIxZGJkOTI5NzcwOWUwNzNiNjFjZDg5MzUxIn0=
- Loading branch information
1 parent
564e32f
commit a0c82be
Showing
31 changed files
with
22,473 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
...eratedSnippets/BetaAnalyticsDataClient.BatchRunPivotReportsRequestObjectAsyncSnippet.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,51 @@ | ||
// 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 analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_async] | ||
using Google.Analytics.Data.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for BatchRunPivotReportsAsync</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 BatchRunPivotReportsRequestObjectAsync() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = await BetaAnalyticsDataClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
BatchRunPivotReportsRequest request = new BatchRunPivotReportsRequest | ||
{ | ||
Property = "", | ||
Requests = | ||
{ | ||
new RunPivotReportRequest(), | ||
}, | ||
}; | ||
// Make the request | ||
BatchRunPivotReportsResponse response = await betaAnalyticsDataClient.BatchRunPivotReportsAsync(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_async] | ||
} |
50 changes: 50 additions & 0 deletions
50
...a.GeneratedSnippets/BetaAnalyticsDataClient.BatchRunPivotReportsRequestObjectSnippet.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,50 @@ | ||
// 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 analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_sync] | ||
using Google.Analytics.Data.V1Beta; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for BatchRunPivotReports</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 BatchRunPivotReportsRequestObject() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create(); | ||
// Initialize request argument(s) | ||
BatchRunPivotReportsRequest request = new BatchRunPivotReportsRequest | ||
{ | ||
Property = "", | ||
Requests = | ||
{ | ||
new RunPivotReportRequest(), | ||
}, | ||
}; | ||
// Make the request | ||
BatchRunPivotReportsResponse response = betaAnalyticsDataClient.BatchRunPivotReports(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_sync] | ||
} |
51 changes: 51 additions & 0 deletions
51
...a.GeneratedSnippets/BetaAnalyticsDataClient.BatchRunReportsRequestObjectAsyncSnippet.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,51 @@ | ||
// 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 analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_async] | ||
using Google.Analytics.Data.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for BatchRunReportsAsync</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 BatchRunReportsRequestObjectAsync() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = await BetaAnalyticsDataClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
BatchRunReportsRequest request = new BatchRunReportsRequest | ||
{ | ||
Property = "", | ||
Requests = | ||
{ | ||
new RunReportRequest(), | ||
}, | ||
}; | ||
// Make the request | ||
BatchRunReportsResponse response = await betaAnalyticsDataClient.BatchRunReportsAsync(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_async] | ||
} |
50 changes: 50 additions & 0 deletions
50
...V1Beta.GeneratedSnippets/BetaAnalyticsDataClient.BatchRunReportsRequestObjectSnippet.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,50 @@ | ||
// 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 analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_sync] | ||
using Google.Analytics.Data.V1Beta; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for BatchRunReports</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 BatchRunReportsRequestObject() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create(); | ||
// Initialize request argument(s) | ||
BatchRunReportsRequest request = new BatchRunReportsRequest | ||
{ | ||
Property = "", | ||
Requests = | ||
{ | ||
new RunReportRequest(), | ||
}, | ||
}; | ||
// Make the request | ||
BatchRunReportsResponse response = betaAnalyticsDataClient.BatchRunReports(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_sync] | ||
} |
52 changes: 52 additions & 0 deletions
52
...eneratedSnippets/BetaAnalyticsDataClient.CheckCompatibilityRequestObjectAsyncSnippet.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 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 analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_async] | ||
using Google.Analytics.Data.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for CheckCompatibilityAsync</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 CheckCompatibilityRequestObjectAsync() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = await BetaAnalyticsDataClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
CheckCompatibilityRequest request = new CheckCompatibilityRequest | ||
{ | ||
Property = "", | ||
Dimensions = { new Dimension(), }, | ||
Metrics = { new Metric(), }, | ||
DimensionFilter = new FilterExpression(), | ||
MetricFilter = new FilterExpression(), | ||
CompatibilityFilter = Compatibility.Unspecified, | ||
}; | ||
// Make the request | ||
CheckCompatibilityResponse response = await betaAnalyticsDataClient.CheckCompatibilityAsync(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_async] | ||
} |
51 changes: 51 additions & 0 deletions
51
...eta.GeneratedSnippets/BetaAnalyticsDataClient.CheckCompatibilityRequestObjectSnippet.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,51 @@ | ||
// 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 analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_sync] | ||
using Google.Analytics.Data.V1Beta; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for CheckCompatibility</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 CheckCompatibilityRequestObject() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = BetaAnalyticsDataClient.Create(); | ||
// Initialize request argument(s) | ||
CheckCompatibilityRequest request = new CheckCompatibilityRequest | ||
{ | ||
Property = "", | ||
Dimensions = { new Dimension(), }, | ||
Metrics = { new Metric(), }, | ||
DimensionFilter = new FilterExpression(), | ||
MetricFilter = new FilterExpression(), | ||
CompatibilityFilter = Compatibility.Unspecified, | ||
}; | ||
// Make the request | ||
CheckCompatibilityResponse response = betaAnalyticsDataClient.CheckCompatibility(request); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_CheckCompatibility_sync] | ||
} |
44 changes: 44 additions & 0 deletions
44
...lytics.Data.V1Beta.GeneratedSnippets/BetaAnalyticsDataClient.GetMetadataAsyncSnippet.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 analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_async_flattened] | ||
using Google.Analytics.Data.V1Beta; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedBetaAnalyticsDataClientSnippets | ||
{ | ||
/// <summary>Snippet for GetMetadataAsync</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 GetMetadataAsync() | ||
{ | ||
// Create client | ||
BetaAnalyticsDataClient betaAnalyticsDataClient = await BetaAnalyticsDataClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string name = "properties/[PROPERTY]/metadata"; | ||
// Make the request | ||
Metadata response = await betaAnalyticsDataClient.GetMetadataAsync(name); | ||
} | ||
} | ||
// [END analyticsdata_v1beta_generated_BetaAnalyticsData_GetMetadata_async_flattened] | ||
} |
Oops, something went wrong.