From de83791774471a20cd8eab3fdaa6a96e26e2723b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 4 Feb 2022 14:26:49 +0000 Subject: [PATCH] chore: use gapic-generator-python 0.63.1 (#186) - [x] Regenerate this pull request now. docs: add autogenerated code snippets PiperOrigin-RevId: 426256923 Source-Link: https://github.com/googleapis/googleapis/commit/9ebabfa115341b8016b6ed64b22c04260360a8ff Source-Link: https://github.com/googleapis/googleapis-gen/commit/a88175263e60a1d45d3a447848652b0f670b2cb8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTg4MTc1MjYzZTYwYTFkNDVkM2E0NDc4NDg2NTJiMGY2NzBiMmNiOCJ9 --- .../beta_analytics_data/async_client.py | 134 ++++ .../services/beta_analytics_data/client.py | 141 ++++ ...tics_data_batch_run_pivot_reports_async.py | 44 ++ ...ytics_data_batch_run_pivot_reports_sync.py | 44 ++ ..._analytics_data_batch_run_reports_async.py | 44 ++ ...a_analytics_data_batch_run_reports_sync.py | 44 ++ ...nalytics_data_check_compatibility_async.py | 44 ++ ...analytics_data_check_compatibility_sync.py | 44 ++ ..._beta_analytics_data_get_metadata_async.py | 45 ++ ...a_beta_analytics_data_get_metadata_sync.py | 45 ++ ...a_analytics_data_run_pivot_report_async.py | 44 ++ ...ta_analytics_data_run_pivot_report_sync.py | 44 ++ ...nalytics_data_run_realtime_report_async.py | 44 ++ ...analytics_data_run_realtime_report_sync.py | 44 ++ ...ta_beta_analytics_data_run_report_async.py | 44 ++ ...eta_beta_analytics_data_run_report_sync.py | 44 ++ .../snippet_metadata_data_v1beta.json | 627 ++++++++++++++++++ 17 files changed, 1520 insertions(+) create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_async.py create mode 100644 packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_sync.py create mode 100644 packages/google-analytics-data/samples/generated_samples/snippet_metadata_data_v1beta.json diff --git a/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py b/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py index d5450c783709..2d5991e8269b 100644 --- a/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py +++ b/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py @@ -220,6 +220,25 @@ async def run_report( Dimensions break down metrics across some common criteria, such as country or event name. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunReportRequest( + ) + + # Make the request + response = client.run_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunReportRequest, dict]): The request object. The request to generate a report. @@ -273,6 +292,25 @@ async def run_pivot_report( in a pivot. Multiple pivots can be specified to further dissect your data. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_pivot_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunPivotReportRequest( + ) + + # Make the request + response = client.run_pivot_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunPivotReportRequest, dict]): The request object. The request to generate a pivot @@ -323,6 +361,25 @@ async def batch_run_reports( r"""Returns multiple reports in a batch. All reports must be for the same GA4 Property. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_batch_run_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunReportsRequest( + ) + + # Make the request + response = client.batch_run_reports(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.BatchRunReportsRequest, dict]): The request object. The batch request containing @@ -373,6 +430,25 @@ async def batch_run_pivot_reports( r"""Returns multiple pivot reports in a batch. All reports must be for the same GA4 Property. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_batch_run_pivot_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunPivotReportsRequest( + ) + + # Make the request + response = client.batch_run_pivot_reports(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.BatchRunPivotReportsRequest, dict]): The request object. The batch request containing @@ -433,6 +509,26 @@ async def get_metadata( metadata are dimensions and metrics applicable to any property such as ``country`` and ``totalUsers``. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_get_metadata(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.GetMetadataRequest( + name="name_value", + ) + + # Make the request + response = client.get_metadata(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.GetMetadataRequest, dict]): The request object. Request for a property's dimension @@ -516,6 +612,25 @@ async def run_realtime_report( property. These reports show events and usage from the last 30 minutes. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_realtime_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunRealtimeReportRequest( + ) + + # Make the request + response = client.run_realtime_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunRealtimeReportRequest, dict]): The request object. The request to generate a realtime @@ -575,6 +690,25 @@ async def check_compatibility( compatibility rules. This method checks compatibility for Core reports. + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_check_compatibility(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.CheckCompatibilityRequest( + ) + + # Make the request + response = client.check_compatibility(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.CheckCompatibilityRequest, dict]): The request object. The request for compatibility diff --git a/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/client.py b/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/client.py index 04cb410b28d2..2102964d66ac 100644 --- a/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/client.py +++ b/packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/client.py @@ -414,6 +414,26 @@ def run_report( Dimensions break down metrics across some common criteria, such as country or event name. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunReportRequest( + ) + + # Make the request + response = client.run_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunReportRequest, dict]): The request object. The request to generate a report. @@ -468,6 +488,26 @@ def run_pivot_report( in a pivot. Multiple pivots can be specified to further dissect your data. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_pivot_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunPivotReportRequest( + ) + + # Make the request + response = client.run_pivot_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunPivotReportRequest, dict]): The request object. The request to generate a pivot @@ -519,6 +559,26 @@ def batch_run_reports( r"""Returns multiple reports in a batch. All reports must be for the same GA4 Property. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_batch_run_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunReportsRequest( + ) + + # Make the request + response = client.batch_run_reports(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.BatchRunReportsRequest, dict]): The request object. The batch request containing @@ -570,6 +630,26 @@ def batch_run_pivot_reports( r"""Returns multiple pivot reports in a batch. All reports must be for the same GA4 Property. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_batch_run_pivot_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunPivotReportsRequest( + ) + + # Make the request + response = client.batch_run_pivot_reports(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.BatchRunPivotReportsRequest, dict]): The request object. The batch request containing @@ -631,6 +711,27 @@ def get_metadata( metadata are dimensions and metrics applicable to any property such as ``country`` and ``totalUsers``. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_get_metadata(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.GetMetadataRequest( + name="name_value", + ) + + # Make the request + response = client.get_metadata(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.GetMetadataRequest, dict]): The request object. Request for a property's dimension @@ -714,6 +815,26 @@ def run_realtime_report( property. These reports show events and usage from the last 30 minutes. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_run_realtime_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunRealtimeReportRequest( + ) + + # Make the request + response = client.run_realtime_report(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.RunRealtimeReportRequest, dict]): The request object. The request to generate a realtime @@ -774,6 +895,26 @@ def check_compatibility( compatibility rules. This method checks compatibility for Core reports. + + + .. code-block:: + + from google.analytics import data_v1beta + + def sample_check_compatibility(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.CheckCompatibilityRequest( + ) + + # Make the request + response = client.check_compatibility(request=request) + + # Handle response + print(response) + Args: request (Union[google.analytics.data_v1beta.types.CheckCompatibilityRequest, dict]): The request object. The request for compatibility diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_async.py new file mode 100644 index 000000000000..45b03c1bca7b --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for BatchRunPivotReports +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_async] +from google.analytics import data_v1beta + + +async def sample_batch_run_pivot_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunPivotReportsRequest( + ) + + # Make the request + response = await client.batch_run_pivot_reports(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_sync.py new file mode 100644 index 000000000000..2f27cb642bb9 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for BatchRunPivotReports +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_sync] +from google.analytics import data_v1beta + + +def sample_batch_run_pivot_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunPivotReportsRequest( + ) + + # Make the request + response = client.batch_run_pivot_reports(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_async.py new file mode 100644 index 000000000000..77e37cd9cdca --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for BatchRunReports +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_async] +from google.analytics import data_v1beta + + +async def sample_batch_run_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunReportsRequest( + ) + + # Make the request + response = await client.batch_run_reports(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_sync.py new file mode 100644 index 000000000000..4c0b55c78e43 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for BatchRunReports +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_sync] +from google.analytics import data_v1beta + + +def sample_batch_run_reports(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.BatchRunReportsRequest( + ) + + # Make the request + response = client.batch_run_reports(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_async.py new file mode 100644 index 000000000000..a2d6c0b8121b --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for CheckCompatibility +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_async] +from google.analytics import data_v1beta + + +async def sample_check_compatibility(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.CheckCompatibilityRequest( + ) + + # Make the request + response = await client.check_compatibility(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_sync.py new file mode 100644 index 000000000000..b7ff49b4a5a1 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for CheckCompatibility +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_sync] +from google.analytics import data_v1beta + + +def sample_check_compatibility(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.CheckCompatibilityRequest( + ) + + # Make the request + response = client.check_compatibility(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_async.py new file mode 100644 index 000000000000..f1220df8b9fe --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_async.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for GetMetadata +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_async] +from google.analytics import data_v1beta + + +async def sample_get_metadata(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.GetMetadataRequest( + name="name_value", + ) + + # Make the request + response = await client.get_metadata(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_sync.py new file mode 100644 index 000000000000..9057d19d8a12 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_sync.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for GetMetadata +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_sync] +from google.analytics import data_v1beta + + +def sample_get_metadata(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.GetMetadataRequest( + name="name_value", + ) + + # Make the request + response = client.get_metadata(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_async.py new file mode 100644 index 000000000000..1906e8763fa5 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunPivotReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_async] +from google.analytics import data_v1beta + + +async def sample_run_pivot_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.RunPivotReportRequest( + ) + + # Make the request + response = await client.run_pivot_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_sync.py new file mode 100644 index 000000000000..fd7e571088b0 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunPivotReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_sync] +from google.analytics import data_v1beta + + +def sample_run_pivot_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunPivotReportRequest( + ) + + # Make the request + response = client.run_pivot_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_async.py new file mode 100644 index 000000000000..c347e2cde2f7 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunRealtimeReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_async] +from google.analytics import data_v1beta + + +async def sample_run_realtime_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.RunRealtimeReportRequest( + ) + + # Make the request + response = await client.run_realtime_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_sync.py new file mode 100644 index 000000000000..54a83f56c040 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunRealtimeReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_sync] +from google.analytics import data_v1beta + + +def sample_run_realtime_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunRealtimeReportRequest( + ) + + # Make the request + response = client.run_realtime_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_async.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_async.py new file mode 100644 index 000000000000..80e60ee4c836 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_async.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_async] +from google.analytics import data_v1beta + + +async def sample_run_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataAsyncClient() + + # Initialize request argument(s) + request = data_v1beta.RunReportRequest( + ) + + # Make the request + response = await client.run_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_async] diff --git a/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_sync.py b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_sync.py new file mode 100644 index 000000000000..a4473fcf640b --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_sync.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 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 +# +# http://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! +# +# Snippet for RunReport +# NOTE: This snippet has been automatically generated for illustrative purposes only. +# It may require modifications to work in your environment. + +# To install the latest published package dependency, execute the following: +# python3 -m pip install google-analytics-data + + +# [START analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_sync] +from google.analytics import data_v1beta + + +def sample_run_report(): + # Create a client + client = data_v1beta.BetaAnalyticsDataClient() + + # Initialize request argument(s) + request = data_v1beta.RunReportRequest( + ) + + # Make the request + response = client.run_report(request=request) + + # Handle response + print(response) + +# [END analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_sync] diff --git a/packages/google-analytics-data/samples/generated_samples/snippet_metadata_data_v1beta.json b/packages/google-analytics-data/samples/generated_samples/snippet_metadata_data_v1beta.json new file mode 100644 index 000000000000..da72466157b3 --- /dev/null +++ b/packages/google-analytics-data/samples/generated_samples/snippet_metadata_data_v1beta.json @@ -0,0 +1,627 @@ +{ + "snippets": [ + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "BatchRunPivotReports" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "BatchRunPivotReports" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_pivot_reports_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunPivotReports_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "BatchRunReports" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "BatchRunReports" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_batch_run_reports_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_BatchRunReports_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "CheckCompatibility" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "CheckCompatibility" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_check_compatibility_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_CheckCompatibility_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "GetMetadata" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_async", + "segments": [ + { + "end": 44, + "start": 27, + "type": "FULL" + }, + { + "end": 44, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 38, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 41, + "start": 39, + "type": "REQUEST_EXECUTION" + }, + { + "end": 45, + "start": 42, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "GetMetadata" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_get_metadata_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_GetMetadata_sync", + "segments": [ + { + "end": 44, + "start": 27, + "type": "FULL" + }, + { + "end": 44, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 38, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 41, + "start": 39, + "type": "REQUEST_EXECUTION" + }, + { + "end": 45, + "start": 42, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunPivotReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunPivotReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_pivot_report_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunPivotReport_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunRealtimeReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunRealtimeReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_realtime_report_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunRealtimeReport_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "async": true, + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_async.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_async", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + }, + { + "clientMethod": { + "method": { + "service": { + "shortName": "BetaAnalyticsData" + }, + "shortName": "RunReport" + } + }, + "file": "analyticsdata_generated_data_v1beta_beta_analytics_data_run_report_sync.py", + "regionTag": "analyticsdata_generated_data_v1beta_BetaAnalyticsData_RunReport_sync", + "segments": [ + { + "end": 43, + "start": 27, + "type": "FULL" + }, + { + "end": 43, + "start": 27, + "type": "SHORT" + }, + { + "end": 33, + "start": 31, + "type": "CLIENT_INITIALIZATION" + }, + { + "end": 37, + "start": 34, + "type": "REQUEST_INITIALIZATION" + }, + { + "end": 40, + "start": 38, + "type": "REQUEST_EXECUTION" + }, + { + "end": 44, + "start": 41, + "type": "RESPONSE_HANDLING" + } + ] + } + ] +}