Skip to content

Commit 7c5d1bf

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#283)
* feat: Bump gapic-generator-python version to 1.3.0 PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b17bb6f commit 7c5d1bf

File tree

23 files changed

+385
-161
lines changed

23 files changed

+385
-161
lines changed

packages/google-analytics-data/google/analytics/data_v1alpha/services/alpha_analytics_data/async_client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ async def run_funnel_report(
224224
225225
.. code-block:: python
226226
227+
# This snippet has been automatically generated and should be regarded as a
228+
# code template only.
229+
# It will require modifications to work:
230+
# - It may require correct/in-range values for request initialization.
231+
# - It may require specifying regional endpoints when creating the service
232+
# client as shown in:
233+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
227234
from google.analytics import data_v1alpha
228235
229236
async def sample_run_funnel_report():

packages/google-analytics-data/google/analytics/data_v1alpha/services/alpha_analytics_data/client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,13 @@ def run_funnel_report(
428428
429429
.. code-block:: python
430430
431+
# This snippet has been automatically generated and should be regarded as a
432+
# code template only.
433+
# It will require modifications to work:
434+
# - It may require correct/in-range values for request initialization.
435+
# - It may require specifying regional endpoints when creating the service
436+
# client as shown in:
437+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
431438
from google.analytics import data_v1alpha
432439
433440
def sample_run_funnel_report():

packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/async_client.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,13 @@ async def run_report(
222222
223223
.. code-block:: python
224224
225+
# This snippet has been automatically generated and should be regarded as a
226+
# code template only.
227+
# It will require modifications to work:
228+
# - It may require correct/in-range values for request initialization.
229+
# - It may require specifying regional endpoints when creating the service
230+
# client as shown in:
231+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
225232
from google.analytics import data_v1beta
226233
227234
async def sample_run_report():
@@ -298,6 +305,13 @@ async def run_pivot_report(
298305
299306
.. code-block:: python
300307
308+
# This snippet has been automatically generated and should be regarded as a
309+
# code template only.
310+
# It will require modifications to work:
311+
# - It may require correct/in-range values for request initialization.
312+
# - It may require specifying regional endpoints when creating the service
313+
# client as shown in:
314+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
301315
from google.analytics import data_v1beta
302316
303317
async def sample_run_pivot_report():
@@ -371,6 +385,13 @@ async def batch_run_reports(
371385
372386
.. code-block:: python
373387
388+
# This snippet has been automatically generated and should be regarded as a
389+
# code template only.
390+
# It will require modifications to work:
391+
# - It may require correct/in-range values for request initialization.
392+
# - It may require specifying regional endpoints when creating the service
393+
# client as shown in:
394+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
374395
from google.analytics import data_v1beta
375396
376397
async def sample_batch_run_reports():
@@ -444,6 +465,13 @@ async def batch_run_pivot_reports(
444465
445466
.. code-block:: python
446467
468+
# This snippet has been automatically generated and should be regarded as a
469+
# code template only.
470+
# It will require modifications to work:
471+
# - It may require correct/in-range values for request initialization.
472+
# - It may require specifying regional endpoints when creating the service
473+
# client as shown in:
474+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
447475
from google.analytics import data_v1beta
448476
449477
async def sample_batch_run_pivot_reports():
@@ -527,6 +555,13 @@ async def get_metadata(
527555
528556
.. code-block:: python
529557
558+
# This snippet has been automatically generated and should be regarded as a
559+
# code template only.
560+
# It will require modifications to work:
561+
# - It may require correct/in-range values for request initialization.
562+
# - It may require specifying regional endpoints when creating the service
563+
# client as shown in:
564+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
530565
from google.analytics import data_v1beta
531566
532567
async def sample_get_metadata():
@@ -634,6 +669,13 @@ async def run_realtime_report(
634669
635670
.. code-block:: python
636671
672+
# This snippet has been automatically generated and should be regarded as a
673+
# code template only.
674+
# It will require modifications to work:
675+
# - It may require correct/in-range values for request initialization.
676+
# - It may require specifying regional endpoints when creating the service
677+
# client as shown in:
678+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
637679
from google.analytics import data_v1beta
638680
639681
async def sample_run_realtime_report():
@@ -716,6 +758,13 @@ async def check_compatibility(
716758
717759
.. code-block:: python
718760
761+
# This snippet has been automatically generated and should be regarded as a
762+
# code template only.
763+
# It will require modifications to work:
764+
# - It may require correct/in-range values for request initialization.
765+
# - It may require specifying regional endpoints when creating the service
766+
# client as shown in:
767+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
719768
from google.analytics import data_v1beta
720769
721770
async def sample_check_compatibility():

packages/google-analytics-data/google/analytics/data_v1beta/services/beta_analytics_data/client.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,13 @@ def run_report(
440440
441441
.. code-block:: python
442442
443+
# This snippet has been automatically generated and should be regarded as a
444+
# code template only.
445+
# It will require modifications to work:
446+
# - It may require correct/in-range values for request initialization.
447+
# - It may require specifying regional endpoints when creating the service
448+
# client as shown in:
449+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
443450
from google.analytics import data_v1beta
444451
445452
def sample_run_report():
@@ -517,6 +524,13 @@ def run_pivot_report(
517524
518525
.. code-block:: python
519526
527+
# This snippet has been automatically generated and should be regarded as a
528+
# code template only.
529+
# It will require modifications to work:
530+
# - It may require correct/in-range values for request initialization.
531+
# - It may require specifying regional endpoints when creating the service
532+
# client as shown in:
533+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
520534
from google.analytics import data_v1beta
521535
522536
def sample_run_pivot_report():
@@ -591,6 +605,13 @@ def batch_run_reports(
591605
592606
.. code-block:: python
593607
608+
# This snippet has been automatically generated and should be regarded as a
609+
# code template only.
610+
# It will require modifications to work:
611+
# - It may require correct/in-range values for request initialization.
612+
# - It may require specifying regional endpoints when creating the service
613+
# client as shown in:
614+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
594615
from google.analytics import data_v1beta
595616
596617
def sample_batch_run_reports():
@@ -665,6 +686,13 @@ def batch_run_pivot_reports(
665686
666687
.. code-block:: python
667688
689+
# This snippet has been automatically generated and should be regarded as a
690+
# code template only.
691+
# It will require modifications to work:
692+
# - It may require correct/in-range values for request initialization.
693+
# - It may require specifying regional endpoints when creating the service
694+
# client as shown in:
695+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
668696
from google.analytics import data_v1beta
669697
670698
def sample_batch_run_pivot_reports():
@@ -749,6 +777,13 @@ def get_metadata(
749777
750778
.. code-block:: python
751779
780+
# This snippet has been automatically generated and should be regarded as a
781+
# code template only.
782+
# It will require modifications to work:
783+
# - It may require correct/in-range values for request initialization.
784+
# - It may require specifying regional endpoints when creating the service
785+
# client as shown in:
786+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
752787
from google.analytics import data_v1beta
753788
754789
def sample_get_metadata():
@@ -856,6 +891,13 @@ def run_realtime_report(
856891
857892
.. code-block:: python
858893
894+
# This snippet has been automatically generated and should be regarded as a
895+
# code template only.
896+
# It will require modifications to work:
897+
# - It may require correct/in-range values for request initialization.
898+
# - It may require specifying regional endpoints when creating the service
899+
# client as shown in:
900+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
859901
from google.analytics import data_v1beta
860902
861903
def sample_run_realtime_report():
@@ -939,6 +981,13 @@ def check_compatibility(
939981
940982
.. code-block:: python
941983
984+
# This snippet has been automatically generated and should be regarded as a
985+
# code template only.
986+
# It will require modifications to work:
987+
# - It may require correct/in-range values for request initialization.
988+
# - It may require specifying regional endpoints when creating the service
989+
# client as shown in:
990+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
942991
from google.analytics import data_v1beta
943992
944993
def sample_check_compatibility():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.7
33
namespace_packages = True

packages/google-analytics-data/samples/generated_samples/analyticsdata_v1alpha_generated_alpha_analytics_data_run_funnel_report_async.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525

2626
# [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_RunFunnelReport_async]
27+
# This snippet has been automatically generated and should be regarded as a
28+
# code template only.
29+
# It will require modifications to work:
30+
# - It may require correct/in-range values for request initialization.
31+
# - It may require specifying regional endpoints when creating the service
32+
# client as shown in:
33+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
2734
from google.analytics import data_v1alpha
2835

2936

packages/google-analytics-data/samples/generated_samples/analyticsdata_v1alpha_generated_alpha_analytics_data_run_funnel_report_sync.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525

2626
# [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_RunFunnelReport_sync]
27+
# This snippet has been automatically generated and should be regarded as a
28+
# code template only.
29+
# It will require modifications to work:
30+
# - It may require correct/in-range values for request initialization.
31+
# - It may require specifying regional endpoints when creating the service
32+
# client as shown in:
33+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
2734
from google.analytics import data_v1alpha
2835

2936

packages/google-analytics-data/samples/generated_samples/analyticsdata_v1beta_generated_beta_analytics_data_batch_run_pivot_reports_async.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525

2626
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_async]
27+
# This snippet has been automatically generated and should be regarded as a
28+
# code template only.
29+
# It will require modifications to work:
30+
# - It may require correct/in-range values for request initialization.
31+
# - It may require specifying regional endpoints when creating the service
32+
# client as shown in:
33+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
2734
from google.analytics import data_v1beta
2835

2936

packages/google-analytics-data/samples/generated_samples/analyticsdata_v1beta_generated_beta_analytics_data_batch_run_pivot_reports_sync.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525

2626
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunPivotReports_sync]
27+
# This snippet has been automatically generated and should be regarded as a
28+
# code template only.
29+
# It will require modifications to work:
30+
# - It may require correct/in-range values for request initialization.
31+
# - It may require specifying regional endpoints when creating the service
32+
# client as shown in:
33+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
2734
from google.analytics import data_v1beta
2835

2936

packages/google-analytics-data/samples/generated_samples/analyticsdata_v1beta_generated_beta_analytics_data_batch_run_reports_async.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@
2424

2525

2626
# [START analyticsdata_v1beta_generated_BetaAnalyticsData_BatchRunReports_async]
27+
# This snippet has been automatically generated and should be regarded as a
28+
# code template only.
29+
# It will require modifications to work:
30+
# - It may require correct/in-range values for request initialization.
31+
# - It may require specifying regional endpoints when creating the service
32+
# client as shown in:
33+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
2734
from google.analytics import data_v1beta
2835

2936

0 commit comments

Comments
 (0)