Class AnalyticsAdminService.AnalyticsAdminServiceBase
Base class for server-side implementations of AnalyticsAdminService
Inheritance
Inherited Members
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
[BindServiceMethod(typeof(AnalyticsAdminService), "BindService")]
public abstract class AnalyticsAdminServiceBase
Methods
AuditUserLinks(AuditUserLinksRequest, ServerCallContext)
Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles.
If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
Declaration
public virtual Task<AuditUserLinksResponse> AuditUserLinks(AuditUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AuditUserLinksResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateUserLinks(BatchCreateUserLinksRequest, ServerCallContext)
Creates information about multiple users' links to an account or property.
This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.
Declaration
public virtual Task<BatchCreateUserLinksResponse> BatchCreateUserLinks(BatchCreateUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchCreateUserLinksResponse> | The response to send back to the client (wrapped by a task). |
BatchDeleteUserLinks(BatchDeleteUserLinksRequest, ServerCallContext)
Deletes information about multiple users' links to an account or property.
Declaration
public virtual Task<Empty> BatchDeleteUserLinks(BatchDeleteUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
BatchGetUserLinks(BatchGetUserLinksRequest, ServerCallContext)
Gets information about multiple users' links to an account or property.
Declaration
public virtual Task<BatchGetUserLinksResponse> BatchGetUserLinks(BatchGetUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchGetUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchGetUserLinksResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateUserLinks(BatchUpdateUserLinksRequest, ServerCallContext)
Updates information about multiple users' links to an account or property.
Declaration
public virtual Task<BatchUpdateUserLinksResponse> BatchUpdateUserLinks(BatchUpdateUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchUpdateUserLinksResponse> | The response to send back to the client (wrapped by a task). |
CreateAndroidAppDataStream(CreateAndroidAppDataStreamRequest, ServerCallContext)
Creates an android app stream with the specified location and attributes.
Declaration
public virtual Task<AndroidAppDataStream> CreateAndroidAppDataStream(CreateAndroidAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAndroidAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | The response to send back to the client (wrapped by a task). |
CreateFirebaseLink(CreateFirebaseLinkRequest, ServerCallContext)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLink(CreateFirebaseLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateFirebaseLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FirebaseLink> | The response to send back to the client (wrapped by a task). |
CreateGoogleAdsLink(CreateGoogleAdsLinkRequest, ServerCallContext)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLink(CreateGoogleAdsLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateGoogleAdsLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GoogleAdsLink> | The response to send back to the client (wrapped by a task). |
CreateIosAppDataStream(CreateIosAppDataStreamRequest, ServerCallContext)
Creates an iOS app data stream with the specified location and attributes.
Declaration
public virtual Task<IosAppDataStream> CreateIosAppDataStream(CreateIosAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateIosAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | The response to send back to the client (wrapped by a task). |
CreateProperty(CreatePropertyRequest, ServerCallContext)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual Task<Property> CreateProperty(CreatePropertyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePropertyRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | The response to send back to the client (wrapped by a task). |
CreateUserLink(CreateUserLinkRequest, ServerCallContext)
Creates a user link on an account or property.
If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.
Declaration
public virtual Task<UserLink> CreateUserLink(CreateUserLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateUserLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | The response to send back to the client (wrapped by a task). |
CreateWebDataStream(CreateWebDataStreamRequest, ServerCallContext)
Creates a web stream with the specified location and attributes.
Declaration
public virtual Task<WebDataStream> CreateWebDataStream(CreateWebDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateWebDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | The response to send back to the client (wrapped by a task). |
DeleteAccount(DeleteAccountRequest, ServerCallContext)
Marks target Account as soft-deleted (ie: "trashed") and returns it.
This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI.
If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task<Empty> DeleteAccount(DeleteAccountRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAccountRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteAndroidAppDataStream(DeleteAndroidAppDataStreamRequest, ServerCallContext)
Deletes an android app stream on a property.
Declaration
public virtual Task<Empty> DeleteAndroidAppDataStream(DeleteAndroidAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAndroidAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteFirebaseLink(DeleteFirebaseLinkRequest, ServerCallContext)
Deletes a FirebaseLink on a property
Declaration
public virtual Task<Empty> DeleteFirebaseLink(DeleteFirebaseLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteFirebaseLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest, ServerCallContext)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task<Empty> DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteGoogleAdsLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteIosAppDataStream(DeleteIosAppDataStreamRequest, ServerCallContext)
Deletes an iOS app stream on a property.
Declaration
public virtual Task<Empty> DeleteIosAppDataStream(DeleteIosAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteIosAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteProperty(DeletePropertyRequest, ServerCallContext)
Marks target Property as soft-deleted (ie: "trashed") and returns it.
This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI.
If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not an GA4 Property.
Declaration
public virtual Task<Empty> DeleteProperty(DeletePropertyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePropertyRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteUserLink(DeleteUserLinkRequest, ServerCallContext)
Deletes a user link on an account or property.
Declaration
public virtual Task<Empty> DeleteUserLink(DeleteUserLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteUserLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
DeleteWebDataStream(DeleteWebDataStreamRequest, ServerCallContext)
Deletes a web stream on a property.
Declaration
public virtual Task<Empty> DeleteWebDataStream(DeleteWebDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteWebDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.Empty> | The response to send back to the client (wrapped by a task). |
GetAccount(GetAccountRequest, ServerCallContext)
Lookup for a single Account. Throws "Target not found" if no such account found, or if caller does not have permissions to access it.
Declaration
public virtual Task<Account> GetAccount(GetAccountRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Account> | The response to send back to the client (wrapped by a task). |
GetAndroidAppDataStream(GetAndroidAppDataStreamRequest, ServerCallContext)
Lookup for a single AndroidAppDataStream
Throws "Target not found" if no such android app data stream found, or if the caller does not have permissions to access it.
Declaration
public virtual Task<AndroidAppDataStream> GetAndroidAppDataStream(GetAndroidAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAndroidAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | The response to send back to the client (wrapped by a task). |
GetDataSharingSettings(GetDataSharingSettingsRequest, ServerCallContext)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettings(GetDataSharingSettingsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataSharingSettingsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DataSharingSettings> | The response to send back to the client (wrapped by a task). |
GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest, ServerCallContext)
Returns the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEnhancedMeasurementSettingsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<EnhancedMeasurementSettings> | The response to send back to the client (wrapped by a task). |
GetGlobalSiteTag(GetGlobalSiteTagRequest, ServerCallContext)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTag(GetGlobalSiteTagRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGlobalSiteTagRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GlobalSiteTag> | The response to send back to the client (wrapped by a task). |
GetIosAppDataStream(GetIosAppDataStreamRequest, ServerCallContext)
Lookup for a single IosAppDataStream
Throws "Target not found" if no such iOS app data stream found, or if the caller does not have permissions to access it.
Declaration
public virtual Task<IosAppDataStream> GetIosAppDataStream(GetIosAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetIosAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | The response to send back to the client (wrapped by a task). |
GetProperty(GetPropertyRequest, ServerCallContext)
Lookup for a single "GA4" Property.
Throws "Target not found" if no such property found, if property is not of the type "GA4", or if caller does not have permissions to access it.
Declaration
public virtual Task<Property> GetProperty(GetPropertyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPropertyRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | The response to send back to the client (wrapped by a task). |
GetUserLink(GetUserLinkRequest, ServerCallContext)
Gets information about a user's link to an account or property.
Declaration
public virtual Task<UserLink> GetUserLink(GetUserLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | The response to send back to the client (wrapped by a task). |
GetWebDataStream(GetWebDataStreamRequest, ServerCallContext)
Lookup for a single WebDataStream
Throws "Target not found" if no such web data stream found, or if the caller does not have permissions to access it.
Declaration
public virtual Task<WebDataStream> GetWebDataStream(GetWebDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetWebDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | The response to send back to the client (wrapped by a task). |
ListAccounts(ListAccountsRequest, ServerCallContext)
Returns all accounts accessible by the caller.
Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.
Declaration
public virtual Task<ListAccountsResponse> ListAccounts(ListAccountsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListAccountsResponse> | The response to send back to the client (wrapped by a task). |
ListAccountSummaries(ListAccountSummariesRequest, ServerCallContext)
Returns summaries of all accounts accessible by the caller.
Declaration
public virtual Task<ListAccountSummariesResponse> ListAccountSummaries(ListAccountSummariesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountSummariesRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListAccountSummariesResponse> | The response to send back to the client (wrapped by a task). |
ListAndroidAppDataStreams(ListAndroidAppDataStreamsRequest, ServerCallContext)
Returns child android app streams under the specified parent property.
Android app streams will be excluded if the caller does not have access. Returns an empty list if no relevant android app streams are found.
Declaration
public virtual Task<ListAndroidAppDataStreamsResponse> ListAndroidAppDataStreams(ListAndroidAppDataStreamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAndroidAppDataStreamsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListAndroidAppDataStreamsResponse> | The response to send back to the client (wrapped by a task). |
ListFirebaseLinks(ListFirebaseLinksRequest, ServerCallContext)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual Task<ListFirebaseLinksResponse> ListFirebaseLinks(ListFirebaseLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListFirebaseLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListFirebaseLinksResponse> | The response to send back to the client (wrapped by a task). |
ListGoogleAdsLinks(ListGoogleAdsLinksRequest, ServerCallContext)
Lists GoogleAdsLinks on a property.
Declaration
public virtual Task<ListGoogleAdsLinksResponse> ListGoogleAdsLinks(ListGoogleAdsLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGoogleAdsLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListGoogleAdsLinksResponse> | The response to send back to the client (wrapped by a task). |
ListIosAppDataStreams(ListIosAppDataStreamsRequest, ServerCallContext)
Returns child iOS app data streams under the specified parent property.
iOS app data streams will be excluded if the caller does not have access. Returns an empty list if no relevant iOS app data streams are found.
Declaration
public virtual Task<ListIosAppDataStreamsResponse> ListIosAppDataStreams(ListIosAppDataStreamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListIosAppDataStreamsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListIosAppDataStreamsResponse> | The response to send back to the client (wrapped by a task). |
ListProperties(ListPropertiesRequest, ServerCallContext)
Returns child Properties under the specified parent Account.
Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
Declaration
public virtual Task<ListPropertiesResponse> ListProperties(ListPropertiesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPropertiesRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListPropertiesResponse> | The response to send back to the client (wrapped by a task). |
ListUserLinks(ListUserLinksRequest, ServerCallContext)
Lists all user links on an account or property.
Declaration
public virtual Task<ListUserLinksResponse> ListUserLinks(ListUserLinksRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListUserLinksRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListUserLinksResponse> | The response to send back to the client (wrapped by a task). |
ListWebDataStreams(ListWebDataStreamsRequest, ServerCallContext)
Returns child web data streams under the specified parent property.
Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.
Declaration
public virtual Task<ListWebDataStreamsResponse> ListWebDataStreams(ListWebDataStreamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListWebDataStreamsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListWebDataStreamsResponse> | The response to send back to the client (wrapped by a task). |
ProvisionAccountTicket(ProvisionAccountTicketRequest, ServerCallContext)
Requests a ticket for creating an account.
Declaration
public virtual Task<ProvisionAccountTicketResponse> ProvisionAccountTicket(ProvisionAccountTicketRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ProvisionAccountTicketRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ProvisionAccountTicketResponse> | The response to send back to the client (wrapped by a task). |
UpdateAccount(UpdateAccountRequest, ServerCallContext)
Updates an account.
Declaration
public virtual Task<Account> UpdateAccount(UpdateAccountRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAccountRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Account> | The response to send back to the client (wrapped by a task). |
UpdateAndroidAppDataStream(UpdateAndroidAppDataStreamRequest, ServerCallContext)
Updates an android app stream on a property.
Declaration
public virtual Task<AndroidAppDataStream> UpdateAndroidAppDataStream(UpdateAndroidAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAndroidAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | The response to send back to the client (wrapped by a task). |
UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest, ServerCallContext)
Updates the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEnhancedMeasurementSettingsRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<EnhancedMeasurementSettings> | The response to send back to the client (wrapped by a task). |
UpdateFirebaseLink(UpdateFirebaseLinkRequest, ServerCallContext)
Updates a FirebaseLink on a property
Declaration
public virtual Task<FirebaseLink> UpdateFirebaseLink(UpdateFirebaseLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateFirebaseLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FirebaseLink> | The response to send back to the client (wrapped by a task). |
UpdateGoogleAdsLink(UpdateGoogleAdsLinkRequest, ServerCallContext)
Updates a GoogleAdsLink on a property
Declaration
public virtual Task<GoogleAdsLink> UpdateGoogleAdsLink(UpdateGoogleAdsLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateGoogleAdsLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GoogleAdsLink> | The response to send back to the client (wrapped by a task). |
UpdateIosAppDataStream(UpdateIosAppDataStreamRequest, ServerCallContext)
Updates an iOS app stream on a property.
Declaration
public virtual Task<IosAppDataStream> UpdateIosAppDataStream(UpdateIosAppDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateIosAppDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | The response to send back to the client (wrapped by a task). |
UpdateProperty(UpdatePropertyRequest, ServerCallContext)
Updates a property.
Declaration
public virtual Task<Property> UpdateProperty(UpdatePropertyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePropertyRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | The response to send back to the client (wrapped by a task). |
UpdateUserLink(UpdateUserLinkRequest, ServerCallContext)
Updates a user link on an account or property.
Declaration
public virtual Task<UserLink> UpdateUserLink(UpdateUserLinkRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateUserLinkRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | The response to send back to the client (wrapped by a task). |
UpdateWebDataStream(UpdateWebDataStreamRequest, ServerCallContext)
Updates a web stream on a property.
Declaration
public virtual Task<WebDataStream> UpdateWebDataStream(UpdateWebDataStreamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateWebDataStreamRequest | request | The request received from the client. |
| Grpc.Core.ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | The response to send back to the client (wrapped by a task). |