This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add MeasurementProtocolSecret methods to the API (#71)
PiperOrigin-RevId: 375776214 Source-Link: googleapis/googleapis@c3bf1b7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/23248c2d6af2ceb679b5bbc226ce505089d9ffe0 feat: add `GetGoogleSignalsSettings`, `UpdateGoogleSignalsSettings` methods to the API feat: add `ConversionEvent` methods to the API feat: add `CustomDimension` methods to the API feat: add `CustomMetric` methods to the API feat: add `GoogleSignalsState`, `GoogleSignalsConsent` types feat: add `GoogleSignalsSettings` type feat: add `MeasurementProtocolSecret` type feat: add `ConversionEvent` type feat: add `CustomDimension` type feat: add `CustomMetric` type feat: extend `ChangeHistoryResourceType` enum fix: label `email_address` field of `UserLink` type as immutable fix: label `name` field of `UserLink` type as output only
- Loading branch information
1 parent
89623ae
commit ab703de
Showing
22 changed files
with
15,675 additions
and
3,584 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -15,11 +14,18 @@ | |
# limitations under the License. | ||
# | ||
|
||
from google.analytics.admin_v1alpha.services.analytics_admin_service.client import ( | ||
AnalyticsAdminServiceClient, | ||
) | ||
from google.analytics.admin_v1alpha.services.analytics_admin_service.async_client import ( | ||
AnalyticsAdminServiceAsyncClient, | ||
) | ||
from google.analytics.admin_v1alpha.services.analytics_admin_service.client import ( | ||
AnalyticsAdminServiceClient, | ||
|
||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ArchiveCustomDimensionRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ArchiveCustomMetricRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import AuditUserLinksRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import AuditUserLinksResponse | ||
|
@@ -45,7 +51,13 @@ | |
BatchUpdateUserLinksResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
CreateAndroidAppDataStreamRequest, | ||
CreateConversionEventRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
CreateCustomDimensionRequest, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dandhlee
Contributor
|
||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
CreateCustomMetricRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
CreateFirebaseLinkRequest, | ||
|
@@ -54,7 +66,7 @@ | |
CreateGoogleAdsLinkRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
CreateIosAppDataStreamRequest, | ||
CreateMeasurementProtocolSecretRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import CreatePropertyRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import CreateUserLinkRequest | ||
|
@@ -65,6 +77,9 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
DeleteAndroidAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
DeleteConversionEventRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
DeleteFirebaseLinkRequest, | ||
) | ||
|
@@ -74,6 +89,9 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
DeleteIosAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
DeleteMeasurementProtocolSecretRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import DeletePropertyRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import DeleteUserLinkRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
|
@@ -83,33 +101,64 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetAndroidAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetConversionEventRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetCustomDimensionRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import GetCustomMetricRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetDataSharingSettingsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetEnhancedMeasurementSettingsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import GetGlobalSiteTagRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetGoogleSignalsSettingsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetIosAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
GetMeasurementProtocolSecretRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import GetPropertyRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import GetUserLinkRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import GetWebDataStreamRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListAccountsRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListAccountsResponse | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListAccountSummariesRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListAccountSummariesResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListAccountsRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListAccountsResponse | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListAndroidAppDataStreamsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListAndroidAppDataStreamsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListConversionEventsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListConversionEventsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListCustomDimensionsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListCustomDimensionsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListCustomMetricsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListCustomMetricsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListFirebaseLinksRequest, | ||
) | ||
|
@@ -128,6 +177,12 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListIosAppDataStreamsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListMeasurementProtocolSecretsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ListMeasurementProtocolSecretsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListPropertiesRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListPropertiesResponse | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ListUserLinksRequest | ||
|
@@ -144,10 +199,22 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
ProvisionAccountTicketResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
SearchChangeHistoryEventsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
SearchChangeHistoryEventsResponse, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import UpdateAccountRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateAndroidAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateCustomDimensionRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateCustomMetricRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateEnhancedMeasurementSettingsRequest, | ||
) | ||
|
@@ -157,9 +224,15 @@ | |
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateGoogleAdsLinkRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateGoogleSignalsSettingsRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateIosAppDataStreamRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
UpdateMeasurementProtocolSecretRequest, | ||
) | ||
from google.analytics.admin_v1alpha.types.analytics_admin import UpdatePropertyRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import UpdateUserLinkRequest | ||
from google.analytics.admin_v1alpha.types.analytics_admin import ( | ||
|
@@ -169,26 +242,36 @@ | |
from google.analytics.admin_v1alpha.types.resources import AccountSummary | ||
from google.analytics.admin_v1alpha.types.resources import AndroidAppDataStream | ||
from google.analytics.admin_v1alpha.types.resources import AuditUserLink | ||
from google.analytics.admin_v1alpha.types.resources import ChangeHistoryChange | ||
from google.analytics.admin_v1alpha.types.resources import ChangeHistoryEvent | ||
from google.analytics.admin_v1alpha.types.resources import ConversionEvent | ||
from google.analytics.admin_v1alpha.types.resources import CustomDimension | ||
from google.analytics.admin_v1alpha.types.resources import CustomMetric | ||
from google.analytics.admin_v1alpha.types.resources import DataSharingSettings | ||
from google.analytics.admin_v1alpha.types.resources import EnhancedMeasurementSettings | ||
from google.analytics.admin_v1alpha.types.resources import FirebaseLink | ||
from google.analytics.admin_v1alpha.types.resources import GlobalSiteTag | ||
from google.analytics.admin_v1alpha.types.resources import GoogleAdsLink | ||
from google.analytics.admin_v1alpha.types.resources import IndustryCategory | ||
from google.analytics.admin_v1alpha.types.resources import GoogleSignalsSettings | ||
from google.analytics.admin_v1alpha.types.resources import IosAppDataStream | ||
from google.analytics.admin_v1alpha.types.resources import MaximumUserAccess | ||
from google.analytics.admin_v1alpha.types.resources import MeasurementProtocolSecret | ||
from google.analytics.admin_v1alpha.types.resources import Property | ||
from google.analytics.admin_v1alpha.types.resources import PropertySummary | ||
from google.analytics.admin_v1alpha.types.resources import UserLink | ||
from google.analytics.admin_v1alpha.types.resources import WebDataStream | ||
from google.analytics.admin_v1alpha.types.resources import ActionType | ||
from google.analytics.admin_v1alpha.types.resources import ActorType | ||
from google.analytics.admin_v1alpha.types.resources import ChangeHistoryResourceType | ||
from google.analytics.admin_v1alpha.types.resources import GoogleSignalsConsent | ||
from google.analytics.admin_v1alpha.types.resources import GoogleSignalsState | ||
from google.analytics.admin_v1alpha.types.resources import IndustryCategory | ||
from google.analytics.admin_v1alpha.types.resources import MaximumUserAccess | ||
|
||
__all__ = ( | ||
"Account", | ||
"AccountSummary", | ||
"AnalyticsAdminServiceAsyncClient", | ||
"AnalyticsAdminServiceClient", | ||
"AndroidAppDataStream", | ||
"AuditUserLink", | ||
"AnalyticsAdminServiceAsyncClient", | ||
"ArchiveCustomDimensionRequest", | ||
"ArchiveCustomMetricRequest", | ||
"AuditUserLinksRequest", | ||
"AuditUserLinksResponse", | ||
"BatchCreateUserLinksRequest", | ||
|
@@ -198,69 +281,108 @@ | |
"BatchGetUserLinksResponse", | ||
"BatchUpdateUserLinksRequest", | ||
"BatchUpdateUserLinksResponse", | ||
"CreateAndroidAppDataStreamRequest", | ||
"CreateConversionEventRequest", | ||
"CreateCustomDimensionRequest", | ||
"CreateCustomMetricRequest", | ||
"CreateFirebaseLinkRequest", | ||
"CreateGoogleAdsLinkRequest", | ||
"CreateIosAppDataStreamRequest", | ||
"CreateMeasurementProtocolSecretRequest", | ||
"CreatePropertyRequest", | ||
"CreateUserLinkRequest", | ||
"CreateWebDataStreamRequest", | ||
"DataSharingSettings", | ||
"DeleteAccountRequest", | ||
"DeleteAndroidAppDataStreamRequest", | ||
"DeleteConversionEventRequest", | ||
"DeleteFirebaseLinkRequest", | ||
"DeleteGoogleAdsLinkRequest", | ||
"DeleteIosAppDataStreamRequest", | ||
"DeleteMeasurementProtocolSecretRequest", | ||
"DeletePropertyRequest", | ||
"DeleteUserLinkRequest", | ||
"DeleteWebDataStreamRequest", | ||
"EnhancedMeasurementSettings", | ||
"FirebaseLink", | ||
"GetAccountRequest", | ||
"GetAndroidAppDataStreamRequest", | ||
"GetConversionEventRequest", | ||
"GetCustomDimensionRequest", | ||
"GetCustomMetricRequest", | ||
"GetDataSharingSettingsRequest", | ||
"GetEnhancedMeasurementSettingsRequest", | ||
"GetGlobalSiteTagRequest", | ||
"GetGoogleSignalsSettingsRequest", | ||
"GetIosAppDataStreamRequest", | ||
"GetMeasurementProtocolSecretRequest", | ||
"GetPropertyRequest", | ||
"GetUserLinkRequest", | ||
"GetWebDataStreamRequest", | ||
"GlobalSiteTag", | ||
"GoogleAdsLink", | ||
"IndustryCategory", | ||
"IosAppDataStream", | ||
"ListAccountSummariesRequest", | ||
"ListAccountSummariesResponse", | ||
"ListAccountsRequest", | ||
"ListAccountsResponse", | ||
"ListAccountSummariesRequest", | ||
"ListAccountSummariesResponse", | ||
"ListAndroidAppDataStreamsRequest", | ||
"ListAndroidAppDataStreamsResponse", | ||
"ListConversionEventsRequest", | ||
"ListConversionEventsResponse", | ||
"ListCustomDimensionsRequest", | ||
"ListCustomDimensionsResponse", | ||
"ListCustomMetricsRequest", | ||
"ListCustomMetricsResponse", | ||
"ListFirebaseLinksRequest", | ||
"ListFirebaseLinksResponse", | ||
"ListGoogleAdsLinksRequest", | ||
"ListGoogleAdsLinksResponse", | ||
"ListIosAppDataStreamsRequest", | ||
"ListIosAppDataStreamsResponse", | ||
"ListMeasurementProtocolSecretsRequest", | ||
"ListMeasurementProtocolSecretsResponse", | ||
"ListPropertiesRequest", | ||
"ListPropertiesResponse", | ||
"ListUserLinksRequest", | ||
"ListUserLinksResponse", | ||
"ListWebDataStreamsRequest", | ||
"ListWebDataStreamsResponse", | ||
"MaximumUserAccess", | ||
"Property", | ||
"PropertySummary", | ||
"ProvisionAccountTicketRequest", | ||
"ProvisionAccountTicketResponse", | ||
"SearchChangeHistoryEventsRequest", | ||
"SearchChangeHistoryEventsResponse", | ||
"UpdateAccountRequest", | ||
"UpdateAndroidAppDataStreamRequest", | ||
"UpdateCustomDimensionRequest", | ||
"UpdateCustomMetricRequest", | ||
"UpdateEnhancedMeasurementSettingsRequest", | ||
"UpdateFirebaseLinkRequest", | ||
"UpdateGoogleAdsLinkRequest", | ||
"UpdateGoogleSignalsSettingsRequest", | ||
"UpdateIosAppDataStreamRequest", | ||
"UpdateMeasurementProtocolSecretRequest", | ||
"UpdatePropertyRequest", | ||
"UpdateUserLinkRequest", | ||
"UpdateWebDataStreamRequest", | ||
"Account", | ||
"AccountSummary", | ||
"AndroidAppDataStream", | ||
"AuditUserLink", | ||
"ChangeHistoryChange", | ||
"ChangeHistoryEvent", | ||
"ConversionEvent", | ||
"CustomDimension", | ||
"CustomMetric", | ||
"DataSharingSettings", | ||
"EnhancedMeasurementSettings", | ||
"FirebaseLink", | ||
"GlobalSiteTag", | ||
"GoogleAdsLink", | ||
"GoogleSignalsSettings", | ||
"IosAppDataStream", | ||
"MeasurementProtocolSecret", | ||
"Property", | ||
"PropertySummary", | ||
"UserLink", | ||
"WebDataStream", | ||
"ActionType", | ||
"ActorType", | ||
"ChangeHistoryResourceType", | ||
"GoogleSignalsConsent", | ||
"GoogleSignalsState", | ||
"IndustryCategory", | ||
"MaximumUserAccess", | ||
) |
Oops, something went wrong.
Can the create custom dimension example be added to the samples folder please? @yoshi-automation @ikuleshov @parthea @JustinBeckwith @dandhlee @renovate-bot @