-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use gapic-generator-python 0.63.1 (#188)
- [ ] Regenerate this pull request now. docs: add autogenerated code snippets PiperOrigin-RevId: 426256923 Source-Link: googleapis/googleapis@9ebabfa Source-Link: googleapis/googleapis-gen@a881752 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTg4MTc1MjYzZTYwYTFkNDVkM2E0NDc4NDg2NTJiMGY2NzBiMmNiOCJ9
- Loading branch information
1 parent
77a9213
commit 4e78fe0
Showing
171 changed files
with
18,208 additions
and
0 deletions.
There are no files selected for viewing
1,613 changes: 1,613 additions & 0 deletions
1,613
...ics-admin/google/analytics/admin_v1alpha/services/analytics_admin_service/async_client.py
Large diffs are not rendered by default.
Oops, something went wrong.
1,697 changes: 1,697 additions & 0 deletions
1,697
...analytics-admin/google/analytics/admin_v1alpha/services/analytics_admin_service/client.py
Large diffs are not rendered by default.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
...generated_admin_v1alpha_analytics_admin_service_acknowledge_user_data_collection_async.py
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,46 @@ | ||
# -*- 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 AcknowledgeUserDataCollection | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_AcknowledgeUserDataCollection_async] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
async def sample_acknowledge_user_data_collection(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceAsyncClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.AcknowledgeUserDataCollectionRequest( | ||
property="property_value", | ||
acknowledgement="acknowledgement_value", | ||
) | ||
|
||
# Make the request | ||
response = await client.acknowledge_user_data_collection(request=request) | ||
|
||
# Handle response | ||
print(response) | ||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_AcknowledgeUserDataCollection_async] |
46 changes: 46 additions & 0 deletions
46
..._generated_admin_v1alpha_analytics_admin_service_acknowledge_user_data_collection_sync.py
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,46 @@ | ||
# -*- 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 AcknowledgeUserDataCollection | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
def sample_acknowledge_user_data_collection(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.AcknowledgeUserDataCollectionRequest( | ||
property="property_value", | ||
acknowledgement="acknowledgement_value", | ||
) | ||
|
||
# Make the request | ||
response = client.acknowledge_user_data_collection(request=request) | ||
|
||
# Handle response | ||
print(response) | ||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] |
45 changes: 45 additions & 0 deletions
45
...1alpha_analytics_admin_service_approve_display_video360_advertiser_link_proposal_async.py
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,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 ApproveDisplayVideo360AdvertiserLinkProposal | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_async] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
async def sample_approve_display_video360_advertiser_link_proposal(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceAsyncClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = await client.approve_display_video360_advertiser_link_proposal(request=request) | ||
|
||
# Handle response | ||
print(response) | ||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_async] |
45 changes: 45 additions & 0 deletions
45
...v1alpha_analytics_admin_service_approve_display_video360_advertiser_link_proposal_sync.py
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,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 ApproveDisplayVideo360AdvertiserLinkProposal | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
def sample_approve_display_video360_advertiser_link_proposal(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = client.approve_display_video360_advertiser_link_proposal(request=request) | ||
|
||
# Handle response | ||
print(response) | ||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync] |
43 changes: 43 additions & 0 deletions
43
...csadmin_generated_admin_v1alpha_analytics_admin_service_archive_custom_dimension_async.py
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,43 @@ | ||
# -*- 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 ArchiveCustomDimension | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomDimension_async] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
async def sample_archive_custom_dimension(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceAsyncClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ArchiveCustomDimensionRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = await client.archive_custom_dimension(request=request) | ||
|
||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomDimension_async] |
43 changes: 43 additions & 0 deletions
43
...icsadmin_generated_admin_v1alpha_analytics_admin_service_archive_custom_dimension_sync.py
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,43 @@ | ||
# -*- 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 ArchiveCustomDimension | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomDimension_sync] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
def sample_archive_custom_dimension(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ArchiveCustomDimensionRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = client.archive_custom_dimension(request=request) | ||
|
||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomDimension_sync] |
43 changes: 43 additions & 0 deletions
43
...yticsadmin_generated_admin_v1alpha_analytics_admin_service_archive_custom_metric_async.py
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,43 @@ | ||
# -*- 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 ArchiveCustomMetric | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomMetric_async] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
async def sample_archive_custom_metric(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceAsyncClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ArchiveCustomMetricRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = await client.archive_custom_metric(request=request) | ||
|
||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomMetric_async] |
43 changes: 43 additions & 0 deletions
43
...lyticsadmin_generated_admin_v1alpha_analytics_admin_service_archive_custom_metric_sync.py
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,43 @@ | ||
# -*- 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 ArchiveCustomMetric | ||
# 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-admin | ||
|
||
|
||
# [START analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomMetric_sync] | ||
from google.analytics import admin_v1alpha | ||
|
||
|
||
def sample_archive_custom_metric(): | ||
# Create a client | ||
client = admin_v1alpha.AnalyticsAdminServiceClient() | ||
|
||
# Initialize request argument(s) | ||
request = admin_v1alpha.ArchiveCustomMetricRequest( | ||
name="name_value", | ||
) | ||
|
||
# Make the request | ||
response = client.archive_custom_metric(request=request) | ||
|
||
|
||
# [END analyticsadmin_generated_admin_v1alpha_AnalyticsAdminService_ArchiveCustomMetric_sync] |
Oops, something went wrong.