Skip to content

Commit

Permalink
feat: add MeasurementProtocolSecret methods to the API (#71)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 375776214

Source-Link: googleapis/googleapis@c3bf1b7

Source-Link: googleapis/googleapis-gen@23248c2

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
gcf-owl-bot[bot] authored May 27, 2021
1 parent 4942687 commit 06f5c9e
Show file tree
Hide file tree
Showing 22 changed files with 15,675 additions and 3,584 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ AnalyticsAdminService
:members:
:inherited-members:


.. automodule:: google.analytics.admin_v1alpha.services.analytics_admin_service.pagers
:members:
:inherited-members:
178 changes: 150 additions & 28 deletions packages/google-analytics-admin/google/analytics/admin/__init__.py
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");
Expand All @@ -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
Expand All @@ -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,
)
from google.analytics.admin_v1alpha.types.analytics_admin import (
CreateCustomMetricRequest,
)
from google.analytics.admin_v1alpha.types.analytics_admin import (
CreateFirebaseLinkRequest,
Expand All @@ -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
Expand All @@ -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,
)
Expand All @@ -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 (
Expand All @@ -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,
)
Expand All @@ -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
Expand All @@ -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,
)
Expand All @@ -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 (
Expand All @@ -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",
Expand All @@ -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",
)
Loading

0 comments on commit 06f5c9e

Please sign in to comment.