Class AnalyticsAdminServiceClientImpl
AnalyticsAdminService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class AnalyticsAdminServiceClientImpl : AnalyticsAdminServiceClient
Remarks
Service Interface for the Analytics Admin API (GA4).
Constructors
AnalyticsAdminServiceClientImpl(AnalyticsAdminService.AnalyticsAdminServiceClient, AnalyticsAdminServiceSettings)
Constructs a client wrapper for the AnalyticsAdminService service, with the specified gRPC client and settings.
Declaration
public AnalyticsAdminServiceClientImpl(AnalyticsAdminService.AnalyticsAdminServiceClient grpcClient, AnalyticsAdminServiceSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| AnalyticsAdminService.AnalyticsAdminServiceClient | grpcClient | The underlying gRPC client. |
| AnalyticsAdminServiceSettings | settings | The base AnalyticsAdminServiceSettings used within this client. |
Properties
GrpcClient
The underlying gRPC AnalyticsAdminService client
Declaration
public override AnalyticsAdminService.AnalyticsAdminServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AnalyticsAdminService.AnalyticsAdminServiceClient |
Overrides
Methods
AuditUserLinks(AuditUserLinksRequest, CallSettings)
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 override PagedEnumerable<AuditUserLinksResponse, AuditUserLink> AuditUserLinks(AuditUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<AuditUserLinksResponse, AuditUserLink> | A pageable sequence of AuditUserLink resources. |
Overrides
AuditUserLinksAsync(AuditUserLinksRequest, CallSettings)
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 override PagedAsyncEnumerable<AuditUserLinksResponse, AuditUserLink> AuditUserLinksAsync(AuditUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<AuditUserLinksResponse, AuditUserLink> | A pageable asynchronous sequence of AuditUserLink resources. |
Overrides
BatchCreateUserLinks(BatchCreateUserLinksRequest, CallSettings)
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 override BatchCreateUserLinksResponse BatchCreateUserLinks(BatchCreateUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchCreateUserLinksResponse | The RPC response. |
Overrides
BatchCreateUserLinksAsync(BatchCreateUserLinksRequest, CallSettings)
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 override Task<BatchCreateUserLinksResponse> BatchCreateUserLinksAsync(BatchCreateUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchCreateUserLinksResponse> | A Task containing the RPC response. |
Overrides
BatchDeleteUserLinks(BatchDeleteUserLinksRequest, CallSettings)
Deletes information about multiple users' links to an account or property.
Declaration
public override void BatchDeleteUserLinks(BatchDeleteUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
BatchDeleteUserLinksAsync(BatchDeleteUserLinksRequest, CallSettings)
Deletes information about multiple users' links to an account or property.
Declaration
public override Task BatchDeleteUserLinksAsync(BatchDeleteUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
BatchGetUserLinks(BatchGetUserLinksRequest, CallSettings)
Gets information about multiple users' links to an account or property.
Declaration
public override BatchGetUserLinksResponse BatchGetUserLinks(BatchGetUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchGetUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchGetUserLinksResponse | The RPC response. |
Overrides
BatchGetUserLinksAsync(BatchGetUserLinksRequest, CallSettings)
Gets information about multiple users' links to an account or property.
Declaration
public override Task<BatchGetUserLinksResponse> BatchGetUserLinksAsync(BatchGetUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchGetUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchGetUserLinksResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateUserLinks(BatchUpdateUserLinksRequest, CallSettings)
Updates information about multiple users' links to an account or property.
Declaration
public override BatchUpdateUserLinksResponse BatchUpdateUserLinks(BatchUpdateUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateUserLinksResponse | The RPC response. |
Overrides
BatchUpdateUserLinksAsync(BatchUpdateUserLinksRequest, CallSettings)
Updates information about multiple users' links to an account or property.
Declaration
public override Task<BatchUpdateUserLinksResponse> BatchUpdateUserLinksAsync(BatchUpdateUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BatchUpdateUserLinksResponse> | A Task containing the RPC response. |
Overrides
CreateAndroidAppDataStream(CreateAndroidAppDataStreamRequest, CallSettings)
Creates an android app stream with the specified location and attributes.
Declaration
public override AndroidAppDataStream CreateAndroidAppDataStream(CreateAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| AndroidAppDataStream | The RPC response. |
Overrides
CreateAndroidAppDataStreamAsync(CreateAndroidAppDataStreamRequest, CallSettings)
Creates an android app stream with the specified location and attributes.
Declaration
public override Task<AndroidAppDataStream> CreateAndroidAppDataStreamAsync(CreateAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | A Task containing the RPC response. |
Overrides
CreateFirebaseLink(CreateFirebaseLinkRequest, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public override FirebaseLink CreateFirebaseLink(CreateFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| FirebaseLink | The RPC response. |
Overrides
CreateFirebaseLinkAsync(CreateFirebaseLinkRequest, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public override Task<FirebaseLink> CreateFirebaseLinkAsync(CreateFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FirebaseLink> | A Task containing the RPC response. |
Overrides
CreateGoogleAdsLink(CreateGoogleAdsLinkRequest, CallSettings)
Creates a GoogleAdsLink.
Declaration
public override GoogleAdsLink CreateGoogleAdsLink(CreateGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| GoogleAdsLink | The RPC response. |
Overrides
CreateGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest, CallSettings)
Creates a GoogleAdsLink.
Declaration
public override Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GoogleAdsLink> | A Task containing the RPC response. |
Overrides
CreateIosAppDataStream(CreateIosAppDataStreamRequest, CallSettings)
Creates an iOS app data stream with the specified location and attributes.
Declaration
public override IosAppDataStream CreateIosAppDataStream(CreateIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| IosAppDataStream | The RPC response. |
Overrides
CreateIosAppDataStreamAsync(CreateIosAppDataStreamRequest, CallSettings)
Creates an iOS app data stream with the specified location and attributes.
Declaration
public override Task<IosAppDataStream> CreateIosAppDataStreamAsync(CreateIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | A Task containing the RPC response. |
Overrides
CreateProperty(CreatePropertyRequest, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public override Property CreateProperty(CreatePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Property | The RPC response. |
Overrides
CreatePropertyAsync(CreatePropertyRequest, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public override Task<Property> CreatePropertyAsync(CreatePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | A Task containing the RPC response. |
Overrides
CreateUserLink(CreateUserLinkRequest, CallSettings)
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 override UserLink CreateUserLink(CreateUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserLink | The RPC response. |
Overrides
CreateUserLinkAsync(CreateUserLinkRequest, CallSettings)
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 override Task<UserLink> CreateUserLinkAsync(CreateUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | A Task containing the RPC response. |
Overrides
CreateWebDataStream(CreateWebDataStreamRequest, CallSettings)
Creates a web stream with the specified location and attributes.
Declaration
public override WebDataStream CreateWebDataStream(CreateWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| WebDataStream | The RPC response. |
Overrides
CreateWebDataStreamAsync(CreateWebDataStreamRequest, CallSettings)
Creates a web stream with the specified location and attributes.
Declaration
public override Task<WebDataStream> CreateWebDataStreamAsync(CreateWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | A Task containing the RPC response. |
Overrides
DeleteAccount(DeleteAccountRequest, CallSettings)
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 override void DeleteAccount(DeleteAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteAccountAsync(DeleteAccountRequest, CallSettings)
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 override Task DeleteAccountAsync(DeleteAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteAndroidAppDataStream(DeleteAndroidAppDataStreamRequest, CallSettings)
Deletes an android app stream on a property.
Declaration
public override void DeleteAndroidAppDataStream(DeleteAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteAndroidAppDataStreamAsync(DeleteAndroidAppDataStreamRequest, CallSettings)
Deletes an android app stream on a property.
Declaration
public override Task DeleteAndroidAppDataStreamAsync(DeleteAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteFirebaseLink(DeleteFirebaseLinkRequest, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public override void DeleteFirebaseLink(DeleteFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteFirebaseLinkAsync(DeleteFirebaseLinkRequest, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public override Task DeleteFirebaseLinkAsync(DeleteFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public override void DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public override Task DeleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteIosAppDataStream(DeleteIosAppDataStreamRequest, CallSettings)
Deletes an iOS app stream on a property.
Declaration
public override void DeleteIosAppDataStream(DeleteIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteIosAppDataStreamAsync(DeleteIosAppDataStreamRequest, CallSettings)
Deletes an iOS app stream on a property.
Declaration
public override Task DeleteIosAppDataStreamAsync(DeleteIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteProperty(DeletePropertyRequest, CallSettings)
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 override void DeleteProperty(DeletePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeletePropertyAsync(DeletePropertyRequest, CallSettings)
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 override Task DeletePropertyAsync(DeletePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteUserLink(DeleteUserLinkRequest, CallSettings)
Deletes a user link on an account or property.
Declaration
public override void DeleteUserLink(DeleteUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteUserLinkAsync(DeleteUserLinkRequest, CallSettings)
Deletes a user link on an account or property.
Declaration
public override Task DeleteUserLinkAsync(DeleteUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
DeleteWebDataStream(DeleteWebDataStreamRequest, CallSettings)
Deletes a web stream on a property.
Declaration
public override void DeleteWebDataStream(DeleteWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteWebDataStreamAsync(DeleteWebDataStreamRequest, CallSettings)
Deletes a web stream on a property.
Declaration
public override Task DeleteWebDataStreamAsync(DeleteWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A Task containing the RPC response. |
Overrides
GetAccount(GetAccountRequest, CallSettings)
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 override Account GetAccount(GetAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Account | The RPC response. |
Overrides
GetAccountAsync(GetAccountRequest, CallSettings)
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 override Task<Account> GetAccountAsync(GetAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Account> | A Task containing the RPC response. |
Overrides
GetAndroidAppDataStream(GetAndroidAppDataStreamRequest, CallSettings)
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 override AndroidAppDataStream GetAndroidAppDataStream(GetAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| AndroidAppDataStream | The RPC response. |
Overrides
GetAndroidAppDataStreamAsync(GetAndroidAppDataStreamRequest, CallSettings)
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 override Task<AndroidAppDataStream> GetAndroidAppDataStreamAsync(GetAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | A Task containing the RPC response. |
Overrides
GetDataSharingSettings(GetDataSharingSettingsRequest, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public override DataSharingSettings GetDataSharingSettings(GetDataSharingSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataSharingSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| DataSharingSettings | The RPC response. |
Overrides
GetDataSharingSettingsAsync(GetDataSharingSettingsRequest, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public override Task<DataSharingSettings> GetDataSharingSettingsAsync(GetDataSharingSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataSharingSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DataSharingSettings> | A Task containing the RPC response. |
Overrides
GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest, CallSettings)
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 override EnhancedMeasurementSettings GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| EnhancedMeasurementSettings | The RPC response. |
Overrides
GetEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest, CallSettings)
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 override Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Overrides
GetGlobalSiteTag(GetGlobalSiteTagRequest, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public override GlobalSiteTag GetGlobalSiteTag(GetGlobalSiteTagRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGlobalSiteTagRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| GlobalSiteTag | The RPC response. |
Overrides
GetGlobalSiteTagAsync(GetGlobalSiteTagRequest, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public override Task<GlobalSiteTag> GetGlobalSiteTagAsync(GetGlobalSiteTagRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGlobalSiteTagRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GlobalSiteTag> | A Task containing the RPC response. |
Overrides
GetIosAppDataStream(GetIosAppDataStreamRequest, CallSettings)
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 override IosAppDataStream GetIosAppDataStream(GetIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| IosAppDataStream | The RPC response. |
Overrides
GetIosAppDataStreamAsync(GetIosAppDataStreamRequest, CallSettings)
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 override Task<IosAppDataStream> GetIosAppDataStreamAsync(GetIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | A Task containing the RPC response. |
Overrides
GetProperty(GetPropertyRequest, CallSettings)
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 override Property GetProperty(GetPropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Property | The RPC response. |
Overrides
GetPropertyAsync(GetPropertyRequest, CallSettings)
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 override Task<Property> GetPropertyAsync(GetPropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | A Task containing the RPC response. |
Overrides
GetUserLink(GetUserLinkRequest, CallSettings)
Gets information about a user's link to an account or property.
Declaration
public override UserLink GetUserLink(GetUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserLink | The RPC response. |
Overrides
GetUserLinkAsync(GetUserLinkRequest, CallSettings)
Gets information about a user's link to an account or property.
Declaration
public override Task<UserLink> GetUserLinkAsync(GetUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | A Task containing the RPC response. |
Overrides
GetWebDataStream(GetWebDataStreamRequest, CallSettings)
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 override WebDataStream GetWebDataStream(GetWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| WebDataStream | The RPC response. |
Overrides
GetWebDataStreamAsync(GetWebDataStreamRequest, CallSettings)
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 override Task<WebDataStream> GetWebDataStreamAsync(GetWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | A Task containing the RPC response. |
Overrides
ListAccounts(ListAccountsRequest, CallSettings)
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 override PagedEnumerable<ListAccountsResponse, Account> ListAccounts(ListAccountsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListAccountsResponse, Account> | A pageable sequence of Account resources. |
Overrides
ListAccountsAsync(ListAccountsRequest, CallSettings)
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 override PagedAsyncEnumerable<ListAccountsResponse, Account> ListAccountsAsync(ListAccountsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListAccountsResponse, Account> | A pageable asynchronous sequence of Account resources. |
Overrides
ListAccountSummaries(ListAccountSummariesRequest, CallSettings)
Returns summaries of all accounts accessible by the caller.
Declaration
public override PagedEnumerable<ListAccountSummariesResponse, AccountSummary> ListAccountSummaries(ListAccountSummariesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountSummariesRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListAccountSummariesResponse, AccountSummary> | A pageable sequence of AccountSummary resources. |
Overrides
ListAccountSummariesAsync(ListAccountSummariesRequest, CallSettings)
Returns summaries of all accounts accessible by the caller.
Declaration
public override PagedAsyncEnumerable<ListAccountSummariesResponse, AccountSummary> ListAccountSummariesAsync(ListAccountSummariesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAccountSummariesRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListAccountSummariesResponse, AccountSummary> | A pageable asynchronous sequence of AccountSummary resources. |
Overrides
ListAndroidAppDataStreams(ListAndroidAppDataStreamsRequest, CallSettings)
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 override PagedEnumerable<ListAndroidAppDataStreamsResponse, AndroidAppDataStream> ListAndroidAppDataStreams(ListAndroidAppDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAndroidAppDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListAndroidAppDataStreamsResponse, AndroidAppDataStream> | A pageable sequence of AndroidAppDataStream resources. |
Overrides
ListAndroidAppDataStreamsAsync(ListAndroidAppDataStreamsRequest, CallSettings)
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 override PagedAsyncEnumerable<ListAndroidAppDataStreamsResponse, AndroidAppDataStream> ListAndroidAppDataStreamsAsync(ListAndroidAppDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAndroidAppDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListAndroidAppDataStreamsResponse, AndroidAppDataStream> | A pageable asynchronous sequence of AndroidAppDataStream resources. |
Overrides
ListFirebaseLinks(ListFirebaseLinksRequest, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public override ListFirebaseLinksResponse ListFirebaseLinks(ListFirebaseLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListFirebaseLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ListFirebaseLinksResponse | The RPC response. |
Overrides
ListFirebaseLinksAsync(ListFirebaseLinksRequest, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public override Task<ListFirebaseLinksResponse> ListFirebaseLinksAsync(ListFirebaseLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListFirebaseLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ListFirebaseLinksResponse> | A Task containing the RPC response. |
Overrides
ListGoogleAdsLinks(ListGoogleAdsLinksRequest, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public override PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinks(ListGoogleAdsLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGoogleAdsLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable sequence of GoogleAdsLink resources. |
Overrides
ListGoogleAdsLinksAsync(ListGoogleAdsLinksRequest, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public override PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinksAsync(ListGoogleAdsLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGoogleAdsLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable asynchronous sequence of GoogleAdsLink resources. |
Overrides
ListIosAppDataStreams(ListIosAppDataStreamsRequest, CallSettings)
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 override PagedEnumerable<ListIosAppDataStreamsResponse, IosAppDataStream> ListIosAppDataStreams(ListIosAppDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListIosAppDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListIosAppDataStreamsResponse, IosAppDataStream> | A pageable sequence of IosAppDataStream resources. |
Overrides
ListIosAppDataStreamsAsync(ListIosAppDataStreamsRequest, CallSettings)
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 override PagedAsyncEnumerable<ListIosAppDataStreamsResponse, IosAppDataStream> ListIosAppDataStreamsAsync(ListIosAppDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListIosAppDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListIosAppDataStreamsResponse, IosAppDataStream> | A pageable asynchronous sequence of IosAppDataStream resources. |
Overrides
ListProperties(ListPropertiesRequest, CallSettings)
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 override PagedEnumerable<ListPropertiesResponse, Property> ListProperties(ListPropertiesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPropertiesRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListPropertiesResponse, Property> | A pageable sequence of Property resources. |
Overrides
ListPropertiesAsync(ListPropertiesRequest, CallSettings)
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 override PagedAsyncEnumerable<ListPropertiesResponse, Property> ListPropertiesAsync(ListPropertiesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPropertiesRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListPropertiesResponse, Property> | A pageable asynchronous sequence of Property resources. |
Overrides
ListUserLinks(ListUserLinksRequest, CallSettings)
Lists all user links on an account or property.
Declaration
public override PagedEnumerable<ListUserLinksResponse, UserLink> ListUserLinks(ListUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListUserLinksResponse, UserLink> | A pageable sequence of UserLink resources. |
Overrides
ListUserLinksAsync(ListUserLinksRequest, CallSettings)
Lists all user links on an account or property.
Declaration
public override PagedAsyncEnumerable<ListUserLinksResponse, UserLink> ListUserLinksAsync(ListUserLinksRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListUserLinksRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListUserLinksResponse, UserLink> | A pageable asynchronous sequence of UserLink resources. |
Overrides
ListWebDataStreams(ListWebDataStreamsRequest, CallSettings)
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 override PagedEnumerable<ListWebDataStreamsResponse, WebDataStream> ListWebDataStreams(ListWebDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListWebDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedEnumerable<ListWebDataStreamsResponse, WebDataStream> | A pageable sequence of WebDataStream resources. |
Overrides
ListWebDataStreamsAsync(ListWebDataStreamsRequest, CallSettings)
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 override PagedAsyncEnumerable<ListWebDataStreamsResponse, WebDataStream> ListWebDataStreamsAsync(ListWebDataStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListWebDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Google.Api.Gax.PagedAsyncEnumerable<ListWebDataStreamsResponse, WebDataStream> | A pageable asynchronous sequence of WebDataStream resources. |
Overrides
ProvisionAccountTicket(ProvisionAccountTicketRequest, CallSettings)
Requests a ticket for creating an account.
Declaration
public override ProvisionAccountTicketResponse ProvisionAccountTicket(ProvisionAccountTicketRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProvisionAccountTicketRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ProvisionAccountTicketResponse | The RPC response. |
Overrides
ProvisionAccountTicketAsync(ProvisionAccountTicketRequest, CallSettings)
Requests a ticket for creating an account.
Declaration
public override Task<ProvisionAccountTicketResponse> ProvisionAccountTicketAsync(ProvisionAccountTicketRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProvisionAccountTicketRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ProvisionAccountTicketResponse> | A Task containing the RPC response. |
Overrides
UpdateAccount(UpdateAccountRequest, CallSettings)
Updates an account.
Declaration
public override Account UpdateAccount(UpdateAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Account | The RPC response. |
Overrides
UpdateAccountAsync(UpdateAccountRequest, CallSettings)
Updates an account.
Declaration
public override Task<Account> UpdateAccountAsync(UpdateAccountRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAccountRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Account> | A Task containing the RPC response. |
Overrides
UpdateAndroidAppDataStream(UpdateAndroidAppDataStreamRequest, CallSettings)
Updates an android app stream on a property.
Declaration
public override AndroidAppDataStream UpdateAndroidAppDataStream(UpdateAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| AndroidAppDataStream | The RPC response. |
Overrides
UpdateAndroidAppDataStreamAsync(UpdateAndroidAppDataStreamRequest, CallSettings)
Updates an android app stream on a property.
Declaration
public override Task<AndroidAppDataStream> UpdateAndroidAppDataStreamAsync(UpdateAndroidAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAndroidAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<AndroidAppDataStream> | A Task containing the RPC response. |
Overrides
UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest, CallSettings)
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 override EnhancedMeasurementSettings UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| EnhancedMeasurementSettings | The RPC response. |
Overrides
UpdateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest, CallSettings)
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 override Task<EnhancedMeasurementSettings> UpdateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Overrides
UpdateFirebaseLink(UpdateFirebaseLinkRequest, CallSettings)
Updates a FirebaseLink on a property
Declaration
public override FirebaseLink UpdateFirebaseLink(UpdateFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| FirebaseLink | The RPC response. |
Overrides
UpdateFirebaseLinkAsync(UpdateFirebaseLinkRequest, CallSettings)
Updates a FirebaseLink on a property
Declaration
public override Task<FirebaseLink> UpdateFirebaseLinkAsync(UpdateFirebaseLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FirebaseLink> | A Task containing the RPC response. |
Overrides
UpdateGoogleAdsLink(UpdateGoogleAdsLinkRequest, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public override GoogleAdsLink UpdateGoogleAdsLink(UpdateGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| GoogleAdsLink | The RPC response. |
Overrides
UpdateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public override Task<GoogleAdsLink> UpdateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GoogleAdsLink> | A Task containing the RPC response. |
Overrides
UpdateIosAppDataStream(UpdateIosAppDataStreamRequest, CallSettings)
Updates an iOS app stream on a property.
Declaration
public override IosAppDataStream UpdateIosAppDataStream(UpdateIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| IosAppDataStream | The RPC response. |
Overrides
UpdateIosAppDataStreamAsync(UpdateIosAppDataStreamRequest, CallSettings)
Updates an iOS app stream on a property.
Declaration
public override Task<IosAppDataStream> UpdateIosAppDataStreamAsync(UpdateIosAppDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateIosAppDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IosAppDataStream> | A Task containing the RPC response. |
Overrides
UpdateProperty(UpdatePropertyRequest, CallSettings)
Updates a property.
Declaration
public override Property UpdateProperty(UpdatePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Property | The RPC response. |
Overrides
UpdatePropertyAsync(UpdatePropertyRequest, CallSettings)
Updates a property.
Declaration
public override Task<Property> UpdatePropertyAsync(UpdatePropertyRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePropertyRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Property> | A Task containing the RPC response. |
Overrides
UpdateUserLink(UpdateUserLinkRequest, CallSettings)
Updates a user link on an account or property.
Declaration
public override UserLink UpdateUserLink(UpdateUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserLink | The RPC response. |
Overrides
UpdateUserLinkAsync(UpdateUserLinkRequest, CallSettings)
Updates a user link on an account or property.
Declaration
public override Task<UserLink> UpdateUserLinkAsync(UpdateUserLinkRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateUserLinkRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<UserLink> | A Task containing the RPC response. |
Overrides
UpdateWebDataStream(UpdateWebDataStreamRequest, CallSettings)
Updates a web stream on a property.
Declaration
public override WebDataStream UpdateWebDataStream(UpdateWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| WebDataStream | The RPC response. |
Overrides
UpdateWebDataStreamAsync(UpdateWebDataStreamRequest, CallSettings)
Updates a web stream on a property.
Declaration
public override Task<WebDataStream> UpdateWebDataStreamAsync(UpdateWebDataStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateWebDataStreamRequest | request | The request object containing all of the parameters for the API call. |
| Google.Api.Gax.Grpc.CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<WebDataStream> | A Task containing the RPC response. |