Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 5c24a33

Browse files
docs: Fix formatting of request arg in docstring (#335)
* docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 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 49c9f02 commit 5c24a33

6 files changed

Lines changed: 80 additions & 210 deletions

File tree

google/analytics/admin_v1alpha/services/analytics_admin_service/async_client.py

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,7 @@ async def sample_list_accounts():
490490
491491
Args:
492492
request (Optional[Union[google.analytics.admin_v1alpha.types.ListAccountsRequest, dict]]):
493-
The request object. Request message for ListAccounts
494-
RPC.
493+
The request object. Request message for ListAccounts RPC.
495494
retry (google.api_core.retry.Retry): Designation of what errors, if any,
496495
should be retried.
497496
timeout (float): The timeout for this request.
@@ -1597,8 +1596,8 @@ async def sample_batch_get_user_links():
15971596
15981597
Args:
15991598
request (Optional[Union[google.analytics.admin_v1alpha.types.BatchGetUserLinksRequest, dict]]):
1600-
The request object. Request message for
1601-
BatchGetUserLinks RPC.
1599+
The request object. Request message for BatchGetUserLinks
1600+
RPC.
16021601
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16031602
should be retried.
16041603
timeout (float): The timeout for this request.
@@ -1903,14 +1902,16 @@ async def sample_create_user_link():
19031902
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateUserLinkRequest, dict]]):
19041903
The request object. Request message for CreateUserLink
19051904
RPC.
1906-
Users can have multiple email addresses associated with
1907-
their Google account, and one of these email addresses
1908-
is the "primary" email address. Any of the email
1909-
addresses associated with a Google account may be used
1910-
for a new UserLink, but the returned UserLink will
1911-
always contain the "primary" email address. As a result,
1912-
the input and output email address for this request may
1913-
differ.
1905+
Users can have multiple email addresses
1906+
associated with their Google account,
1907+
and one of these email addresses is the
1908+
"primary" email address. Any of the
1909+
email addresses associated with a Google
1910+
account may be used for a new UserLink,
1911+
but the returned UserLink will always
1912+
contain the "primary" email address. As
1913+
a result, the input and output email
1914+
address for this request may differ.
19141915
parent (:class:`str`):
19151916
Required. Example format:
19161917
accounts/1234
@@ -2668,8 +2669,8 @@ async def sample_list_firebase_links():
26682669
26692670
Args:
26702671
request (Optional[Union[google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest, dict]]):
2671-
The request object. Request message for
2672-
ListFirebaseLinks RPC
2672+
The request object. Request message for ListFirebaseLinks
2673+
RPC
26732674
parent (:class:`str`):
26742675
Required. Format: properties/{property_id} Example:
26752676
properties/1234
@@ -5424,7 +5425,8 @@ async def sample_get_display_video360_advertiser_link_proposal():
54245425
Args:
54255426
request (Optional[Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]]):
54265427
The request object. Request message for
5427-
GetDisplayVideo360AdvertiserLinkProposal RPC.
5428+
GetDisplayVideo360AdvertiserLinkProposal
5429+
RPC.
54285430
name (:class:`str`):
54295431
Required. The name of the
54305432
DisplayVideo360AdvertiserLinkProposal to
@@ -5543,7 +5545,8 @@ async def sample_list_display_video360_advertiser_link_proposals():
55435545
Args:
55445546
request (Optional[Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]]):
55455547
The request object. Request message for
5546-
ListDisplayVideo360AdvertiserLinkProposals RPC.
5548+
ListDisplayVideo360AdvertiserLinkProposals
5549+
RPC.
55475550
parent (:class:`str`):
55485551
Required. Example format:
55495552
properties/1234
@@ -5666,7 +5669,8 @@ async def sample_create_display_video360_advertiser_link_proposal():
56665669
Args:
56675670
request (Optional[Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]]):
56685671
The request object. Request message for
5669-
CreateDisplayVideo360AdvertiserLinkProposal RPC.
5672+
CreateDisplayVideo360AdvertiserLinkProposal
5673+
RPC.
56705674
parent (:class:`str`):
56715675
Required. Example format:
56725676
properties/1234
@@ -5791,7 +5795,8 @@ async def sample_delete_display_video360_advertiser_link_proposal():
57915795
Args:
57925796
request (Optional[Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]]):
57935797
The request object. Request message for
5794-
DeleteDisplayVideo360AdvertiserLinkProposal RPC.
5798+
DeleteDisplayVideo360AdvertiserLinkProposal
5799+
RPC.
57955800
name (:class:`str`):
57965801
Required. The name of the
57975802
DisplayVideo360AdvertiserLinkProposal to
@@ -5895,7 +5900,8 @@ async def sample_approve_display_video360_advertiser_link_proposal():
58955900
Args:
58965901
request (Optional[Union[google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]]):
58975902
The request object. Request message for
5898-
ApproveDisplayVideo360AdvertiserLinkProposal RPC.
5903+
ApproveDisplayVideo360AdvertiserLinkProposal
5904+
RPC.
58995905
retry (google.api_core.retry.Retry): Designation of what errors, if any,
59005906
should be retried.
59015907
timeout (float): The timeout for this request.
@@ -5987,7 +5993,8 @@ async def sample_cancel_display_video360_advertiser_link_proposal():
59875993
Args:
59885994
request (Optional[Union[google.analytics.admin_v1alpha.types.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]]):
59895995
The request object. Request message for
5990-
CancelDisplayVideo360AdvertiserLinkProposal RPC.
5996+
CancelDisplayVideo360AdvertiserLinkProposal
5997+
RPC.
59915998
retry (google.api_core.retry.Retry): Designation of what errors, if any,
59925999
should be retried.
59936000
timeout (float): The timeout for this request.
@@ -6852,8 +6859,8 @@ async def sample_list_custom_metrics():
68526859
68536860
Args:
68546861
request (Optional[Union[google.analytics.admin_v1alpha.types.ListCustomMetricsRequest, dict]]):
6855-
The request object. Request message for
6856-
ListCustomMetrics RPC.
6862+
The request object. Request message for ListCustomMetrics
6863+
RPC.
68576864
parent (:class:`str`):
68586865
Required. Example format:
68596866
properties/1234
@@ -10774,7 +10781,8 @@ async def sample_set_automated_ga4_configuration_opt_out():
1077410781
Args:
1077510782
request (Optional[Union[google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutRequest, dict]]):
1077610783
The request object. Request for setting the opt out
10777-
status for the automated GA4 setup process.
10784+
status for the automated GA4 setup
10785+
process.
1077810786
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1077910787
should be retried.
1078010788
timeout (float): The timeout for this request.
@@ -10853,7 +10861,8 @@ async def sample_fetch_automated_ga4_configuration_opt_out():
1085310861
Args:
1085410862
request (Optional[Union[google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutRequest, dict]]):
1085510863
The request object. Request for fetching the opt out
10856-
status for the automated GA4 setup process.
10864+
status for the automated GA4 setup
10865+
process.
1085710866
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1085810867
should be retried.
1085910868
timeout (float): The timeout for this request.
@@ -11033,8 +11042,8 @@ async def sample_list_big_query_links():
1103311042
1103411043
Args:
1103511044
request (Optional[Union[google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest, dict]]):
11036-
The request object. Request message for
11037-
ListBigQueryLinks RPC.
11045+
The request object. Request message for ListBigQueryLinks
11046+
RPC.
1103811047
parent (:class:`str`):
1103911048
Required. The name of the property to list BigQuery
1104011049
links under. Format: properties/{property_id} Example:

google/analytics/admin_v1alpha/services/analytics_admin_service/client.py

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,7 @@ def sample_list_accounts():
10161016
10171017
Args:
10181018
request (Union[google.analytics.admin_v1alpha.types.ListAccountsRequest, dict]):
1019-
The request object. Request message for ListAccounts
1020-
RPC.
1019+
The request object. Request message for ListAccounts RPC.
10211020
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10221021
should be retried.
10231022
timeout (float): The timeout for this request.
@@ -2127,8 +2126,8 @@ def sample_batch_get_user_links():
21272126
21282127
Args:
21292128
request (Union[google.analytics.admin_v1alpha.types.BatchGetUserLinksRequest, dict]):
2130-
The request object. Request message for
2131-
BatchGetUserLinks RPC.
2129+
The request object. Request message for BatchGetUserLinks
2130+
RPC.
21322131
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21332132
should be retried.
21342133
timeout (float): The timeout for this request.
@@ -2435,14 +2434,16 @@ def sample_create_user_link():
24352434
request (Union[google.analytics.admin_v1alpha.types.CreateUserLinkRequest, dict]):
24362435
The request object. Request message for CreateUserLink
24372436
RPC.
2438-
Users can have multiple email addresses associated with
2439-
their Google account, and one of these email addresses
2440-
is the "primary" email address. Any of the email
2441-
addresses associated with a Google account may be used
2442-
for a new UserLink, but the returned UserLink will
2443-
always contain the "primary" email address. As a result,
2444-
the input and output email address for this request may
2445-
differ.
2437+
Users can have multiple email addresses
2438+
associated with their Google account,
2439+
and one of these email addresses is the
2440+
"primary" email address. Any of the
2441+
email addresses associated with a Google
2442+
account may be used for a new UserLink,
2443+
but the returned UserLink will always
2444+
contain the "primary" email address. As
2445+
a result, the input and output email
2446+
address for this request may differ.
24462447
parent (str):
24472448
Required. Example format:
24482449
accounts/1234
@@ -3203,8 +3204,8 @@ def sample_list_firebase_links():
32033204
32043205
Args:
32053206
request (Union[google.analytics.admin_v1alpha.types.ListFirebaseLinksRequest, dict]):
3206-
The request object. Request message for
3207-
ListFirebaseLinks RPC
3207+
The request object. Request message for ListFirebaseLinks
3208+
RPC
32083209
parent (str):
32093210
Required. Format: properties/{property_id} Example:
32103211
properties/1234
@@ -6017,7 +6018,8 @@ def sample_get_display_video360_advertiser_link_proposal():
60176018
Args:
60186019
request (Union[google.analytics.admin_v1alpha.types.GetDisplayVideo360AdvertiserLinkProposalRequest, dict]):
60196020
The request object. Request message for
6020-
GetDisplayVideo360AdvertiserLinkProposal RPC.
6021+
GetDisplayVideo360AdvertiserLinkProposal
6022+
RPC.
60216023
name (str):
60226024
Required. The name of the
60236025
DisplayVideo360AdvertiserLinkProposal to
@@ -6140,7 +6142,8 @@ def sample_list_display_video360_advertiser_link_proposals():
61406142
Args:
61416143
request (Union[google.analytics.admin_v1alpha.types.ListDisplayVideo360AdvertiserLinkProposalsRequest, dict]):
61426144
The request object. Request message for
6143-
ListDisplayVideo360AdvertiserLinkProposals RPC.
6145+
ListDisplayVideo360AdvertiserLinkProposals
6146+
RPC.
61446147
parent (str):
61456148
Required. Example format:
61466149
properties/1234
@@ -6267,7 +6270,8 @@ def sample_create_display_video360_advertiser_link_proposal():
62676270
Args:
62686271
request (Union[google.analytics.admin_v1alpha.types.CreateDisplayVideo360AdvertiserLinkProposalRequest, dict]):
62696272
The request object. Request message for
6270-
CreateDisplayVideo360AdvertiserLinkProposal RPC.
6273+
CreateDisplayVideo360AdvertiserLinkProposal
6274+
RPC.
62716275
parent (str):
62726276
Required. Example format:
62736277
properties/1234
@@ -6398,7 +6402,8 @@ def sample_delete_display_video360_advertiser_link_proposal():
63986402
Args:
63996403
request (Union[google.analytics.admin_v1alpha.types.DeleteDisplayVideo360AdvertiserLinkProposalRequest, dict]):
64006404
The request object. Request message for
6401-
DeleteDisplayVideo360AdvertiserLinkProposal RPC.
6405+
DeleteDisplayVideo360AdvertiserLinkProposal
6406+
RPC.
64026407
name (str):
64036408
Required. The name of the
64046409
DisplayVideo360AdvertiserLinkProposal to
@@ -6508,7 +6513,8 @@ def sample_approve_display_video360_advertiser_link_proposal():
65086513
Args:
65096514
request (Union[google.analytics.admin_v1alpha.types.ApproveDisplayVideo360AdvertiserLinkProposalRequest, dict]):
65106515
The request object. Request message for
6511-
ApproveDisplayVideo360AdvertiserLinkProposal RPC.
6516+
ApproveDisplayVideo360AdvertiserLinkProposal
6517+
RPC.
65126518
retry (google.api_core.retry.Retry): Designation of what errors, if any,
65136519
should be retried.
65146520
timeout (float): The timeout for this request.
@@ -6607,7 +6613,8 @@ def sample_cancel_display_video360_advertiser_link_proposal():
66076613
Args:
66086614
request (Union[google.analytics.admin_v1alpha.types.CancelDisplayVideo360AdvertiserLinkProposalRequest, dict]):
66096615
The request object. Request message for
6610-
CancelDisplayVideo360AdvertiserLinkProposal RPC.
6616+
CancelDisplayVideo360AdvertiserLinkProposal
6617+
RPC.
66116618
retry (google.api_core.retry.Retry): Designation of what errors, if any,
66126619
should be retried.
66136620
timeout (float): The timeout for this request.
@@ -7479,8 +7486,8 @@ def sample_list_custom_metrics():
74797486
74807487
Args:
74817488
request (Union[google.analytics.admin_v1alpha.types.ListCustomMetricsRequest, dict]):
7482-
The request object. Request message for
7483-
ListCustomMetrics RPC.
7489+
The request object. Request message for ListCustomMetrics
7490+
RPC.
74847491
parent (str):
74857492
Required. Example format:
74867493
properties/1234
@@ -11427,7 +11434,8 @@ def sample_set_automated_ga4_configuration_opt_out():
1142711434
Args:
1142811435
request (Union[google.analytics.admin_v1alpha.types.SetAutomatedGa4ConfigurationOptOutRequest, dict]):
1142911436
The request object. Request for setting the opt out
11430-
status for the automated GA4 setup process.
11437+
status for the automated GA4 setup
11438+
process.
1143111439
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1143211440
should be retried.
1143311441
timeout (float): The timeout for this request.
@@ -11511,7 +11519,8 @@ def sample_fetch_automated_ga4_configuration_opt_out():
1151111519
Args:
1151211520
request (Union[google.analytics.admin_v1alpha.types.FetchAutomatedGa4ConfigurationOptOutRequest, dict]):
1151311521
The request object. Request for fetching the opt out
11514-
status for the automated GA4 setup process.
11522+
status for the automated GA4 setup
11523+
process.
1151511524
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1151611525
should be retried.
1151711526
timeout (float): The timeout for this request.
@@ -11698,8 +11707,8 @@ def sample_list_big_query_links():
1169811707
1169911708
Args:
1170011709
request (Union[google.analytics.admin_v1alpha.types.ListBigQueryLinksRequest, dict]):
11701-
The request object. Request message for
11702-
ListBigQueryLinks RPC.
11710+
The request object. Request message for ListBigQueryLinks
11711+
RPC.
1170311712
parent (str):
1170411713
Required. The name of the property to list BigQuery
1170511714
links under. Format: properties/{property_id} Example:

0 commit comments

Comments
 (0)