Class AnalyticsAdminServiceClient
AnalyticsAdminService client wrapper, for convenient use.
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public abstract class AnalyticsAdminServiceClient
Remarks
Service Interface for the Analytics Admin API (GA4).
Properties
DefaultEndpoint
The default endpoint for the AnalyticsAdminService service, which is a host of "analyticsadmin.googleapis.com" and a port of 443.
Declaration
public static string DefaultEndpoint { get; }
Property Value
Type | Description |
---|---|
string |
DefaultScopes
The default AnalyticsAdminService scopes.
Declaration
public static IReadOnlyList<string> DefaultScopes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> |
Remarks
The default AnalyticsAdminService scopes are:
- https://www.googleapis.com/auth/analytics.edit
- https://www.googleapis.com/auth/analytics.manage.users
- https://www.googleapis.com/auth/analytics.manage.users.readonly
- https://www.googleapis.com/auth/analytics.readonly
GrpcClient
The underlying gRPC AnalyticsAdminService client
Declaration
public virtual AnalyticsAdminService.AnalyticsAdminServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
AnalyticsAdminService.AnalyticsAdminServiceClient |
ServiceMetadata
The service metadata associated with this client type.
Declaration
public static ServiceMetadata ServiceMetadata { get; }
Property Value
Type | Description |
---|---|
ServiceMetadata |
Methods
AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest, CallSettings)
Acknowledges the terms of user data collection for the specified property.
This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
Declaration
public virtual AcknowledgeUserDataCollectionResponse AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AcknowledgeUserDataCollectionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AcknowledgeUserDataCollectionResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AcknowledgeUserDataCollectionRequest request = new AcknowledgeUserDataCollectionRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Acknowledgement = "",
};
// Make the request
AcknowledgeUserDataCollectionResponse response = analyticsAdminServiceClient.AcknowledgeUserDataCollection(request);
AcknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest, CallSettings)
Acknowledges the terms of user data collection for the specified property.
This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
Declaration
public virtual Task<AcknowledgeUserDataCollectionResponse> AcknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AcknowledgeUserDataCollectionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AcknowledgeUserDataCollectionResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AcknowledgeUserDataCollectionRequest request = new AcknowledgeUserDataCollectionRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Acknowledgement = "",
};
// Make the request
AcknowledgeUserDataCollectionResponse response = await analyticsAdminServiceClient.AcknowledgeUserDataCollectionAsync(request);
AcknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest, CancellationToken)
Acknowledges the terms of user data collection for the specified property.
This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
Declaration
public virtual Task<AcknowledgeUserDataCollectionResponse> AcknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AcknowledgeUserDataCollectionRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AcknowledgeUserDataCollectionResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AcknowledgeUserDataCollectionRequest request = new AcknowledgeUserDataCollectionRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Acknowledgement = "",
};
// Make the request
AcknowledgeUserDataCollectionResponse response = await analyticsAdminServiceClient.AcknowledgeUserDataCollectionAsync(request);
ApproveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
Declaration
public virtual ApproveDisplayVideo360AdvertiserLinkProposalResponse ApproveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ApproveDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ApproveDisplayVideo360AdvertiserLinkProposalResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ApproveDisplayVideo360AdvertiserLinkProposalRequest request = new ApproveDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
ApproveDisplayVideo360AdvertiserLinkProposalResponse response = analyticsAdminServiceClient.ApproveDisplayVideo360AdvertiserLinkProposal(request);
ApproveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
Declaration
public virtual Task<ApproveDisplayVideo360AdvertiserLinkProposalResponse> ApproveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ApproveDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ApproveDisplayVideo360AdvertiserLinkProposalResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ApproveDisplayVideo360AdvertiserLinkProposalRequest request = new ApproveDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
ApproveDisplayVideo360AdvertiserLinkProposalResponse response = await analyticsAdminServiceClient.ApproveDisplayVideo360AdvertiserLinkProposalAsync(request);
ApproveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest, CancellationToken)
Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
Declaration
public virtual Task<ApproveDisplayVideo360AdvertiserLinkProposalResponse> ApproveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ApproveDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ApproveDisplayVideo360AdvertiserLinkProposalResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ApproveDisplayVideo360AdvertiserLinkProposalRequest request = new ApproveDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
ApproveDisplayVideo360AdvertiserLinkProposalResponse response = await analyticsAdminServiceClient.ApproveDisplayVideo360AdvertiserLinkProposalAsync(request);
ArchiveAudience(ArchiveAudienceRequest, CallSettings)
Archives an Audience on a property.
Declaration
public virtual void ArchiveAudience(ArchiveAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ArchiveAudienceRequest request = new ArchiveAudienceRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
analyticsAdminServiceClient.ArchiveAudience(request);
ArchiveAudienceAsync(ArchiveAudienceRequest, CallSettings)
Archives an Audience on a property.
Declaration
public virtual Task ArchiveAudienceAsync(ArchiveAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveAudienceRequest request = new ArchiveAudienceRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveAudienceAsync(request);
ArchiveAudienceAsync(ArchiveAudienceRequest, CancellationToken)
Archives an Audience on a property.
Declaration
public virtual Task ArchiveAudienceAsync(ArchiveAudienceRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ArchiveAudienceRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveAudienceRequest request = new ArchiveAudienceRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveAudienceAsync(request);
ArchiveCustomDimension(ArchiveCustomDimensionRequest, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual void ArchiveCustomDimension(ArchiveCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ArchiveCustomDimensionRequest request = new ArchiveCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
analyticsAdminServiceClient.ArchiveCustomDimension(request);
ArchiveCustomDimension(CustomDimensionName, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual void ArchiveCustomDimension(CustomDimensionName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
analyticsAdminServiceClient.ArchiveCustomDimension(name);
ArchiveCustomDimension(string, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual void ArchiveCustomDimension(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
analyticsAdminServiceClient.ArchiveCustomDimension(name);
ArchiveCustomDimensionAsync(ArchiveCustomDimensionRequest, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(ArchiveCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveCustomDimensionRequest request = new ArchiveCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(request);
ArchiveCustomDimensionAsync(ArchiveCustomDimensionRequest, CancellationToken)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(ArchiveCustomDimensionRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveCustomDimensionRequest request = new ArchiveCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(request);
ArchiveCustomDimensionAsync(CustomDimensionName, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(CustomDimensionName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(name);
ArchiveCustomDimensionAsync(CustomDimensionName, CancellationToken)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(CustomDimensionName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(name);
ArchiveCustomDimensionAsync(string, CallSettings)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(name);
ArchiveCustomDimensionAsync(string, CancellationToken)
Archives a CustomDimension on a property.
Declaration
public virtual Task ArchiveCustomDimensionAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
await analyticsAdminServiceClient.ArchiveCustomDimensionAsync(name);
ArchiveCustomMetric(ArchiveCustomMetricRequest, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual void ArchiveCustomMetric(ArchiveCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ArchiveCustomMetricRequest request = new ArchiveCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
analyticsAdminServiceClient.ArchiveCustomMetric(request);
ArchiveCustomMetric(CustomMetricName, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual void ArchiveCustomMetric(CustomMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
analyticsAdminServiceClient.ArchiveCustomMetric(name);
ArchiveCustomMetric(string, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual void ArchiveCustomMetric(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
analyticsAdminServiceClient.ArchiveCustomMetric(name);
ArchiveCustomMetricAsync(ArchiveCustomMetricRequest, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(ArchiveCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveCustomMetricRequest request = new ArchiveCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(request);
ArchiveCustomMetricAsync(ArchiveCustomMetricRequest, CancellationToken)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(ArchiveCustomMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ArchiveCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ArchiveCustomMetricRequest request = new ArchiveCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(request);
ArchiveCustomMetricAsync(CustomMetricName, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(CustomMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(name);
ArchiveCustomMetricAsync(CustomMetricName, CancellationToken)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(CustomMetricName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(name);
ArchiveCustomMetricAsync(string, CallSettings)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(name);
ArchiveCustomMetricAsync(string, CancellationToken)
Archives a CustomMetric on a property.
Declaration
public virtual Task ArchiveCustomMetricAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
await analyticsAdminServiceClient.ArchiveCustomMetricAsync(name);
BatchCreateAccessBindings(BatchCreateAccessBindingsRequest, CallSettings)
Creates information about multiple access bindings to an account or property.
This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.
Declaration
public virtual BatchCreateAccessBindingsResponse BatchCreateAccessBindings(BatchCreateAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BatchCreateAccessBindingsResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BatchCreateAccessBindingsRequest request = new BatchCreateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new CreateAccessBindingRequest(),
},
};
// Make the request
BatchCreateAccessBindingsResponse response = analyticsAdminServiceClient.BatchCreateAccessBindings(request);
BatchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest, CallSettings)
Creates information about multiple access bindings to an account or property.
This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.
Declaration
public virtual Task<BatchCreateAccessBindingsResponse> BatchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BatchCreateAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateAccessBindingsRequest request = new BatchCreateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new CreateAccessBindingRequest(),
},
};
// Make the request
BatchCreateAccessBindingsResponse response = await analyticsAdminServiceClient.BatchCreateAccessBindingsAsync(request);
BatchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest, CancellationToken)
Creates information about multiple access bindings to an account or property.
This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.
Declaration
public virtual Task<BatchCreateAccessBindingsResponse> BatchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BatchCreateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BatchCreateAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateAccessBindingsRequest request = new BatchCreateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new CreateAccessBindingRequest(),
},
};
// Make the request
BatchCreateAccessBindingsResponse response = await analyticsAdminServiceClient.BatchCreateAccessBindingsAsync(request);
BatchDeleteAccessBindings(BatchDeleteAccessBindingsRequest, CallSettings)
Deletes information about multiple users' links to an account or property.
Declaration
public virtual void BatchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BatchDeleteAccessBindingsRequest request = new BatchDeleteAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new DeleteAccessBindingRequest(),
},
};
// Make the request
analyticsAdminServiceClient.BatchDeleteAccessBindings(request);
BatchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest, CallSettings)
Deletes information about multiple users' links to an account or property.
Declaration
public virtual Task BatchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchDeleteAccessBindingsRequest request = new BatchDeleteAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new DeleteAccessBindingRequest(),
},
};
// Make the request
await analyticsAdminServiceClient.BatchDeleteAccessBindingsAsync(request);
BatchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest, CancellationToken)
Deletes information about multiple users' links to an account or property.
Declaration
public virtual Task BatchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchDeleteAccessBindingsRequest request = new BatchDeleteAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new DeleteAccessBindingRequest(),
},
};
// Make the request
await analyticsAdminServiceClient.BatchDeleteAccessBindingsAsync(request);
BatchGetAccessBindings(BatchGetAccessBindingsRequest, CallSettings)
Gets information about multiple access bindings to an account or property.
Declaration
public virtual BatchGetAccessBindingsResponse BatchGetAccessBindings(BatchGetAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchGetAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BatchGetAccessBindingsResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BatchGetAccessBindingsRequest request = new BatchGetAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBindingNames =
{
AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
},
};
// Make the request
BatchGetAccessBindingsResponse response = analyticsAdminServiceClient.BatchGetAccessBindings(request);
BatchGetAccessBindingsAsync(BatchGetAccessBindingsRequest, CallSettings)
Gets information about multiple access bindings to an account or property.
Declaration
public virtual Task<BatchGetAccessBindingsResponse> BatchGetAccessBindingsAsync(BatchGetAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchGetAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BatchGetAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchGetAccessBindingsRequest request = new BatchGetAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBindingNames =
{
AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
},
};
// Make the request
BatchGetAccessBindingsResponse response = await analyticsAdminServiceClient.BatchGetAccessBindingsAsync(request);
BatchGetAccessBindingsAsync(BatchGetAccessBindingsRequest, CancellationToken)
Gets information about multiple access bindings to an account or property.
Declaration
public virtual Task<BatchGetAccessBindingsResponse> BatchGetAccessBindingsAsync(BatchGetAccessBindingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BatchGetAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BatchGetAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchGetAccessBindingsRequest request = new BatchGetAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBindingNames =
{
AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
},
};
// Make the request
BatchGetAccessBindingsResponse response = await analyticsAdminServiceClient.BatchGetAccessBindingsAsync(request);
BatchUpdateAccessBindings(BatchUpdateAccessBindingsRequest, CallSettings)
Updates information about multiple access bindings to an account or property.
Declaration
public virtual BatchUpdateAccessBindingsResponse BatchUpdateAccessBindings(BatchUpdateAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BatchUpdateAccessBindingsResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BatchUpdateAccessBindingsRequest request = new BatchUpdateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new UpdateAccessBindingRequest(),
},
};
// Make the request
BatchUpdateAccessBindingsResponse response = analyticsAdminServiceClient.BatchUpdateAccessBindings(request);
BatchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest, CallSettings)
Updates information about multiple access bindings to an account or property.
Declaration
public virtual Task<BatchUpdateAccessBindingsResponse> BatchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BatchUpdateAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchUpdateAccessBindingsRequest request = new BatchUpdateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new UpdateAccessBindingRequest(),
},
};
// Make the request
BatchUpdateAccessBindingsResponse response = await analyticsAdminServiceClient.BatchUpdateAccessBindingsAsync(request);
BatchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest, CancellationToken)
Updates information about multiple access bindings to an account or property.
Declaration
public virtual Task<BatchUpdateAccessBindingsResponse> BatchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BatchUpdateAccessBindingsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BatchUpdateAccessBindingsRequest request = new BatchUpdateAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
Requests =
{
new UpdateAccessBindingRequest(),
},
};
// Make the request
BatchUpdateAccessBindingsResponse response = await analyticsAdminServiceClient.BatchUpdateAccessBindingsAsync(request);
CancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either:
- Declining a proposal initiated from Display & Video 360
- Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal CancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CancelDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CancelDisplayVideo360AdvertiserLinkProposalRequest request = new CancelDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.CancelDisplayVideo360AdvertiserLinkProposal(request);
CancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either:
- Declining a proposal initiated from Display & Video 360
- Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CancelDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CancelDisplayVideo360AdvertiserLinkProposalRequest request = new CancelDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CancelDisplayVideo360AdvertiserLinkProposalAsync(request);
CancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest, CancellationToken)
Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either:
- Declining a proposal initiated from Display & Video 360
- Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancelDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CancelDisplayVideo360AdvertiserLinkProposalRequest request = new CancelDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CancelDisplayVideo360AdvertiserLinkProposalAsync(request);
Create()
Synchronously creates a AnalyticsAdminServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AnalyticsAdminServiceClientBuilder.
Declaration
public static AnalyticsAdminServiceClient Create()
Returns
Type | Description |
---|---|
AnalyticsAdminServiceClient | The created AnalyticsAdminServiceClient. |
CreateAccessBinding(AccountName, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual AccessBinding CreateAccessBinding(AccountName parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccountName parent = AccountName.FromAccount("[ACCOUNT]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = analyticsAdminServiceClient.CreateAccessBinding(parent, accessBinding);
CreateAccessBinding(CreateAccessBindingRequest, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual AccessBinding CreateAccessBinding(CreateAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateAccessBindingRequest request = new CreateAccessBindingRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = analyticsAdminServiceClient.CreateAccessBinding(request);
CreateAccessBinding(PropertyName, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual AccessBinding CreateAccessBinding(PropertyName parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = analyticsAdminServiceClient.CreateAccessBinding(parent, accessBinding);
CreateAccessBinding(string, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual AccessBinding CreateAccessBinding(string parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "accounts/[ACCOUNT]";
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = analyticsAdminServiceClient.CreateAccessBinding(parent, accessBinding);
CreateAccessBindingAsync(AccountName, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(AccountName parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName parent = AccountName.FromAccount("[ACCOUNT]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAccessBindingAsync(AccountName, AccessBinding, CancellationToken)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(AccountName parent, AccessBinding accessBinding, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccountName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName parent = AccountName.FromAccount("[ACCOUNT]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAccessBindingAsync(CreateAccessBindingRequest, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(CreateAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAccessBindingRequest request = new CreateAccessBindingRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(request);
CreateAccessBindingAsync(CreateAccessBindingRequest, CancellationToken)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(CreateAccessBindingRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAccessBindingRequest request = new CreateAccessBindingRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(request);
CreateAccessBindingAsync(PropertyName, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(PropertyName parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAccessBindingAsync(PropertyName, AccessBinding, CancellationToken)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(PropertyName parent, AccessBinding accessBinding, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAccessBindingAsync(string, AccessBinding, CallSettings)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(string parent, AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "accounts/[ACCOUNT]";
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAccessBindingAsync(string, AccessBinding, CancellationToken)
Creates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> CreateAccessBindingAsync(string parent, AccessBinding accessBinding, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Formats:
|
AccessBinding | accessBinding | Required. The access binding to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "accounts/[ACCOUNT]";
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.CreateAccessBindingAsync(parent, accessBinding);
CreateAdSenseLink(CreateAdSenseLinkRequest, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual AdSenseLink CreateAdSenseLink(CreateAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateAdSenseLinkRequest request = new CreateAdSenseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
AdsenseLink = new AdSenseLink(),
};
// Make the request
AdSenseLink response = analyticsAdminServiceClient.CreateAdSenseLink(request);
CreateAdSenseLink(PropertyName, AdSenseLink, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual AdSenseLink CreateAdSenseLink(PropertyName parent, AdSenseLink adsenseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = analyticsAdminServiceClient.CreateAdSenseLink(parent, adsenseLink);
CreateAdSenseLink(string, AdSenseLink, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual AdSenseLink CreateAdSenseLink(string parent, AdSenseLink adsenseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = analyticsAdminServiceClient.CreateAdSenseLink(parent, adsenseLink);
CreateAdSenseLinkAsync(CreateAdSenseLinkRequest, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(CreateAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAdSenseLinkRequest request = new CreateAdSenseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
AdsenseLink = new AdSenseLink(),
};
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(request);
CreateAdSenseLinkAsync(CreateAdSenseLinkRequest, CancellationToken)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(CreateAdSenseLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAdSenseLinkRequest request = new CreateAdSenseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
AdsenseLink = new AdSenseLink(),
};
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(request);
CreateAdSenseLinkAsync(PropertyName, AdSenseLink, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(PropertyName parent, AdSenseLink adsenseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(parent, adsenseLink);
CreateAdSenseLinkAsync(PropertyName, AdSenseLink, CancellationToken)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(PropertyName parent, AdSenseLink adsenseLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(parent, adsenseLink);
CreateAdSenseLinkAsync(string, AdSenseLink, CallSettings)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(string parent, AdSenseLink adsenseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(parent, adsenseLink);
CreateAdSenseLinkAsync(string, AdSenseLink, CancellationToken)
Creates an AdSenseLink.
Declaration
public virtual Task<AdSenseLink> CreateAdSenseLinkAsync(string parent, AdSenseLink adsenseLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
AdSenseLink | adsenseLink | Required. The AdSense Link to create |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
AdSenseLink adsenseLink = new AdSenseLink();
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.CreateAdSenseLinkAsync(parent, adsenseLink);
CreateAsync(CancellationToken)
Asynchronously creates a AnalyticsAdminServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AnalyticsAdminServiceClientBuilder.
Declaration
public static Task<AnalyticsAdminServiceClient> CreateAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | The CancellationToken to use while creating the client. |
Returns
Type | Description |
---|---|
Task<AnalyticsAdminServiceClient> | The task representing the created AnalyticsAdminServiceClient. |
CreateAudience(CreateAudienceRequest, CallSettings)
Creates an Audience.
Declaration
public virtual Audience CreateAudience(CreateAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateAudienceRequest request = new CreateAudienceRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Audience = new Audience(),
};
// Make the request
Audience response = analyticsAdminServiceClient.CreateAudience(request);
CreateAudience(PropertyName, Audience, CallSettings)
Creates an Audience.
Declaration
public virtual Audience CreateAudience(PropertyName parent, Audience audience, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
Audience audience = new Audience();
// Make the request
Audience response = analyticsAdminServiceClient.CreateAudience(parent, audience);
CreateAudience(string, Audience, CallSettings)
Creates an Audience.
Declaration
public virtual Audience CreateAudience(string parent, Audience audience, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
Audience audience = new Audience();
// Make the request
Audience response = analyticsAdminServiceClient.CreateAudience(parent, audience);
CreateAudienceAsync(CreateAudienceRequest, CallSettings)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(CreateAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAudienceRequest request = new CreateAudienceRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Audience = new Audience(),
};
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(request);
CreateAudienceAsync(CreateAudienceRequest, CancellationToken)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(CreateAudienceRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateAudienceRequest request = new CreateAudienceRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
Audience = new Audience(),
};
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(request);
CreateAudienceAsync(PropertyName, Audience, CallSettings)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(PropertyName parent, Audience audience, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
Audience audience = new Audience();
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(parent, audience);
CreateAudienceAsync(PropertyName, Audience, CancellationToken)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(PropertyName parent, Audience audience, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
Audience audience = new Audience();
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(parent, audience);
CreateAudienceAsync(string, Audience, CallSettings)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(string parent, Audience audience, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
Audience audience = new Audience();
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(parent, audience);
CreateAudienceAsync(string, Audience, CancellationToken)
Creates an Audience.
Declaration
public virtual Task<Audience> CreateAudienceAsync(string parent, Audience audience, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
Audience | audience | Required. The audience to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
Audience audience = new Audience();
// Make the request
Audience response = await analyticsAdminServiceClient.CreateAudienceAsync(parent, audience);
CreateBigQueryLink(CreateBigQueryLinkRequest, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual BigQueryLink CreateBigQueryLink(CreateBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateBigQueryLinkRequest request = new CreateBigQueryLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
BigqueryLink = new BigQueryLink(),
};
// Make the request
BigQueryLink response = analyticsAdminServiceClient.CreateBigQueryLink(request);
CreateBigQueryLink(PropertyName, BigQueryLink, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual BigQueryLink CreateBigQueryLink(PropertyName parent, BigQueryLink bigqueryLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = analyticsAdminServiceClient.CreateBigQueryLink(parent, bigqueryLink);
CreateBigQueryLink(string, BigQueryLink, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual BigQueryLink CreateBigQueryLink(string parent, BigQueryLink bigqueryLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = analyticsAdminServiceClient.CreateBigQueryLink(parent, bigqueryLink);
CreateBigQueryLinkAsync(CreateBigQueryLinkRequest, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(CreateBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateBigQueryLinkRequest request = new CreateBigQueryLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
BigqueryLink = new BigQueryLink(),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(request);
CreateBigQueryLinkAsync(CreateBigQueryLinkRequest, CancellationToken)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(CreateBigQueryLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateBigQueryLinkRequest request = new CreateBigQueryLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
BigqueryLink = new BigQueryLink(),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(request);
CreateBigQueryLinkAsync(PropertyName, BigQueryLink, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(PropertyName parent, BigQueryLink bigqueryLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(parent, bigqueryLink);
CreateBigQueryLinkAsync(PropertyName, BigQueryLink, CancellationToken)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(PropertyName parent, BigQueryLink bigqueryLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(parent, bigqueryLink);
CreateBigQueryLinkAsync(string, BigQueryLink, CallSettings)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(string parent, BigQueryLink bigqueryLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(parent, bigqueryLink);
CreateBigQueryLinkAsync(string, BigQueryLink, CancellationToken)
Creates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> CreateBigQueryLinkAsync(string parent, BigQueryLink bigqueryLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
BigQueryLink | bigqueryLink | Required. The BigQueryLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
BigQueryLink bigqueryLink = new BigQueryLink();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.CreateBigQueryLinkAsync(parent, bigqueryLink);
CreateCalculatedMetric(CreateCalculatedMetricRequest, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual CalculatedMetric CreateCalculatedMetric(CreateCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateCalculatedMetricRequest request = new CreateCalculatedMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CalculatedMetricId = "",
CalculatedMetric = new CalculatedMetric(),
};
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.CreateCalculatedMetric(request);
CreateCalculatedMetric(PropertyName, CalculatedMetric, string, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual CalculatedMetric CreateCalculatedMetric(PropertyName parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.CreateCalculatedMetric(parent, calculatedMetric, calculatedMetricId);
CreateCalculatedMetric(string, CalculatedMetric, string, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual CalculatedMetric CreateCalculatedMetric(string parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.CreateCalculatedMetric(parent, calculatedMetric, calculatedMetricId);
CreateCalculatedMetricAsync(CreateCalculatedMetricRequest, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(CreateCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCalculatedMetricRequest request = new CreateCalculatedMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CalculatedMetricId = "",
CalculatedMetric = new CalculatedMetric(),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(request);
CreateCalculatedMetricAsync(CreateCalculatedMetricRequest, CancellationToken)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(CreateCalculatedMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCalculatedMetricRequest request = new CreateCalculatedMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CalculatedMetricId = "",
CalculatedMetric = new CalculatedMetric(),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(request);
CreateCalculatedMetricAsync(PropertyName, CalculatedMetric, string, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(PropertyName parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(parent, calculatedMetric, calculatedMetricId);
CreateCalculatedMetricAsync(PropertyName, CalculatedMetric, string, CancellationToken)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(PropertyName parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(parent, calculatedMetric, calculatedMetricId);
CreateCalculatedMetricAsync(string, CalculatedMetric, string, CallSettings)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(string parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(parent, calculatedMetric, calculatedMetricId);
CreateCalculatedMetricAsync(string, CalculatedMetric, string, CancellationToken)
Creates a CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> CreateCalculatedMetricAsync(string parent, CalculatedMetric calculatedMetric, string calculatedMetricId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to create. |
string | calculatedMetricId | Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, "calcMetric:{calculated_metric_id}". |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CalculatedMetric calculatedMetric = new CalculatedMetric();
string calculatedMetricId = "";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.CreateCalculatedMetricAsync(parent, calculatedMetric, calculatedMetricId);
CreateChannelGroup(CreateChannelGroupRequest, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual ChannelGroup CreateChannelGroup(CreateChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateChannelGroupRequest request = new CreateChannelGroupRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ChannelGroup = new ChannelGroup(),
};
// Make the request
ChannelGroup response = analyticsAdminServiceClient.CreateChannelGroup(request);
CreateChannelGroup(PropertyName, ChannelGroup, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual ChannelGroup CreateChannelGroup(PropertyName parent, ChannelGroup channelGroup, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = analyticsAdminServiceClient.CreateChannelGroup(parent, channelGroup);
CreateChannelGroup(string, ChannelGroup, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual ChannelGroup CreateChannelGroup(string parent, ChannelGroup channelGroup, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = analyticsAdminServiceClient.CreateChannelGroup(parent, channelGroup);
CreateChannelGroupAsync(CreateChannelGroupRequest, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(CreateChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateChannelGroupRequest request = new CreateChannelGroupRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ChannelGroup = new ChannelGroup(),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(request);
CreateChannelGroupAsync(CreateChannelGroupRequest, CancellationToken)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(CreateChannelGroupRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateChannelGroupRequest request = new CreateChannelGroupRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ChannelGroup = new ChannelGroup(),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(request);
CreateChannelGroupAsync(PropertyName, ChannelGroup, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(PropertyName parent, ChannelGroup channelGroup, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(parent, channelGroup);
CreateChannelGroupAsync(PropertyName, ChannelGroup, CancellationToken)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(PropertyName parent, ChannelGroup channelGroup, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(parent, channelGroup);
CreateChannelGroupAsync(string, ChannelGroup, CallSettings)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(string parent, ChannelGroup channelGroup, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(parent, channelGroup);
CreateChannelGroupAsync(string, ChannelGroup, CancellationToken)
Creates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> CreateChannelGroupAsync(string parent, ChannelGroup channelGroup, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to create a ChannelGroup. Example format: properties/1234 |
ChannelGroup | channelGroup | Required. The ChannelGroup to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ChannelGroup channelGroup = new ChannelGroup();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.CreateChannelGroupAsync(parent, channelGroup);
CreateConnectedSiteTag(CreateConnectedSiteTagRequest, CallSettings)
Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.
Declaration
public virtual CreateConnectedSiteTagResponse CreateConnectedSiteTag(CreateConnectedSiteTagRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CreateConnectedSiteTagResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateConnectedSiteTagRequest request = new CreateConnectedSiteTagRequest
{
Property = "",
ConnectedSiteTag = new ConnectedSiteTag(),
};
// Make the request
CreateConnectedSiteTagResponse response = analyticsAdminServiceClient.CreateConnectedSiteTag(request);
CreateConnectedSiteTagAsync(CreateConnectedSiteTagRequest, CallSettings)
Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.
Declaration
public virtual Task<CreateConnectedSiteTagResponse> CreateConnectedSiteTagAsync(CreateConnectedSiteTagRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CreateConnectedSiteTagResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateConnectedSiteTagRequest request = new CreateConnectedSiteTagRequest
{
Property = "",
ConnectedSiteTag = new ConnectedSiteTag(),
};
// Make the request
CreateConnectedSiteTagResponse response = await analyticsAdminServiceClient.CreateConnectedSiteTagAsync(request);
CreateConnectedSiteTagAsync(CreateConnectedSiteTagRequest, CancellationToken)
Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.
Declaration
public virtual Task<CreateConnectedSiteTagResponse> CreateConnectedSiteTagAsync(CreateConnectedSiteTagRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CreateConnectedSiteTagResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateConnectedSiteTagRequest request = new CreateConnectedSiteTagRequest
{
Property = "",
ConnectedSiteTag = new ConnectedSiteTag(),
};
// Make the request
CreateConnectedSiteTagResponse response = await analyticsAdminServiceClient.CreateConnectedSiteTagAsync(request);
CreateConversionEvent(CreateConversionEventRequest, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual ConversionEvent CreateConversionEvent(CreateConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateConversionEventRequest request = new CreateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.CreateConversionEvent(request);
#pragma warning restore CS0612
CreateConversionEvent(PropertyName, ConversionEvent, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual ConversionEvent CreateConversionEvent(PropertyName parent, ConversionEvent conversionEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.CreateConversionEvent(parent, conversionEvent);
#pragma warning restore CS0612
CreateConversionEvent(string, ConversionEvent, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual ConversionEvent CreateConversionEvent(string parent, ConversionEvent conversionEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.CreateConversionEvent(parent, conversionEvent);
#pragma warning restore CS0612
CreateConversionEventAsync(CreateConversionEventRequest, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(CreateConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateConversionEventRequest request = new CreateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(request);
#pragma warning restore CS0612
CreateConversionEventAsync(CreateConversionEventRequest, CancellationToken)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(CreateConversionEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateConversionEventRequest request = new CreateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(request);
#pragma warning restore CS0612
CreateConversionEventAsync(PropertyName, ConversionEvent, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(PropertyName parent, ConversionEvent conversionEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(parent, conversionEvent);
#pragma warning restore CS0612
CreateConversionEventAsync(PropertyName, ConversionEvent, CancellationToken)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(PropertyName parent, ConversionEvent conversionEvent, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(parent, conversionEvent);
#pragma warning restore CS0612
CreateConversionEventAsync(string, ConversionEvent, CallSettings)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(string parent, ConversionEvent conversionEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(parent, conversionEvent);
#pragma warning restore CS0612
CreateConversionEventAsync(string, ConversionEvent, CancellationToken)
Deprecated: Use CreateKeyEvent
instead.
Creates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> CreateConversionEventAsync(string parent, ConversionEvent conversionEvent, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
ConversionEvent | conversionEvent | Required. The conversion event to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ConversionEvent conversionEvent = new ConversionEvent();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.CreateConversionEventAsync(parent, conversionEvent);
#pragma warning restore CS0612
CreateCustomDimension(CreateCustomDimensionRequest, CallSettings)
Creates a CustomDimension.
Declaration
public virtual CustomDimension CreateCustomDimension(CreateCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateCustomDimensionRequest request = new CreateCustomDimensionRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomDimension = new CustomDimension(),
};
// Make the request
CustomDimension response = analyticsAdminServiceClient.CreateCustomDimension(request);
CreateCustomDimension(PropertyName, CustomDimension, CallSettings)
Creates a CustomDimension.
Declaration
public virtual CustomDimension CreateCustomDimension(PropertyName parent, CustomDimension customDimension, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = analyticsAdminServiceClient.CreateCustomDimension(parent, customDimension);
CreateCustomDimension(string, CustomDimension, CallSettings)
Creates a CustomDimension.
Declaration
public virtual CustomDimension CreateCustomDimension(string parent, CustomDimension customDimension, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = analyticsAdminServiceClient.CreateCustomDimension(parent, customDimension);
CreateCustomDimensionAsync(CreateCustomDimensionRequest, CallSettings)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(CreateCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomDimensionRequest request = new CreateCustomDimensionRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomDimension = new CustomDimension(),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(request);
CreateCustomDimensionAsync(CreateCustomDimensionRequest, CancellationToken)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(CreateCustomDimensionRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomDimensionRequest request = new CreateCustomDimensionRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomDimension = new CustomDimension(),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(request);
CreateCustomDimensionAsync(PropertyName, CustomDimension, CallSettings)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(PropertyName parent, CustomDimension customDimension, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(parent, customDimension);
CreateCustomDimensionAsync(PropertyName, CustomDimension, CancellationToken)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(PropertyName parent, CustomDimension customDimension, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(parent, customDimension);
CreateCustomDimensionAsync(string, CustomDimension, CallSettings)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(string parent, CustomDimension customDimension, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(parent, customDimension);
CreateCustomDimensionAsync(string, CustomDimension, CancellationToken)
Creates a CustomDimension.
Declaration
public virtual Task<CustomDimension> CreateCustomDimensionAsync(string parent, CustomDimension customDimension, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomDimension | customDimension | Required. The CustomDimension to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomDimension customDimension = new CustomDimension();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.CreateCustomDimensionAsync(parent, customDimension);
CreateCustomMetric(CreateCustomMetricRequest, CallSettings)
Creates a CustomMetric.
Declaration
public virtual CustomMetric CreateCustomMetric(CreateCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateCustomMetricRequest request = new CreateCustomMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomMetric = new CustomMetric(),
};
// Make the request
CustomMetric response = analyticsAdminServiceClient.CreateCustomMetric(request);
CreateCustomMetric(PropertyName, CustomMetric, CallSettings)
Creates a CustomMetric.
Declaration
public virtual CustomMetric CreateCustomMetric(PropertyName parent, CustomMetric customMetric, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = analyticsAdminServiceClient.CreateCustomMetric(parent, customMetric);
CreateCustomMetric(string, CustomMetric, CallSettings)
Creates a CustomMetric.
Declaration
public virtual CustomMetric CreateCustomMetric(string parent, CustomMetric customMetric, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = analyticsAdminServiceClient.CreateCustomMetric(parent, customMetric);
CreateCustomMetricAsync(CreateCustomMetricRequest, CallSettings)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(CreateCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomMetricRequest request = new CreateCustomMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomMetric = new CustomMetric(),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(request);
CreateCustomMetricAsync(CreateCustomMetricRequest, CancellationToken)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(CreateCustomMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCustomMetricRequest request = new CreateCustomMetricRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
CustomMetric = new CustomMetric(),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(request);
CreateCustomMetricAsync(PropertyName, CustomMetric, CallSettings)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(PropertyName parent, CustomMetric customMetric, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(parent, customMetric);
CreateCustomMetricAsync(PropertyName, CustomMetric, CancellationToken)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(PropertyName parent, CustomMetric customMetric, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(parent, customMetric);
CreateCustomMetricAsync(string, CustomMetric, CallSettings)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(string parent, CustomMetric customMetric, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(parent, customMetric);
CreateCustomMetricAsync(string, CustomMetric, CancellationToken)
Creates a CustomMetric.
Declaration
public virtual Task<CustomMetric> CreateCustomMetricAsync(string parent, CustomMetric customMetric, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
CustomMetric | customMetric | Required. The CustomMetric to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
CustomMetric customMetric = new CustomMetric();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.CreateCustomMetricAsync(parent, customMetric);
CreateDataStream(CreateDataStreamRequest, CallSettings)
Creates a DataStream.
Declaration
public virtual DataStream CreateDataStream(CreateDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateDataStreamRequest request = new CreateDataStreamRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DataStream = new DataStream(),
};
// Make the request
DataStream response = analyticsAdminServiceClient.CreateDataStream(request);
CreateDataStream(PropertyName, DataStream, CallSettings)
Creates a DataStream.
Declaration
public virtual DataStream CreateDataStream(PropertyName parent, DataStream dataStream, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DataStream dataStream = new DataStream();
// Make the request
DataStream response = analyticsAdminServiceClient.CreateDataStream(parent, dataStream);
CreateDataStream(string, DataStream, CallSettings)
Creates a DataStream.
Declaration
public virtual DataStream CreateDataStream(string parent, DataStream dataStream, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DataStream dataStream = new DataStream();
// Make the request
DataStream response = analyticsAdminServiceClient.CreateDataStream(parent, dataStream);
CreateDataStreamAsync(CreateDataStreamRequest, CallSettings)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(CreateDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDataStreamRequest request = new CreateDataStreamRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DataStream = new DataStream(),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(request);
CreateDataStreamAsync(CreateDataStreamRequest, CancellationToken)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(CreateDataStreamRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDataStreamRequest request = new CreateDataStreamRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DataStream = new DataStream(),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(request);
CreateDataStreamAsync(PropertyName, DataStream, CallSettings)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(PropertyName parent, DataStream dataStream, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DataStream dataStream = new DataStream();
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(parent, dataStream);
CreateDataStreamAsync(PropertyName, DataStream, CancellationToken)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(PropertyName parent, DataStream dataStream, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DataStream dataStream = new DataStream();
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(parent, dataStream);
CreateDataStreamAsync(string, DataStream, CallSettings)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(string parent, DataStream dataStream, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DataStream dataStream = new DataStream();
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(parent, dataStream);
CreateDataStreamAsync(string, DataStream, CancellationToken)
Creates a DataStream.
Declaration
public virtual Task<DataStream> CreateDataStreamAsync(string parent, DataStream dataStream, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DataStream | dataStream | Required. The DataStream to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DataStream dataStream = new DataStream();
// Make the request
DataStream response = await analyticsAdminServiceClient.CreateDataStreamAsync(parent, dataStream);
CreateDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLink CreateDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkRequest request = new CreateDisplayVideo360AdvertiserLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
};
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLink(request);
CreateDisplayVideo360AdvertiserLink(PropertyName, DisplayVideo360AdvertiserLink, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLink CreateDisplayVideo360AdvertiserLink(PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLink(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLink(string, DisplayVideo360AdvertiserLink, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLink CreateDisplayVideo360AdvertiserLink(string parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLink(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkRequest request = new CreateDisplayVideo360AdvertiserLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(request);
CreateDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest, CancellationToken)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkRequest request = new CreateDisplayVideo360AdvertiserLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(request);
CreateDisplayVideo360AdvertiserLinkAsync(PropertyName, DisplayVideo360AdvertiserLink, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLinkAsync(PropertyName, DisplayVideo360AdvertiserLink, CancellationToken)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(PropertyName parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLinkAsync(string, DisplayVideo360AdvertiserLink, CallSettings)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(string parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLinkAsync(string, DisplayVideo360AdvertiserLink, CancellationToken)
Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> CreateDisplayVideo360AdvertiserLinkAsync(string parent, DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | Required. The DisplayVideo360AdvertiserLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkAsync(parent, displayVideo360AdvertiserLink);
CreateDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal CreateDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkProposalRequest request = new CreateDisplayVideo360AdvertiserLinkProposalRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposal(request);
CreateDisplayVideo360AdvertiserLinkProposal(PropertyName, DisplayVideo360AdvertiserLinkProposal, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal CreateDisplayVideo360AdvertiserLinkProposal(PropertyName parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposal(parent, displayVideo360AdvertiserLinkProposal);
CreateDisplayVideo360AdvertiserLinkProposal(string, DisplayVideo360AdvertiserLinkProposal, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal CreateDisplayVideo360AdvertiserLinkProposal(string parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposal(parent, displayVideo360AdvertiserLinkProposal);
CreateDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkProposalRequest request = new CreateDisplayVideo360AdvertiserLinkProposalRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(request);
CreateDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest, CancellationToken)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateDisplayVideo360AdvertiserLinkProposalRequest request = new CreateDisplayVideo360AdvertiserLinkProposalRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
DisplayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(request);
CreateDisplayVideo360AdvertiserLinkProposalAsync(PropertyName, DisplayVideo360AdvertiserLinkProposal, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(PropertyName parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(parent, displayVideo360AdvertiserLinkProposal);
CreateDisplayVideo360AdvertiserLinkProposalAsync(PropertyName, DisplayVideo360AdvertiserLinkProposal, CancellationToken)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(PropertyName parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(parent, displayVideo360AdvertiserLinkProposal);
CreateDisplayVideo360AdvertiserLinkProposalAsync(string, DisplayVideo360AdvertiserLinkProposal, CallSettings)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(string parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(parent, displayVideo360AdvertiserLinkProposal);
CreateDisplayVideo360AdvertiserLinkProposalAsync(string, DisplayVideo360AdvertiserLinkProposal, CancellationToken)
Creates a DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> CreateDisplayVideo360AdvertiserLinkProposalAsync(string parent, DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
DisplayVideo360AdvertiserLinkProposal | displayVideo360AdvertiserLinkProposal | Required. The DisplayVideo360AdvertiserLinkProposal to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
DisplayVideo360AdvertiserLinkProposal displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal();
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkProposalAsync(parent, displayVideo360AdvertiserLinkProposal);
CreateEventCreateRule(CreateEventCreateRuleRequest, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual EventCreateRule CreateEventCreateRule(CreateEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateEventCreateRuleRequest request = new CreateEventCreateRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventCreateRule = new EventCreateRule(),
};
// Make the request
EventCreateRule response = analyticsAdminServiceClient.CreateEventCreateRule(request);
CreateEventCreateRule(DataStreamName, EventCreateRule, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual EventCreateRule CreateEventCreateRule(DataStreamName parent, EventCreateRule eventCreateRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = analyticsAdminServiceClient.CreateEventCreateRule(parent, eventCreateRule);
CreateEventCreateRule(string, EventCreateRule, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual EventCreateRule CreateEventCreateRule(string parent, EventCreateRule eventCreateRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = analyticsAdminServiceClient.CreateEventCreateRule(parent, eventCreateRule);
CreateEventCreateRuleAsync(CreateEventCreateRuleRequest, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(CreateEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEventCreateRuleRequest request = new CreateEventCreateRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventCreateRule = new EventCreateRule(),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(request);
CreateEventCreateRuleAsync(CreateEventCreateRuleRequest, CancellationToken)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(CreateEventCreateRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEventCreateRuleRequest request = new CreateEventCreateRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventCreateRule = new EventCreateRule(),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(request);
CreateEventCreateRuleAsync(DataStreamName, EventCreateRule, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(DataStreamName parent, EventCreateRule eventCreateRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(parent, eventCreateRule);
CreateEventCreateRuleAsync(DataStreamName, EventCreateRule, CancellationToken)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(DataStreamName parent, EventCreateRule eventCreateRule, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(parent, eventCreateRule);
CreateEventCreateRuleAsync(string, EventCreateRule, CallSettings)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(string parent, EventCreateRule eventCreateRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(parent, eventCreateRule);
CreateEventCreateRuleAsync(string, EventCreateRule, CancellationToken)
Creates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> CreateEventCreateRuleAsync(string parent, EventCreateRule eventCreateRule, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventCreateRule | eventCreateRule | Required. The EventCreateRule to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventCreateRule eventCreateRule = new EventCreateRule();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.CreateEventCreateRuleAsync(parent, eventCreateRule);
CreateEventEditRule(CreateEventEditRuleRequest, CallSettings)
Creates an EventEditRule.
Declaration
public virtual EventEditRule CreateEventEditRule(CreateEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateEventEditRuleRequest request = new CreateEventEditRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRule = new EventEditRule(),
};
// Make the request
EventEditRule response = analyticsAdminServiceClient.CreateEventEditRule(request);
CreateEventEditRule(DataStreamName, EventEditRule, CallSettings)
Creates an EventEditRule.
Declaration
public virtual EventEditRule CreateEventEditRule(DataStreamName parent, EventEditRule eventEditRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = analyticsAdminServiceClient.CreateEventEditRule(parent, eventEditRule);
CreateEventEditRule(string, EventEditRule, CallSettings)
Creates an EventEditRule.
Declaration
public virtual EventEditRule CreateEventEditRule(string parent, EventEditRule eventEditRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = analyticsAdminServiceClient.CreateEventEditRule(parent, eventEditRule);
CreateEventEditRuleAsync(CreateEventEditRuleRequest, CallSettings)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(CreateEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEventEditRuleRequest request = new CreateEventEditRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRule = new EventEditRule(),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(request);
CreateEventEditRuleAsync(CreateEventEditRuleRequest, CancellationToken)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(CreateEventEditRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEventEditRuleRequest request = new CreateEventEditRuleRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRule = new EventEditRule(),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(request);
CreateEventEditRuleAsync(DataStreamName, EventEditRule, CallSettings)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(DataStreamName parent, EventEditRule eventEditRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(parent, eventEditRule);
CreateEventEditRuleAsync(DataStreamName, EventEditRule, CancellationToken)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(DataStreamName parent, EventEditRule eventEditRule, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(parent, eventEditRule);
CreateEventEditRuleAsync(string, EventEditRule, CallSettings)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(string parent, EventEditRule eventEditRule, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(parent, eventEditRule);
CreateEventEditRuleAsync(string, EventEditRule, CancellationToken)
Creates an EventEditRule.
Declaration
public virtual Task<EventEditRule> CreateEventEditRuleAsync(string parent, EventEditRule eventEditRule, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
EventEditRule | eventEditRule | Required. The EventEditRule to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
EventEditRule eventEditRule = new EventEditRule();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.CreateEventEditRuleAsync(parent, eventEditRule);
CreateExpandedDataSet(CreateExpandedDataSetRequest, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual ExpandedDataSet CreateExpandedDataSet(CreateExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateExpandedDataSetRequest request = new CreateExpandedDataSetRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ExpandedDataSet = new ExpandedDataSet(),
};
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.CreateExpandedDataSet(request);
CreateExpandedDataSet(PropertyName, ExpandedDataSet, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual ExpandedDataSet CreateExpandedDataSet(PropertyName parent, ExpandedDataSet expandedDataSet, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.CreateExpandedDataSet(parent, expandedDataSet);
CreateExpandedDataSet(string, ExpandedDataSet, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual ExpandedDataSet CreateExpandedDataSet(string parent, ExpandedDataSet expandedDataSet, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.CreateExpandedDataSet(parent, expandedDataSet);
CreateExpandedDataSetAsync(CreateExpandedDataSetRequest, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(CreateExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateExpandedDataSetRequest request = new CreateExpandedDataSetRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ExpandedDataSet = new ExpandedDataSet(),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(request);
CreateExpandedDataSetAsync(CreateExpandedDataSetRequest, CancellationToken)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(CreateExpandedDataSetRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateExpandedDataSetRequest request = new CreateExpandedDataSetRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ExpandedDataSet = new ExpandedDataSet(),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(request);
CreateExpandedDataSetAsync(PropertyName, ExpandedDataSet, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(PropertyName parent, ExpandedDataSet expandedDataSet, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(parent, expandedDataSet);
CreateExpandedDataSetAsync(PropertyName, ExpandedDataSet, CancellationToken)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(PropertyName parent, ExpandedDataSet expandedDataSet, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(parent, expandedDataSet);
CreateExpandedDataSetAsync(string, ExpandedDataSet, CallSettings)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(string parent, ExpandedDataSet expandedDataSet, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(parent, expandedDataSet);
CreateExpandedDataSetAsync(string, ExpandedDataSet, CancellationToken)
Creates a ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> CreateExpandedDataSetAsync(string parent, ExpandedDataSet expandedDataSet, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.CreateExpandedDataSetAsync(parent, expandedDataSet);
CreateFirebaseLink(CreateFirebaseLinkRequest, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FirebaseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateFirebaseLinkRequest request = new CreateFirebaseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
FirebaseLink = new FirebaseLink(),
};
// Make the request
FirebaseLink response = analyticsAdminServiceClient.CreateFirebaseLink(request);
CreateFirebaseLink(PropertyName, FirebaseLink, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual FirebaseLink CreateFirebaseLink(PropertyName parent, FirebaseLink firebaseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FirebaseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = analyticsAdminServiceClient.CreateFirebaseLink(parent, firebaseLink);
CreateFirebaseLink(string, FirebaseLink, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual FirebaseLink CreateFirebaseLink(string parent, FirebaseLink firebaseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FirebaseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = analyticsAdminServiceClient.CreateFirebaseLink(parent, firebaseLink);
CreateFirebaseLinkAsync(CreateFirebaseLinkRequest, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFirebaseLinkRequest request = new CreateFirebaseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
FirebaseLink = new FirebaseLink(),
};
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(request);
CreateFirebaseLinkAsync(CreateFirebaseLinkRequest, CancellationToken)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLinkAsync(CreateFirebaseLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateFirebaseLinkRequest request = new CreateFirebaseLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
FirebaseLink = new FirebaseLink(),
};
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(request);
CreateFirebaseLinkAsync(PropertyName, FirebaseLink, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLinkAsync(PropertyName parent, FirebaseLink firebaseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(parent, firebaseLink);
CreateFirebaseLinkAsync(PropertyName, FirebaseLink, CancellationToken)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLinkAsync(PropertyName parent, FirebaseLink firebaseLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(parent, firebaseLink);
CreateFirebaseLinkAsync(string, FirebaseLink, CallSettings)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLinkAsync(string parent, FirebaseLink firebaseLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(parent, firebaseLink);
CreateFirebaseLinkAsync(string, FirebaseLink, CancellationToken)
Creates a FirebaseLink.
Properties can have at most one FirebaseLink.
Declaration
public virtual Task<FirebaseLink> CreateFirebaseLinkAsync(string parent, FirebaseLink firebaseLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: |
FirebaseLink | firebaseLink | Required. The Firebase link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<FirebaseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
FirebaseLink firebaseLink = new FirebaseLink();
// Make the request
FirebaseLink response = await analyticsAdminServiceClient.CreateFirebaseLinkAsync(parent, firebaseLink);
CreateGoogleAdsLink(CreateGoogleAdsLinkRequest, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleAdsLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateGoogleAdsLinkRequest request = new CreateGoogleAdsLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
GoogleAdsLink = new GoogleAdsLink(),
};
// Make the request
GoogleAdsLink response = analyticsAdminServiceClient.CreateGoogleAdsLink(request);
CreateGoogleAdsLink(PropertyName, GoogleAdsLink, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual GoogleAdsLink CreateGoogleAdsLink(PropertyName parent, GoogleAdsLink googleAdsLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleAdsLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = analyticsAdminServiceClient.CreateGoogleAdsLink(parent, googleAdsLink);
CreateGoogleAdsLink(string, GoogleAdsLink, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual GoogleAdsLink CreateGoogleAdsLink(string parent, GoogleAdsLink googleAdsLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleAdsLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = analyticsAdminServiceClient.CreateGoogleAdsLink(parent, googleAdsLink);
CreateGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateGoogleAdsLinkRequest request = new CreateGoogleAdsLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
GoogleAdsLink = new GoogleAdsLink(),
};
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(request);
CreateGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest, CancellationToken)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateGoogleAdsLinkRequest request = new CreateGoogleAdsLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
GoogleAdsLink = new GoogleAdsLink(),
};
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(request);
CreateGoogleAdsLinkAsync(PropertyName, GoogleAdsLink, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(PropertyName parent, GoogleAdsLink googleAdsLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(parent, googleAdsLink);
CreateGoogleAdsLinkAsync(PropertyName, GoogleAdsLink, CancellationToken)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(PropertyName parent, GoogleAdsLink googleAdsLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(parent, googleAdsLink);
CreateGoogleAdsLinkAsync(string, GoogleAdsLink, CallSettings)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(string parent, GoogleAdsLink googleAdsLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(parent, googleAdsLink);
CreateGoogleAdsLinkAsync(string, GoogleAdsLink, CancellationToken)
Creates a GoogleAdsLink.
Declaration
public virtual Task<GoogleAdsLink> CreateGoogleAdsLinkAsync(string parent, GoogleAdsLink googleAdsLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
GoogleAdsLink | googleAdsLink | Required. The GoogleAdsLink to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.CreateGoogleAdsLinkAsync(parent, googleAdsLink);
CreateKeyEvent(CreateKeyEventRequest, CallSettings)
Creates a Key Event.
Declaration
public virtual KeyEvent CreateKeyEvent(CreateKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateKeyEventRequest request = new CreateKeyEventRequest
{
KeyEvent = new KeyEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
KeyEvent response = analyticsAdminServiceClient.CreateKeyEvent(request);
CreateKeyEvent(PropertyName, KeyEvent, CallSettings)
Creates a Key Event.
Declaration
public virtual KeyEvent CreateKeyEvent(PropertyName parent, KeyEvent keyEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = analyticsAdminServiceClient.CreateKeyEvent(parent, keyEvent);
CreateKeyEvent(string, KeyEvent, CallSettings)
Creates a Key Event.
Declaration
public virtual KeyEvent CreateKeyEvent(string parent, KeyEvent keyEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = analyticsAdminServiceClient.CreateKeyEvent(parent, keyEvent);
CreateKeyEventAsync(CreateKeyEventRequest, CallSettings)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(CreateKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateKeyEventRequest request = new CreateKeyEventRequest
{
KeyEvent = new KeyEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(request);
CreateKeyEventAsync(CreateKeyEventRequest, CancellationToken)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(CreateKeyEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateKeyEventRequest request = new CreateKeyEventRequest
{
KeyEvent = new KeyEvent(),
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(request);
CreateKeyEventAsync(PropertyName, KeyEvent, CallSettings)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(PropertyName parent, KeyEvent keyEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(parent, keyEvent);
CreateKeyEventAsync(PropertyName, KeyEvent, CancellationToken)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(PropertyName parent, KeyEvent keyEvent, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(parent, keyEvent);
CreateKeyEventAsync(string, KeyEvent, CallSettings)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(string parent, KeyEvent keyEvent, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(parent, keyEvent);
CreateKeyEventAsync(string, KeyEvent, CancellationToken)
Creates a Key Event.
Declaration
public virtual Task<KeyEvent> CreateKeyEventAsync(string parent, KeyEvent keyEvent, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
KeyEvent | keyEvent | Required. The Key Event to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
KeyEvent keyEvent = new KeyEvent();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.CreateKeyEventAsync(parent, keyEvent);
CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual MeasurementProtocolSecret CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateMeasurementProtocolSecretRequest request = new CreateMeasurementProtocolSecretRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
};
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.CreateMeasurementProtocolSecret(request);
CreateMeasurementProtocolSecret(DataStreamName, MeasurementProtocolSecret, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual MeasurementProtocolSecret CreateMeasurementProtocolSecret(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.CreateMeasurementProtocolSecret(parent, measurementProtocolSecret);
CreateMeasurementProtocolSecret(string, MeasurementProtocolSecret, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual MeasurementProtocolSecret CreateMeasurementProtocolSecret(string parent, MeasurementProtocolSecret measurementProtocolSecret, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.CreateMeasurementProtocolSecret(parent, measurementProtocolSecret);
CreateMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateMeasurementProtocolSecretRequest request = new CreateMeasurementProtocolSecretRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(request);
CreateMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest, CancellationToken)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateMeasurementProtocolSecretRequest request = new CreateMeasurementProtocolSecretRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(request);
CreateMeasurementProtocolSecretAsync(DataStreamName, MeasurementProtocolSecret, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(parent, measurementProtocolSecret);
CreateMeasurementProtocolSecretAsync(DataStreamName, MeasurementProtocolSecret, CancellationToken)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(DataStreamName parent, MeasurementProtocolSecret measurementProtocolSecret, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(parent, measurementProtocolSecret);
CreateMeasurementProtocolSecretAsync(string, MeasurementProtocolSecret, CallSettings)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(string parent, MeasurementProtocolSecret measurementProtocolSecret, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(parent, measurementProtocolSecret);
CreateMeasurementProtocolSecretAsync(string, MeasurementProtocolSecret, CancellationToken)
Creates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> CreateMeasurementProtocolSecretAsync(string parent, MeasurementProtocolSecret measurementProtocolSecret, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} |
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.CreateMeasurementProtocolSecretAsync(parent, measurementProtocolSecret);
CreateProperty(CreatePropertyRequest, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreatePropertyRequest request = new CreatePropertyRequest
{
Property = new Property(),
};
// Make the request
Property response = analyticsAdminServiceClient.CreateProperty(request);
CreateProperty(Property, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual Property CreateProperty(Property property, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to create. Note: the supplied property must specify its parent. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
Property property = new Property();
// Make the request
Property response = analyticsAdminServiceClient.CreateProperty(property);
CreatePropertyAsync(CreatePropertyRequest, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreatePropertyRequest request = new CreatePropertyRequest
{
Property = new Property(),
};
// Make the request
Property response = await analyticsAdminServiceClient.CreatePropertyAsync(request);
CreatePropertyAsync(CreatePropertyRequest, CancellationToken)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual Task<Property> CreatePropertyAsync(CreatePropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreatePropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreatePropertyRequest request = new CreatePropertyRequest
{
Property = new Property(),
};
// Make the request
Property response = await analyticsAdminServiceClient.CreatePropertyAsync(request);
CreatePropertyAsync(Property, CallSettings)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual Task<Property> CreatePropertyAsync(Property property, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to create. Note: the supplied property must specify its parent. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Property property = new Property();
// Make the request
Property response = await analyticsAdminServiceClient.CreatePropertyAsync(property);
CreatePropertyAsync(Property, CancellationToken)
Creates an "GA4" property with the specified location and attributes.
Declaration
public virtual Task<Property> CreatePropertyAsync(Property property, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to create. Note: the supplied property must specify its parent. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Property property = new Property();
// Make the request
Property response = await analyticsAdminServiceClient.CreatePropertyAsync(property);
CreateRollupProperty(CreateRollupPropertyRequest, CallSettings)
Create a roll-up property and all roll-up property source links.
Declaration
public virtual CreateRollupPropertyResponse CreateRollupProperty(CreateRollupPropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CreateRollupPropertyResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateRollupPropertyRequest request = new CreateRollupPropertyRequest
{
RollupProperty = new Property(),
SourceProperties = { "", },
};
// Make the request
CreateRollupPropertyResponse response = analyticsAdminServiceClient.CreateRollupProperty(request);
CreateRollupPropertyAsync(CreateRollupPropertyRequest, CallSettings)
Create a roll-up property and all roll-up property source links.
Declaration
public virtual Task<CreateRollupPropertyResponse> CreateRollupPropertyAsync(CreateRollupPropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CreateRollupPropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateRollupPropertyRequest request = new CreateRollupPropertyRequest
{
RollupProperty = new Property(),
SourceProperties = { "", },
};
// Make the request
CreateRollupPropertyResponse response = await analyticsAdminServiceClient.CreateRollupPropertyAsync(request);
CreateRollupPropertyAsync(CreateRollupPropertyRequest, CancellationToken)
Create a roll-up property and all roll-up property source links.
Declaration
public virtual Task<CreateRollupPropertyResponse> CreateRollupPropertyAsync(CreateRollupPropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CreateRollupPropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateRollupPropertyRequest request = new CreateRollupPropertyRequest
{
RollupProperty = new Property(),
SourceProperties = { "", },
};
// Make the request
CreateRollupPropertyResponse response = await analyticsAdminServiceClient.CreateRollupPropertyAsync(request);
CreateRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink CreateRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateRollupPropertySourceLinkRequest request = new CreateRollupPropertySourceLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
RollupPropertySourceLink = new RollupPropertySourceLink(),
};
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.CreateRollupPropertySourceLink(request);
CreateRollupPropertySourceLink(PropertyName, RollupPropertySourceLink, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink CreateRollupPropertySourceLink(PropertyName parent, RollupPropertySourceLink rollupPropertySourceLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.CreateRollupPropertySourceLink(parent, rollupPropertySourceLink);
CreateRollupPropertySourceLink(string, RollupPropertySourceLink, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink CreateRollupPropertySourceLink(string parent, RollupPropertySourceLink rollupPropertySourceLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.CreateRollupPropertySourceLink(parent, rollupPropertySourceLink);
CreateRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateRollupPropertySourceLinkRequest request = new CreateRollupPropertySourceLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
RollupPropertySourceLink = new RollupPropertySourceLink(),
};
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(request);
CreateRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest, CancellationToken)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateRollupPropertySourceLinkRequest request = new CreateRollupPropertySourceLinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
RollupPropertySourceLink = new RollupPropertySourceLink(),
};
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(request);
CreateRollupPropertySourceLinkAsync(PropertyName, RollupPropertySourceLink, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(PropertyName parent, RollupPropertySourceLink rollupPropertySourceLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(parent, rollupPropertySourceLink);
CreateRollupPropertySourceLinkAsync(PropertyName, RollupPropertySourceLink, CancellationToken)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(PropertyName parent, RollupPropertySourceLink rollupPropertySourceLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(parent, rollupPropertySourceLink);
CreateRollupPropertySourceLinkAsync(string, RollupPropertySourceLink, CallSettings)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(string parent, RollupPropertySourceLink rollupPropertySourceLink, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(parent, rollupPropertySourceLink);
CreateRollupPropertySourceLinkAsync(string, RollupPropertySourceLink, CancellationToken)
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> CreateRollupPropertySourceLinkAsync(string parent, RollupPropertySourceLink rollupPropertySourceLink, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
RollupPropertySourceLink | rollupPropertySourceLink | Required. The roll-up property source link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
RollupPropertySourceLink rollupPropertySourceLink = new RollupPropertySourceLink();
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.CreateRollupPropertySourceLinkAsync(parent, rollupPropertySourceLink);
CreateSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema CreateSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateSKAdNetworkConversionValueSchemaRequest request = new CreateSKAdNetworkConversionValueSchemaRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
};
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchema(request);
CreateSKAdNetworkConversionValueSchema(DataStreamName, SKAdNetworkConversionValueSchema, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema CreateSKAdNetworkConversionValueSchema(DataStreamName parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchema(parent, skadnetworkConversionValueSchema);
CreateSKAdNetworkConversionValueSchema(string, SKAdNetworkConversionValueSchema, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema CreateSKAdNetworkConversionValueSchema(string parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchema(parent, skadnetworkConversionValueSchema);
CreateSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSKAdNetworkConversionValueSchemaRequest request = new CreateSKAdNetworkConversionValueSchemaRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(request);
CreateSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest, CancellationToken)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSKAdNetworkConversionValueSchemaRequest request = new CreateSKAdNetworkConversionValueSchemaRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(request);
CreateSKAdNetworkConversionValueSchemaAsync(DataStreamName, SKAdNetworkConversionValueSchema, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(DataStreamName parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(parent, skadnetworkConversionValueSchema);
CreateSKAdNetworkConversionValueSchemaAsync(DataStreamName, SKAdNetworkConversionValueSchema, CancellationToken)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(DataStreamName parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(parent, skadnetworkConversionValueSchema);
CreateSKAdNetworkConversionValueSchemaAsync(string, SKAdNetworkConversionValueSchema, CallSettings)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(string parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(parent, skadnetworkConversionValueSchema);
CreateSKAdNetworkConversionValueSchemaAsync(string, SKAdNetworkConversionValueSchema, CancellationToken)
Creates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> CreateSKAdNetworkConversionValueSchemaAsync(string parent, SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream} |
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.CreateSKAdNetworkConversionValueSchemaAsync(parent, skadnetworkConversionValueSchema);
CreateSearchAds360Link(CreateSearchAds360LinkRequest, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual SearchAds360Link CreateSearchAds360Link(CreateSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateSearchAds360LinkRequest request = new CreateSearchAds360LinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SearchAds360Link = new SearchAds360Link(),
};
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.CreateSearchAds360Link(request);
CreateSearchAds360Link(PropertyName, SearchAds360Link, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual SearchAds360Link CreateSearchAds360Link(PropertyName parent, SearchAds360Link searchAds360Link, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.CreateSearchAds360Link(parent, searchAds360Link);
CreateSearchAds360Link(string, SearchAds360Link, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual SearchAds360Link CreateSearchAds360Link(string parent, SearchAds360Link searchAds360Link, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.CreateSearchAds360Link(parent, searchAds360Link);
CreateSearchAds360LinkAsync(CreateSearchAds360LinkRequest, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(CreateSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSearchAds360LinkRequest request = new CreateSearchAds360LinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SearchAds360Link = new SearchAds360Link(),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(request);
CreateSearchAds360LinkAsync(CreateSearchAds360LinkRequest, CancellationToken)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(CreateSearchAds360LinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSearchAds360LinkRequest request = new CreateSearchAds360LinkRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SearchAds360Link = new SearchAds360Link(),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(request);
CreateSearchAds360LinkAsync(PropertyName, SearchAds360Link, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(PropertyName parent, SearchAds360Link searchAds360Link, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(parent, searchAds360Link);
CreateSearchAds360LinkAsync(PropertyName, SearchAds360Link, CancellationToken)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(PropertyName parent, SearchAds360Link searchAds360Link, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(parent, searchAds360Link);
CreateSearchAds360LinkAsync(string, SearchAds360Link, CallSettings)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(string parent, SearchAds360Link searchAds360Link, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(parent, searchAds360Link);
CreateSearchAds360LinkAsync(string, SearchAds360Link, CancellationToken)
Creates a SearchAds360Link.
Declaration
public virtual Task<SearchAds360Link> CreateSearchAds360LinkAsync(string parent, SearchAds360Link searchAds360Link, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
SearchAds360Link | searchAds360Link | Required. The SearchAds360Link to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SearchAds360Link searchAds360Link = new SearchAds360Link();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.CreateSearchAds360LinkAsync(parent, searchAds360Link);
CreateSubpropertyEventFilter(CreateSubpropertyEventFilterRequest, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter CreateSubpropertyEventFilter(CreateSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CreateSubpropertyEventFilterRequest request = new CreateSubpropertyEventFilterRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.CreateSubpropertyEventFilter(request);
CreateSubpropertyEventFilter(PropertyName, SubpropertyEventFilter, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter CreateSubpropertyEventFilter(PropertyName parent, SubpropertyEventFilter subpropertyEventFilter, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.CreateSubpropertyEventFilter(parent, subpropertyEventFilter);
CreateSubpropertyEventFilter(string, SubpropertyEventFilter, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter CreateSubpropertyEventFilter(string parent, SubpropertyEventFilter subpropertyEventFilter, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.CreateSubpropertyEventFilter(parent, subpropertyEventFilter);
CreateSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSubpropertyEventFilterRequest request = new CreateSubpropertyEventFilterRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(request);
CreateSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest, CancellationToken)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSubpropertyEventFilterRequest request = new CreateSubpropertyEventFilterRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(request);
CreateSubpropertyEventFilterAsync(PropertyName, SubpropertyEventFilter, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(PropertyName parent, SubpropertyEventFilter subpropertyEventFilter, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(parent, subpropertyEventFilter);
CreateSubpropertyEventFilterAsync(PropertyName, SubpropertyEventFilter, CancellationToken)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(PropertyName parent, SubpropertyEventFilter subpropertyEventFilter, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(parent, subpropertyEventFilter);
CreateSubpropertyEventFilterAsync(string, SubpropertyEventFilter, CallSettings)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(string parent, SubpropertyEventFilter subpropertyEventFilter, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(parent, subpropertyEventFilter);
CreateSubpropertyEventFilterAsync(string, SubpropertyEventFilter, CancellationToken)
Creates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> CreateSubpropertyEventFilterAsync(string parent, SubpropertyEventFilter subpropertyEventFilter, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 |
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to create. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.CreateSubpropertyEventFilterAsync(parent, subpropertyEventFilter);
DeleteAccessBinding(AccessBindingName, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual void DeleteAccessBinding(AccessBindingName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
analyticsAdminServiceClient.DeleteAccessBinding(name);
DeleteAccessBinding(DeleteAccessBindingRequest, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual void DeleteAccessBinding(DeleteAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteAccessBindingRequest request = new DeleteAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
analyticsAdminServiceClient.DeleteAccessBinding(request);
DeleteAccessBinding(string, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual void DeleteAccessBinding(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
analyticsAdminServiceClient.DeleteAccessBinding(name);
DeleteAccessBindingAsync(AccessBindingName, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(AccessBindingName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(name);
DeleteAccessBindingAsync(AccessBindingName, CancellationToken)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(AccessBindingName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. Formats:
|
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(name);
DeleteAccessBindingAsync(DeleteAccessBindingRequest, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(DeleteAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAccessBindingRequest request = new DeleteAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(request);
DeleteAccessBindingAsync(DeleteAccessBindingRequest, CancellationToken)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(DeleteAccessBindingRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAccessBindingRequest request = new DeleteAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(request);
DeleteAccessBindingAsync(string, CallSettings)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(name);
DeleteAccessBindingAsync(string, CancellationToken)
Deletes an access binding on an account or property.
Declaration
public virtual Task DeleteAccessBindingAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Formats:
|
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
await analyticsAdminServiceClient.DeleteAccessBindingAsync(name);
DeleteAccount(AccountName, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual void DeleteAccount(AccountName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
analyticsAdminServiceClient.DeleteAccount(name);
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteAccountRequest request = new DeleteAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
analyticsAdminServiceClient.DeleteAccount(request);
DeleteAccount(string, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual void DeleteAccount(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
analyticsAdminServiceClient.DeleteAccount(name);
DeleteAccountAsync(AccountName, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task DeleteAccountAsync(AccountName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(name);
DeleteAccountAsync(AccountName, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task DeleteAccountAsync(AccountName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(name);
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAccountRequest request = new DeleteAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(request);
DeleteAccountAsync(DeleteAccountRequest, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task DeleteAccountAsync(DeleteAccountRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteAccountRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAccountRequest request = new DeleteAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(request);
DeleteAccountAsync(string, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task DeleteAccountAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(name);
DeleteAccountAsync(string, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found.
Declaration
public virtual Task DeleteAccountAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
await analyticsAdminServiceClient.DeleteAccountAsync(name);
DeleteAdSenseLink(AdSenseLinkName, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual void DeleteAdSenseLink(AdSenseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteAdSenseLink(name);
DeleteAdSenseLink(DeleteAdSenseLinkRequest, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual void DeleteAdSenseLink(DeleteAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteAdSenseLinkRequest request = new DeleteAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteAdSenseLink(request);
DeleteAdSenseLink(string, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual void DeleteAdSenseLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteAdSenseLink(name);
DeleteAdSenseLinkAsync(AdSenseLinkName, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(AdSenseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(name);
DeleteAdSenseLinkAsync(AdSenseLinkName, CancellationToken)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(AdSenseLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(name);
DeleteAdSenseLinkAsync(DeleteAdSenseLinkRequest, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(DeleteAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAdSenseLinkRequest request = new DeleteAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(request);
DeleteAdSenseLinkAsync(DeleteAdSenseLinkRequest, CancellationToken)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(DeleteAdSenseLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteAdSenseLinkRequest request = new DeleteAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(request);
DeleteAdSenseLinkAsync(string, CallSettings)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(name);
DeleteAdSenseLinkAsync(string, CancellationToken)
Deletes an AdSenseLink.
Declaration
public virtual Task DeleteAdSenseLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteAdSenseLinkAsync(name);
DeleteBigQueryLink(BigQueryLinkName, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual void DeleteBigQueryLink(BigQueryLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteBigQueryLink(name);
DeleteBigQueryLink(DeleteBigQueryLinkRequest, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual void DeleteBigQueryLink(DeleteBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteBigQueryLinkRequest request = new DeleteBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteBigQueryLink(request);
DeleteBigQueryLink(string, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual void DeleteBigQueryLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteBigQueryLink(name);
DeleteBigQueryLinkAsync(BigQueryLinkName, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(BigQueryLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(name);
DeleteBigQueryLinkAsync(BigQueryLinkName, CancellationToken)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(BigQueryLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(name);
DeleteBigQueryLinkAsync(DeleteBigQueryLinkRequest, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(DeleteBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteBigQueryLinkRequest request = new DeleteBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(request);
DeleteBigQueryLinkAsync(DeleteBigQueryLinkRequest, CancellationToken)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(DeleteBigQueryLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteBigQueryLinkRequest request = new DeleteBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(request);
DeleteBigQueryLinkAsync(string, CallSettings)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(name);
DeleteBigQueryLinkAsync(string, CancellationToken)
Deletes a BigQueryLink on a property.
Declaration
public virtual Task DeleteBigQueryLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteBigQueryLinkAsync(name);
DeleteCalculatedMetric(CalculatedMetricName, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual void DeleteCalculatedMetric(CalculatedMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
analyticsAdminServiceClient.DeleteCalculatedMetric(name);
DeleteCalculatedMetric(DeleteCalculatedMetricRequest, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual void DeleteCalculatedMetric(DeleteCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteCalculatedMetricRequest request = new DeleteCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
analyticsAdminServiceClient.DeleteCalculatedMetric(request);
DeleteCalculatedMetric(string, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual void DeleteCalculatedMetric(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
analyticsAdminServiceClient.DeleteCalculatedMetric(name);
DeleteCalculatedMetricAsync(CalculatedMetricName, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(CalculatedMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(name);
DeleteCalculatedMetricAsync(CalculatedMetricName, CancellationToken)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(CalculatedMetricName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(name);
DeleteCalculatedMetricAsync(DeleteCalculatedMetricRequest, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(DeleteCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCalculatedMetricRequest request = new DeleteCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(request);
DeleteCalculatedMetricAsync(DeleteCalculatedMetricRequest, CancellationToken)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(DeleteCalculatedMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCalculatedMetricRequest request = new DeleteCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(request);
DeleteCalculatedMetricAsync(string, CallSettings)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(name);
DeleteCalculatedMetricAsync(string, CancellationToken)
Deletes a CalculatedMetric on a property.
Declaration
public virtual Task DeleteCalculatedMetricAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
await analyticsAdminServiceClient.DeleteCalculatedMetricAsync(name);
DeleteChannelGroup(ChannelGroupName, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual void DeleteChannelGroup(ChannelGroupName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
analyticsAdminServiceClient.DeleteChannelGroup(name);
DeleteChannelGroup(DeleteChannelGroupRequest, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual void DeleteChannelGroup(DeleteChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteChannelGroupRequest request = new DeleteChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
analyticsAdminServiceClient.DeleteChannelGroup(request);
DeleteChannelGroup(string, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual void DeleteChannelGroup(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
analyticsAdminServiceClient.DeleteChannelGroup(name);
DeleteChannelGroupAsync(ChannelGroupName, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(ChannelGroupName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(name);
DeleteChannelGroupAsync(ChannelGroupName, CancellationToken)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(ChannelGroupName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(name);
DeleteChannelGroupAsync(DeleteChannelGroupRequest, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(DeleteChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteChannelGroupRequest request = new DeleteChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(request);
DeleteChannelGroupAsync(DeleteChannelGroupRequest, CancellationToken)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(DeleteChannelGroupRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteChannelGroupRequest request = new DeleteChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(request);
DeleteChannelGroupAsync(string, CallSettings)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(name);
DeleteChannelGroupAsync(string, CancellationToken)
Deletes a ChannelGroup on a property.
Declaration
public virtual Task DeleteChannelGroupAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
await analyticsAdminServiceClient.DeleteChannelGroupAsync(name);
DeleteConnectedSiteTag(DeleteConnectedSiteTagRequest, CallSettings)
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
Declaration
public virtual void DeleteConnectedSiteTag(DeleteConnectedSiteTagRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteConnectedSiteTagRequest request = new DeleteConnectedSiteTagRequest
{
Property = "",
TagId = "",
};
// Make the request
analyticsAdminServiceClient.DeleteConnectedSiteTag(request);
DeleteConnectedSiteTagAsync(DeleteConnectedSiteTagRequest, CallSettings)
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
Declaration
public virtual Task DeleteConnectedSiteTagAsync(DeleteConnectedSiteTagRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteConnectedSiteTagRequest request = new DeleteConnectedSiteTagRequest
{
Property = "",
TagId = "",
};
// Make the request
await analyticsAdminServiceClient.DeleteConnectedSiteTagAsync(request);
DeleteConnectedSiteTagAsync(DeleteConnectedSiteTagRequest, CancellationToken)
Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
Declaration
public virtual Task DeleteConnectedSiteTagAsync(DeleteConnectedSiteTagRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteConnectedSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteConnectedSiteTagRequest request = new DeleteConnectedSiteTagRequest
{
Property = "",
TagId = "",
};
// Make the request
await analyticsAdminServiceClient.DeleteConnectedSiteTagAsync(request);
DeleteConversionEvent(ConversionEventName, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual void DeleteConversionEvent(ConversionEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
analyticsAdminServiceClient.DeleteConversionEvent(name);
#pragma warning restore CS0612
DeleteConversionEvent(DeleteConversionEventRequest, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual void DeleteConversionEvent(DeleteConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteConversionEventRequest request = new DeleteConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
analyticsAdminServiceClient.DeleteConversionEvent(request);
#pragma warning restore CS0612
DeleteConversionEvent(string, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual void DeleteConversionEvent(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
analyticsAdminServiceClient.DeleteConversionEvent(name);
#pragma warning restore CS0612
DeleteConversionEventAsync(ConversionEventName, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(ConversionEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(name);
#pragma warning restore CS0612
DeleteConversionEventAsync(ConversionEventName, CancellationToken)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(ConversionEventName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(name);
#pragma warning restore CS0612
DeleteConversionEventAsync(DeleteConversionEventRequest, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(DeleteConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteConversionEventRequest request = new DeleteConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(request);
#pragma warning restore CS0612
DeleteConversionEventAsync(DeleteConversionEventRequest, CancellationToken)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(DeleteConversionEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteConversionEventRequest request = new DeleteConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(request);
#pragma warning restore CS0612
DeleteConversionEventAsync(string, CallSettings)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(name);
#pragma warning restore CS0612
DeleteConversionEventAsync(string, CancellationToken)
Deprecated: Use DeleteKeyEvent
instead.
Deletes a conversion event in a property.
Declaration
[Obsolete]
public virtual Task DeleteConversionEventAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
await analyticsAdminServiceClient.DeleteConversionEventAsync(name);
#pragma warning restore CS0612
DeleteDataStream(DataStreamName, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual void DeleteDataStream(DataStreamName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
analyticsAdminServiceClient.DeleteDataStream(name);
DeleteDataStream(DeleteDataStreamRequest, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual void DeleteDataStream(DeleteDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteDataStreamRequest request = new DeleteDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
analyticsAdminServiceClient.DeleteDataStream(request);
DeleteDataStream(string, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual void DeleteDataStream(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
analyticsAdminServiceClient.DeleteDataStream(name);
DeleteDataStreamAsync(DataStreamName, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(DataStreamName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(name);
DeleteDataStreamAsync(DataStreamName, CancellationToken)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(DataStreamName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(name);
DeleteDataStreamAsync(DeleteDataStreamRequest, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(DeleteDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDataStreamRequest request = new DeleteDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(request);
DeleteDataStreamAsync(DeleteDataStreamRequest, CancellationToken)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(DeleteDataStreamRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDataStreamRequest request = new DeleteDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(request);
DeleteDataStreamAsync(string, CallSettings)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(name);
DeleteDataStreamAsync(string, CancellationToken)
Deletes a DataStream on a property.
Declaration
public virtual Task DeleteDataStreamAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
await analyticsAdminServiceClient.DeleteDataStreamAsync(name);
DeleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkRequest request = new DeleteDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLink(request);
DeleteDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLink(name);
DeleteDisplayVideo360AdvertiserLink(string, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLink(name);
DeleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkRequest request = new DeleteDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(request);
DeleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest, CancellationToken)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkRequest request = new DeleteDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(request);
DeleteDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(name);
DeleteDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName, CancellationToken)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(name);
DeleteDisplayVideo360AdvertiserLinkAsync(string, CallSettings)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(name);
DeleteDisplayVideo360AdvertiserLinkAsync(string, CancellationToken)
Deletes a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkAsync(name);
DeleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkProposalRequest request = new DeleteDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposal(request);
DeleteDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposal(name);
DeleteDisplayVideo360AdvertiserLinkProposal(string, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual void DeleteDisplayVideo360AdvertiserLinkProposal(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposal(name);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkProposalRequest request = new DeleteDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(request);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest, CancellationToken)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteDisplayVideo360AdvertiserLinkProposalRequest request = new DeleteDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(request);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(name);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName, CancellationToken)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(name);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(string, CallSettings)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(name);
DeleteDisplayVideo360AdvertiserLinkProposalAsync(string, CancellationToken)
Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
Declaration
public virtual Task DeleteDisplayVideo360AdvertiserLinkProposalAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
await analyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalAsync(name);
DeleteEventCreateRule(DeleteEventCreateRuleRequest, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual void DeleteEventCreateRule(DeleteEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteEventCreateRuleRequest request = new DeleteEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
analyticsAdminServiceClient.DeleteEventCreateRule(request);
DeleteEventCreateRule(EventCreateRuleName, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual void DeleteEventCreateRule(EventCreateRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
analyticsAdminServiceClient.DeleteEventCreateRule(name);
DeleteEventCreateRule(string, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual void DeleteEventCreateRule(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
analyticsAdminServiceClient.DeleteEventCreateRule(name);
DeleteEventCreateRuleAsync(DeleteEventCreateRuleRequest, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(DeleteEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEventCreateRuleRequest request = new DeleteEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(request);
DeleteEventCreateRuleAsync(DeleteEventCreateRuleRequest, CancellationToken)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(DeleteEventCreateRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEventCreateRuleRequest request = new DeleteEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(request);
DeleteEventCreateRuleAsync(EventCreateRuleName, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(EventCreateRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(name);
DeleteEventCreateRuleAsync(EventCreateRuleName, CancellationToken)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(EventCreateRuleName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(name);
DeleteEventCreateRuleAsync(string, CallSettings)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(name);
DeleteEventCreateRuleAsync(string, CancellationToken)
Deletes an EventCreateRule.
Declaration
public virtual Task DeleteEventCreateRuleAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
await analyticsAdminServiceClient.DeleteEventCreateRuleAsync(name);
DeleteEventEditRule(DeleteEventEditRuleRequest, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual void DeleteEventEditRule(DeleteEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteEventEditRuleRequest request = new DeleteEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
analyticsAdminServiceClient.DeleteEventEditRule(request);
DeleteEventEditRule(EventEditRuleName, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual void DeleteEventEditRule(EventEditRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
analyticsAdminServiceClient.DeleteEventEditRule(name);
DeleteEventEditRule(string, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual void DeleteEventEditRule(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
analyticsAdminServiceClient.DeleteEventEditRule(name);
DeleteEventEditRuleAsync(DeleteEventEditRuleRequest, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(DeleteEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEventEditRuleRequest request = new DeleteEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(request);
DeleteEventEditRuleAsync(DeleteEventEditRuleRequest, CancellationToken)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(DeleteEventEditRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteEventEditRuleRequest request = new DeleteEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(request);
DeleteEventEditRuleAsync(EventEditRuleName, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(EventEditRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(name);
DeleteEventEditRuleAsync(EventEditRuleName, CancellationToken)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(EventEditRuleName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(name);
DeleteEventEditRuleAsync(string, CallSettings)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(name);
DeleteEventEditRuleAsync(string, CancellationToken)
Deletes an EventEditRule.
Declaration
public virtual Task DeleteEventEditRuleAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
await analyticsAdminServiceClient.DeleteEventEditRuleAsync(name);
DeleteExpandedDataSet(DeleteExpandedDataSetRequest, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual void DeleteExpandedDataSet(DeleteExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteExpandedDataSetRequest request = new DeleteExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
analyticsAdminServiceClient.DeleteExpandedDataSet(request);
DeleteExpandedDataSet(ExpandedDataSetName, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual void DeleteExpandedDataSet(ExpandedDataSetName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
analyticsAdminServiceClient.DeleteExpandedDataSet(name);
DeleteExpandedDataSet(string, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual void DeleteExpandedDataSet(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
analyticsAdminServiceClient.DeleteExpandedDataSet(name);
DeleteExpandedDataSetAsync(DeleteExpandedDataSetRequest, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(DeleteExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteExpandedDataSetRequest request = new DeleteExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(request);
DeleteExpandedDataSetAsync(DeleteExpandedDataSetRequest, CancellationToken)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(DeleteExpandedDataSetRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteExpandedDataSetRequest request = new DeleteExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(request);
DeleteExpandedDataSetAsync(ExpandedDataSetName, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(ExpandedDataSetName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(name);
DeleteExpandedDataSetAsync(ExpandedDataSetName, CancellationToken)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(ExpandedDataSetName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(name);
DeleteExpandedDataSetAsync(string, CallSettings)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(name);
DeleteExpandedDataSetAsync(string, CancellationToken)
Deletes a ExpandedDataSet on a property.
Declaration
public virtual Task DeleteExpandedDataSetAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/expandedDataSets/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
await analyticsAdminServiceClient.DeleteExpandedDataSetAsync(name);
DeleteFirebaseLink(DeleteFirebaseLinkRequest, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteFirebaseLinkRequest request = new DeleteFirebaseLinkRequest
{
FirebaseLinkName = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteFirebaseLink(request);
DeleteFirebaseLink(FirebaseLinkName, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual void DeleteFirebaseLink(FirebaseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FirebaseLinkName | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
FirebaseLinkName name = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteFirebaseLink(name);
DeleteFirebaseLink(string, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual void DeleteFirebaseLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/firebaseLinks/[FIREBASE_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteFirebaseLink(name);
DeleteFirebaseLinkAsync(DeleteFirebaseLinkRequest, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFirebaseLinkRequest request = new DeleteFirebaseLinkRequest
{
FirebaseLinkName = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(request);
DeleteFirebaseLinkAsync(DeleteFirebaseLinkRequest, CancellationToken)
Deletes a FirebaseLink on a property
Declaration
public virtual Task DeleteFirebaseLinkAsync(DeleteFirebaseLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteFirebaseLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteFirebaseLinkRequest request = new DeleteFirebaseLinkRequest
{
FirebaseLinkName = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(request);
DeleteFirebaseLinkAsync(FirebaseLinkName, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual Task DeleteFirebaseLinkAsync(FirebaseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FirebaseLinkName | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FirebaseLinkName name = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(name);
DeleteFirebaseLinkAsync(FirebaseLinkName, CancellationToken)
Deletes a FirebaseLink on a property
Declaration
public virtual Task DeleteFirebaseLinkAsync(FirebaseLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FirebaseLinkName | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FirebaseLinkName name = FirebaseLinkName.FromPropertyFirebaseLink("[PROPERTY]", "[FIREBASE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(name);
DeleteFirebaseLinkAsync(string, CallSettings)
Deletes a FirebaseLink on a property
Declaration
public virtual Task DeleteFirebaseLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/firebaseLinks/[FIREBASE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(name);
DeleteFirebaseLinkAsync(string, CancellationToken)
Deletes a FirebaseLink on a property
Declaration
public virtual Task DeleteFirebaseLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/firebaseLinks/[FIREBASE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteFirebaseLinkAsync(name);
DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteGoogleAdsLinkRequest request = new DeleteGoogleAdsLinkRequest
{
GoogleAdsLinkName = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteGoogleAdsLink(request);
DeleteGoogleAdsLink(GoogleAdsLinkName, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual void DeleteGoogleAdsLink(GoogleAdsLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLinkName | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GoogleAdsLinkName name = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteGoogleAdsLink(name);
DeleteGoogleAdsLink(string, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual void DeleteGoogleAdsLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleAdsLinks/[GOOGLE_ADS_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteGoogleAdsLink(name);
DeleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteGoogleAdsLinkRequest request = new DeleteGoogleAdsLinkRequest
{
GoogleAdsLinkName = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(request);
DeleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest, CancellationToken)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task DeleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteGoogleAdsLinkRequest request = new DeleteGoogleAdsLinkRequest
{
GoogleAdsLinkName = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(request);
DeleteGoogleAdsLinkAsync(GoogleAdsLinkName, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task DeleteGoogleAdsLinkAsync(GoogleAdsLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLinkName | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleAdsLinkName name = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(name);
DeleteGoogleAdsLinkAsync(GoogleAdsLinkName, CancellationToken)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task DeleteGoogleAdsLinkAsync(GoogleAdsLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLinkName | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleAdsLinkName name = GoogleAdsLinkName.FromPropertyGoogleAdsLink("[PROPERTY]", "[GOOGLE_ADS_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(name);
DeleteGoogleAdsLinkAsync(string, CallSettings)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task DeleteGoogleAdsLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleAdsLinks/[GOOGLE_ADS_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(name);
DeleteGoogleAdsLinkAsync(string, CancellationToken)
Deletes a GoogleAdsLink on a property
Declaration
public virtual Task DeleteGoogleAdsLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Example format: properties/1234/googleAdsLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleAdsLinks/[GOOGLE_ADS_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteGoogleAdsLinkAsync(name);
DeleteKeyEvent(DeleteKeyEventRequest, CallSettings)
Deletes a Key Event.
Declaration
public virtual void DeleteKeyEvent(DeleteKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteKeyEventRequest request = new DeleteKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
analyticsAdminServiceClient.DeleteKeyEvent(request);
DeleteKeyEvent(KeyEventName, CallSettings)
Deletes a Key Event.
Declaration
public virtual void DeleteKeyEvent(KeyEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
analyticsAdminServiceClient.DeleteKeyEvent(name);
DeleteKeyEvent(string, CallSettings)
Deletes a Key Event.
Declaration
public virtual void DeleteKeyEvent(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
analyticsAdminServiceClient.DeleteKeyEvent(name);
DeleteKeyEventAsync(DeleteKeyEventRequest, CallSettings)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(DeleteKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteKeyEventRequest request = new DeleteKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(request);
DeleteKeyEventAsync(DeleteKeyEventRequest, CancellationToken)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(DeleteKeyEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteKeyEventRequest request = new DeleteKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(request);
DeleteKeyEventAsync(KeyEventName, CallSettings)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(KeyEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(name);
DeleteKeyEventAsync(KeyEventName, CancellationToken)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(KeyEventName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(name);
DeleteKeyEventAsync(string, CallSettings)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(name);
DeleteKeyEventAsync(string, CancellationToken)
Deletes a Key Event.
Declaration
public virtual Task DeleteKeyEventAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
await analyticsAdminServiceClient.DeleteKeyEventAsync(name);
DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual void DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteMeasurementProtocolSecretRequest request = new DeleteMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
analyticsAdminServiceClient.DeleteMeasurementProtocolSecret(request);
DeleteMeasurementProtocolSecret(MeasurementProtocolSecretName, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual void DeleteMeasurementProtocolSecret(MeasurementProtocolSecretName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
analyticsAdminServiceClient.DeleteMeasurementProtocolSecret(name);
DeleteMeasurementProtocolSecret(string, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual void DeleteMeasurementProtocolSecret(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
analyticsAdminServiceClient.DeleteMeasurementProtocolSecret(name);
DeleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteMeasurementProtocolSecretRequest request = new DeleteMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(request);
DeleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest, CancellationToken)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteMeasurementProtocolSecretRequest request = new DeleteMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(request);
DeleteMeasurementProtocolSecretAsync(MeasurementProtocolSecretName, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(MeasurementProtocolSecretName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(name);
DeleteMeasurementProtocolSecretAsync(MeasurementProtocolSecretName, CancellationToken)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(MeasurementProtocolSecretName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(name);
DeleteMeasurementProtocolSecretAsync(string, CallSettings)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(name);
DeleteMeasurementProtocolSecretAsync(string, CancellationToken)
Deletes target MeasurementProtocolSecret.
Declaration
public virtual Task DeleteMeasurementProtocolSecretAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
await analyticsAdminServiceClient.DeleteMeasurementProtocolSecretAsync(name);
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Property DeleteProperty(DeletePropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeletePropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeletePropertyRequest request = new DeletePropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = analyticsAdminServiceClient.DeleteProperty(request);
DeleteProperty(PropertyName, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Property DeleteProperty(PropertyName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = analyticsAdminServiceClient.DeleteProperty(name);
DeleteProperty(string, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Property DeleteProperty(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = analyticsAdminServiceClient.DeleteProperty(name);
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(DeletePropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeletePropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeletePropertyRequest request = new DeletePropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(request);
DeletePropertyAsync(DeletePropertyRequest, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(DeletePropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeletePropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeletePropertyRequest request = new DeletePropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(request);
DeletePropertyAsync(PropertyName, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(PropertyName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(name);
DeletePropertyAsync(PropertyName, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(PropertyName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(name);
DeletePropertyAsync(string, 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(name);
DeletePropertyAsync(string, CancellationToken)
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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772
Returns an error if the target is not found, or is not a GA4 Property.
Declaration
public virtual Task<Property> DeletePropertyAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = await analyticsAdminServiceClient.DeletePropertyAsync(name);
DeleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual void DeleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteRollupPropertySourceLinkRequest request = new DeleteRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteRollupPropertySourceLink(request);
DeleteRollupPropertySourceLink(RollupPropertySourceLinkName, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual void DeleteRollupPropertySourceLink(RollupPropertySourceLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteRollupPropertySourceLink(name);
DeleteRollupPropertySourceLink(string, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual void DeleteRollupPropertySourceLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteRollupPropertySourceLink(name);
DeleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteRollupPropertySourceLinkRequest request = new DeleteRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(request);
DeleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest, CancellationToken)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteRollupPropertySourceLinkRequest request = new DeleteRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(request);
DeleteRollupPropertySourceLinkAsync(RollupPropertySourceLinkName, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(RollupPropertySourceLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(name);
DeleteRollupPropertySourceLinkAsync(RollupPropertySourceLinkName, CancellationToken)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(RollupPropertySourceLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(name);
DeleteRollupPropertySourceLinkAsync(string, CallSettings)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(name);
DeleteRollupPropertySourceLinkAsync(string, CancellationToken)
Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task DeleteRollupPropertySourceLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteRollupPropertySourceLinkAsync(name);
DeleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual void DeleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteSKAdNetworkConversionValueSchemaRequest request = new DeleteSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchema(request);
DeleteSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual void DeleteSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchema(name);
DeleteSKAdNetworkConversionValueSchema(string, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual void DeleteSKAdNetworkConversionValueSchema(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchema(name);
DeleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSKAdNetworkConversionValueSchemaRequest request = new DeleteSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(request);
DeleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest, CancellationToken)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSKAdNetworkConversionValueSchemaRequest request = new DeleteSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(request);
DeleteSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(name);
DeleteSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName, CancellationToken)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(name);
DeleteSKAdNetworkConversionValueSchemaAsync(string, CallSettings)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(name);
DeleteSKAdNetworkConversionValueSchemaAsync(string, CancellationToken)
Deletes target SKAdNetworkConversionValueSchema.
Declaration
public virtual Task DeleteSKAdNetworkConversionValueSchemaAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
await analyticsAdminServiceClient.DeleteSKAdNetworkConversionValueSchemaAsync(name);
DeleteSearchAds360Link(DeleteSearchAds360LinkRequest, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual void DeleteSearchAds360Link(DeleteSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteSearchAds360LinkRequest request = new DeleteSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
analyticsAdminServiceClient.DeleteSearchAds360Link(request);
DeleteSearchAds360Link(SearchAds360LinkName, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual void DeleteSearchAds360Link(SearchAds360LinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
analyticsAdminServiceClient.DeleteSearchAds360Link(name);
DeleteSearchAds360Link(string, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual void DeleteSearchAds360Link(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
analyticsAdminServiceClient.DeleteSearchAds360Link(name);
DeleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSearchAds360LinkRequest request = new DeleteSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(request);
DeleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest, CancellationToken)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSearchAds360LinkRequest request = new DeleteSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(request);
DeleteSearchAds360LinkAsync(SearchAds360LinkName, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(SearchAds360LinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(name);
DeleteSearchAds360LinkAsync(SearchAds360LinkName, CancellationToken)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(SearchAds360LinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(name);
DeleteSearchAds360LinkAsync(string, CallSettings)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(name);
DeleteSearchAds360LinkAsync(string, CancellationToken)
Deletes a SearchAds360Link on a property.
Declaration
public virtual Task DeleteSearchAds360LinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
await analyticsAdminServiceClient.DeleteSearchAds360LinkAsync(name);
DeleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual void DeleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DeleteSubpropertyEventFilterRequest request = new DeleteSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
analyticsAdminServiceClient.DeleteSubpropertyEventFilter(request);
DeleteSubpropertyEventFilter(SubpropertyEventFilterName, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual void DeleteSubpropertyEventFilter(SubpropertyEventFilterName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
analyticsAdminServiceClient.DeleteSubpropertyEventFilter(name);
DeleteSubpropertyEventFilter(string, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual void DeleteSubpropertyEventFilter(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
analyticsAdminServiceClient.DeleteSubpropertyEventFilter(name);
DeleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSubpropertyEventFilterRequest request = new DeleteSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(request);
DeleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest, CancellationToken)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSubpropertyEventFilterRequest request = new DeleteSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(request);
DeleteSubpropertyEventFilterAsync(SubpropertyEventFilterName, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(SubpropertyEventFilterName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(name);
DeleteSubpropertyEventFilterAsync(SubpropertyEventFilterName, CancellationToken)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(SubpropertyEventFilterName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(name);
DeleteSubpropertyEventFilterAsync(string, CallSettings)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(name);
DeleteSubpropertyEventFilterAsync(string, CancellationToken)
Deletes a subproperty event filter.
Declaration
public virtual Task DeleteSubpropertyEventFilterAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
await analyticsAdminServiceClient.DeleteSubpropertyEventFilterAsync(name);
FetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest, CallSettings)
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual FetchAutomatedGa4ConfigurationOptOutResponse FetchAutomatedGa4ConfigurationOptOut(FetchAutomatedGa4ConfigurationOptOutRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FetchAutomatedGa4ConfigurationOptOutResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
FetchAutomatedGa4ConfigurationOptOutRequest request = new FetchAutomatedGa4ConfigurationOptOutRequest { Property = "", };
// Make the request
FetchAutomatedGa4ConfigurationOptOutResponse response = analyticsAdminServiceClient.FetchAutomatedGa4ConfigurationOptOut(request);
FetchAutomatedGa4ConfigurationOptOutAsync(FetchAutomatedGa4ConfigurationOptOutRequest, CallSettings)
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual Task<FetchAutomatedGa4ConfigurationOptOutResponse> FetchAutomatedGa4ConfigurationOptOutAsync(FetchAutomatedGa4ConfigurationOptOutRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FetchAutomatedGa4ConfigurationOptOutResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FetchAutomatedGa4ConfigurationOptOutRequest request = new FetchAutomatedGa4ConfigurationOptOutRequest { Property = "", };
// Make the request
FetchAutomatedGa4ConfigurationOptOutResponse response = await analyticsAdminServiceClient.FetchAutomatedGa4ConfigurationOptOutAsync(request);
FetchAutomatedGa4ConfigurationOptOutAsync(FetchAutomatedGa4ConfigurationOptOutRequest, CancellationToken)
Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual Task<FetchAutomatedGa4ConfigurationOptOutResponse> FetchAutomatedGa4ConfigurationOptOutAsync(FetchAutomatedGa4ConfigurationOptOutRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FetchAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<FetchAutomatedGa4ConfigurationOptOutResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FetchAutomatedGa4ConfigurationOptOutRequest request = new FetchAutomatedGa4ConfigurationOptOutRequest { Property = "", };
// Make the request
FetchAutomatedGa4ConfigurationOptOutResponse response = await analyticsAdminServiceClient.FetchAutomatedGa4ConfigurationOptOutAsync(request);
FetchConnectedGa4Property(FetchConnectedGa4PropertyRequest, CallSettings)
Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
Declaration
public virtual FetchConnectedGa4PropertyResponse FetchConnectedGa4Property(FetchConnectedGa4PropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchConnectedGa4PropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
FetchConnectedGa4PropertyResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
FetchConnectedGa4PropertyRequest request = new FetchConnectedGa4PropertyRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
FetchConnectedGa4PropertyResponse response = analyticsAdminServiceClient.FetchConnectedGa4Property(request);
FetchConnectedGa4PropertyAsync(FetchConnectedGa4PropertyRequest, CallSettings)
Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
Declaration
public virtual Task<FetchConnectedGa4PropertyResponse> FetchConnectedGa4PropertyAsync(FetchConnectedGa4PropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchConnectedGa4PropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<FetchConnectedGa4PropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FetchConnectedGa4PropertyRequest request = new FetchConnectedGa4PropertyRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
FetchConnectedGa4PropertyResponse response = await analyticsAdminServiceClient.FetchConnectedGa4PropertyAsync(request);
FetchConnectedGa4PropertyAsync(FetchConnectedGa4PropertyRequest, CancellationToken)
Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
Declaration
public virtual Task<FetchConnectedGa4PropertyResponse> FetchConnectedGa4PropertyAsync(FetchConnectedGa4PropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FetchConnectedGa4PropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<FetchConnectedGa4PropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
FetchConnectedGa4PropertyRequest request = new FetchConnectedGa4PropertyRequest
{
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
FetchConnectedGa4PropertyResponse response = await analyticsAdminServiceClient.FetchConnectedGa4PropertyAsync(request);
GetAccessBinding(AccessBindingName, CallSettings)
Gets information about an access binding.
Declaration
public virtual AccessBinding GetAccessBinding(AccessBindingName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. The name of the access binding to retrieve. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
AccessBinding response = analyticsAdminServiceClient.GetAccessBinding(name);
GetAccessBinding(GetAccessBindingRequest, CallSettings)
Gets information about an access binding.
Declaration
public virtual AccessBinding GetAccessBinding(GetAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetAccessBindingRequest request = new GetAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
AccessBinding response = analyticsAdminServiceClient.GetAccessBinding(request);
GetAccessBinding(string, CallSettings)
Gets information about an access binding.
Declaration
public virtual AccessBinding GetAccessBinding(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the access binding to retrieve. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
AccessBinding response = analyticsAdminServiceClient.GetAccessBinding(name);
GetAccessBindingAsync(AccessBindingName, CallSettings)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(AccessBindingName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. The name of the access binding to retrieve. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(name);
GetAccessBindingAsync(AccessBindingName, CancellationToken)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(AccessBindingName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccessBindingName | name | Required. The name of the access binding to retrieve. Formats:
|
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBindingName name = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]");
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(name);
GetAccessBindingAsync(GetAccessBindingRequest, CallSettings)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(GetAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAccessBindingRequest request = new GetAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(request);
GetAccessBindingAsync(GetAccessBindingRequest, CancellationToken)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(GetAccessBindingRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAccessBindingRequest request = new GetAccessBindingRequest
{
AccessBindingName = AccessBindingName.FromAccountAccessBinding("[ACCOUNT]", "[ACCESS_BINDING]"),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(request);
GetAccessBindingAsync(string, CallSettings)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the access binding to retrieve. Formats:
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(name);
GetAccessBindingAsync(string, CancellationToken)
Gets information about an access binding.
Declaration
public virtual Task<AccessBinding> GetAccessBindingAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the access binding to retrieve. Formats:
|
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/accessBindings/[ACCESS_BINDING]";
// Make the request
AccessBinding response = await analyticsAdminServiceClient.GetAccessBindingAsync(name);
GetAccount(AccountName, CallSettings)
Lookup for a single Account.
Declaration
public virtual Account GetAccount(AccountName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Account | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
Account response = analyticsAdminServiceClient.GetAccount(name);
GetAccount(GetAccountRequest, CallSettings)
Lookup for a single Account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Account | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetAccountRequest request = new GetAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
Account response = analyticsAdminServiceClient.GetAccount(request);
GetAccount(string, CallSettings)
Lookup for a single Account.
Declaration
public virtual Account GetAccount(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Account | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
Account response = analyticsAdminServiceClient.GetAccount(name);
GetAccountAsync(AccountName, CallSettings)
Lookup for a single Account.
Declaration
public virtual Task<Account> GetAccountAsync(AccountName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(name);
GetAccountAsync(AccountName, CancellationToken)
Lookup for a single Account.
Declaration
public virtual Task<Account> GetAccountAsync(AccountName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccountName | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName name = AccountName.FromAccount("[ACCOUNT]");
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(name);
GetAccountAsync(GetAccountRequest, CallSettings)
Lookup for a single Account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAccountRequest request = new GetAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(request);
GetAccountAsync(GetAccountRequest, CancellationToken)
Lookup for a single Account.
Declaration
public virtual Task<Account> GetAccountAsync(GetAccountRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetAccountRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAccountRequest request = new GetAccountRequest
{
AccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(request);
GetAccountAsync(string, CallSettings)
Lookup for a single Account.
Declaration
public virtual Task<Account> GetAccountAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(name);
GetAccountAsync(string, CancellationToken)
Lookup for a single Account.
Declaration
public virtual Task<Account> GetAccountAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the account to lookup. Format: accounts/{account} Example: "accounts/100" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]";
// Make the request
Account response = await analyticsAdminServiceClient.GetAccountAsync(name);
GetAdSenseLink(AdSenseLinkName, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual AdSenseLink GetAdSenseLink(AdSenseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
AdSenseLink response = analyticsAdminServiceClient.GetAdSenseLink(name);
GetAdSenseLink(GetAdSenseLinkRequest, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual AdSenseLink GetAdSenseLink(GetAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetAdSenseLinkRequest request = new GetAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
AdSenseLink response = analyticsAdminServiceClient.GetAdSenseLink(request);
GetAdSenseLink(string, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual AdSenseLink GetAdSenseLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AdSenseLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
AdSenseLink response = analyticsAdminServiceClient.GetAdSenseLink(name);
GetAdSenseLinkAsync(AdSenseLinkName, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(AdSenseLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(name);
GetAdSenseLinkAsync(AdSenseLinkName, CancellationToken)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(AdSenseLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AdSenseLinkName | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AdSenseLinkName name = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]");
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(name);
GetAdSenseLinkAsync(GetAdSenseLinkRequest, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(GetAdSenseLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAdSenseLinkRequest request = new GetAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(request);
GetAdSenseLinkAsync(GetAdSenseLinkRequest, CancellationToken)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(GetAdSenseLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetAdSenseLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAdSenseLinkRequest request = new GetAdSenseLinkRequest
{
AdSenseLinkName = AdSenseLinkName.FromPropertyAdsenseLink("[PROPERTY]", "[ADSENSE_LINK]"),
};
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(request);
GetAdSenseLinkAsync(string, CallSettings)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(name);
GetAdSenseLinkAsync(string, CancellationToken)
Looks up a single AdSenseLink.
Declaration
public virtual Task<AdSenseLink> GetAdSenseLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AdSenseLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/adSenseLinks/[ADSENSE_LINK]";
// Make the request
AdSenseLink response = await analyticsAdminServiceClient.GetAdSenseLinkAsync(name);
GetAttributionSettings(AttributionSettingsName, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual AttributionSettings GetAttributionSettings(AttributionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettingsName | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AttributionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AttributionSettingsName name = AttributionSettingsName.FromProperty("[PROPERTY]");
// Make the request
AttributionSettings response = analyticsAdminServiceClient.GetAttributionSettings(name);
GetAttributionSettings(GetAttributionSettingsRequest, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual AttributionSettings GetAttributionSettings(GetAttributionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AttributionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetAttributionSettingsRequest request = new GetAttributionSettingsRequest
{
AttributionSettingsName = AttributionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
AttributionSettings response = analyticsAdminServiceClient.GetAttributionSettings(request);
GetAttributionSettings(string, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual AttributionSettings GetAttributionSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AttributionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/attributionSettings";
// Make the request
AttributionSettings response = analyticsAdminServiceClient.GetAttributionSettings(name);
GetAttributionSettingsAsync(AttributionSettingsName, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(AttributionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettingsName | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AttributionSettingsName name = AttributionSettingsName.FromProperty("[PROPERTY]");
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(name);
GetAttributionSettingsAsync(AttributionSettingsName, CancellationToken)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(AttributionSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettingsName | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AttributionSettingsName name = AttributionSettingsName.FromProperty("[PROPERTY]");
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(name);
GetAttributionSettingsAsync(GetAttributionSettingsRequest, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(GetAttributionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAttributionSettingsRequest request = new GetAttributionSettingsRequest
{
AttributionSettingsName = AttributionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(request);
GetAttributionSettingsAsync(GetAttributionSettingsRequest, CancellationToken)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(GetAttributionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAttributionSettingsRequest request = new GetAttributionSettingsRequest
{
AttributionSettingsName = AttributionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(request);
GetAttributionSettingsAsync(string, CallSettings)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/attributionSettings";
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(name);
GetAttributionSettingsAsync(string, CancellationToken)
Lookup for a AttributionSettings singleton.
Declaration
public virtual Task<AttributionSettings> GetAttributionSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/attributionSettings";
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.GetAttributionSettingsAsync(name);
GetAudience(AudienceName, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Audience GetAudience(AudienceName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AudienceName | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AudienceName name = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]");
// Make the request
Audience response = analyticsAdminServiceClient.GetAudience(name);
GetAudience(GetAudienceRequest, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Audience GetAudience(GetAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetAudienceRequest request = new GetAudienceRequest
{
AudienceName = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]"),
};
// Make the request
Audience response = analyticsAdminServiceClient.GetAudience(request);
GetAudience(string, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Audience GetAudience(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/audiences/[AUDIENCE]";
// Make the request
Audience response = analyticsAdminServiceClient.GetAudience(name);
GetAudienceAsync(AudienceName, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(AudienceName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AudienceName | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AudienceName name = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]");
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(name);
GetAudienceAsync(AudienceName, CancellationToken)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(AudienceName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AudienceName | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AudienceName name = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]");
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(name);
GetAudienceAsync(GetAudienceRequest, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(GetAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAudienceRequest request = new GetAudienceRequest
{
AudienceName = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]"),
};
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(request);
GetAudienceAsync(GetAudienceRequest, CancellationToken)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(GetAudienceRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetAudienceRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetAudienceRequest request = new GetAudienceRequest
{
AudienceName = AudienceName.FromPropertyAudience("[PROPERTY]", "[AUDIENCE]"),
};
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(request);
GetAudienceAsync(string, CallSettings)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/audiences/[AUDIENCE]";
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(name);
GetAudienceAsync(string, CancellationToken)
Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual Task<Audience> GetAudienceAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Audience to get. Example format: properties/1234/audiences/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/audiences/[AUDIENCE]";
// Make the request
Audience response = await analyticsAdminServiceClient.GetAudienceAsync(name);
GetBigQueryLink(BigQueryLinkName, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual BigQueryLink GetBigQueryLink(BigQueryLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
BigQueryLink response = analyticsAdminServiceClient.GetBigQueryLink(name);
GetBigQueryLink(GetBigQueryLinkRequest, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual BigQueryLink GetBigQueryLink(GetBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetBigQueryLinkRequest request = new GetBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
BigQueryLink response = analyticsAdminServiceClient.GetBigQueryLink(request);
GetBigQueryLink(string, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual BigQueryLink GetBigQueryLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
BigQueryLink response = analyticsAdminServiceClient.GetBigQueryLink(name);
GetBigQueryLinkAsync(BigQueryLinkName, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(BigQueryLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(name);
GetBigQueryLinkAsync(BigQueryLinkName, CancellationToken)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(BigQueryLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLinkName | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLinkName name = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]");
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(name);
GetBigQueryLinkAsync(GetBigQueryLinkRequest, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(GetBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetBigQueryLinkRequest request = new GetBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(request);
GetBigQueryLinkAsync(GetBigQueryLinkRequest, CancellationToken)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(GetBigQueryLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetBigQueryLinkRequest request = new GetBigQueryLinkRequest
{
BigQueryLinkName = BigQueryLinkName.FromPropertyBigqueryLink("[PROPERTY]", "[BIGQUERY_LINK]"),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(request);
GetBigQueryLinkAsync(string, CallSettings)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(name);
GetBigQueryLinkAsync(string, CancellationToken)
Lookup for a single BigQuery Link.
Declaration
public virtual Task<BigQueryLink> GetBigQueryLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/bigQueryLinks/[BIGQUERY_LINK]";
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.GetBigQueryLinkAsync(name);
GetCalculatedMetric(CalculatedMetricName, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual CalculatedMetric GetCalculatedMetric(CalculatedMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.GetCalculatedMetric(name);
GetCalculatedMetric(GetCalculatedMetricRequest, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual CalculatedMetric GetCalculatedMetric(GetCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetCalculatedMetricRequest request = new GetCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.GetCalculatedMetric(request);
GetCalculatedMetric(string, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual CalculatedMetric GetCalculatedMetric(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.GetCalculatedMetric(name);
GetCalculatedMetricAsync(CalculatedMetricName, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(CalculatedMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(name);
GetCalculatedMetricAsync(CalculatedMetricName, CancellationToken)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(CalculatedMetricName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetricName | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetricName name = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]");
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(name);
GetCalculatedMetricAsync(GetCalculatedMetricRequest, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(GetCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCalculatedMetricRequest request = new GetCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(request);
GetCalculatedMetricAsync(GetCalculatedMetricRequest, CancellationToken)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(GetCalculatedMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCalculatedMetricRequest request = new GetCalculatedMetricRequest
{
CalculatedMetricName = CalculatedMetricName.FromPropertyCalculatedMetric("[PROPERTY]", "[CALCULATED_METRIC]"),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(request);
GetCalculatedMetricAsync(string, CallSettings)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(name);
GetCalculatedMetricAsync(string, CancellationToken)
Lookup for a single CalculatedMetric.
Declaration
public virtual Task<CalculatedMetric> GetCalculatedMetricAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/calculatedMetrics/[CALCULATED_METRIC]";
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.GetCalculatedMetricAsync(name);
GetChannelGroup(ChannelGroupName, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual ChannelGroup GetChannelGroup(ChannelGroupName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
ChannelGroup response = analyticsAdminServiceClient.GetChannelGroup(name);
GetChannelGroup(GetChannelGroupRequest, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual ChannelGroup GetChannelGroup(GetChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetChannelGroupRequest request = new GetChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
ChannelGroup response = analyticsAdminServiceClient.GetChannelGroup(request);
GetChannelGroup(string, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual ChannelGroup GetChannelGroup(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
ChannelGroup response = analyticsAdminServiceClient.GetChannelGroup(name);
GetChannelGroupAsync(ChannelGroupName, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(ChannelGroupName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(name);
GetChannelGroupAsync(ChannelGroupName, CancellationToken)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(ChannelGroupName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroupName | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroupName name = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]");
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(name);
GetChannelGroupAsync(GetChannelGroupRequest, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(GetChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetChannelGroupRequest request = new GetChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(request);
GetChannelGroupAsync(GetChannelGroupRequest, CancellationToken)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(GetChannelGroupRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetChannelGroupRequest request = new GetChannelGroupRequest
{
ChannelGroupName = ChannelGroupName.FromPropertyChannelGroup("[PROPERTY]", "[CHANNEL_GROUP]"),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(request);
GetChannelGroupAsync(string, CallSettings)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(name);
GetChannelGroupAsync(string, CancellationToken)
Lookup for a single ChannelGroup.
Declaration
public virtual Task<ChannelGroup> GetChannelGroupAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/channelGroups/[CHANNEL_GROUP]";
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.GetChannelGroupAsync(name);
GetConversionEvent(ConversionEventName, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual ConversionEvent GetConversionEvent(ConversionEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(name);
#pragma warning restore CS0612
GetConversionEvent(GetConversionEventRequest, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual ConversionEvent GetConversionEvent(GetConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetConversionEventRequest request = new GetConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(request);
#pragma warning restore CS0612
GetConversionEvent(string, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual ConversionEvent GetConversionEvent(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.GetConversionEvent(name);
#pragma warning restore CS0612
GetConversionEventAsync(ConversionEventName, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(ConversionEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(name);
#pragma warning restore CS0612
GetConversionEventAsync(ConversionEventName, CancellationToken)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(ConversionEventName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ConversionEventName | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEventName name = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]");
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(name);
#pragma warning restore CS0612
GetConversionEventAsync(GetConversionEventRequest, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(GetConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetConversionEventRequest request = new GetConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(request);
#pragma warning restore CS0612
GetConversionEventAsync(GetConversionEventRequest, CancellationToken)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(GetConversionEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetConversionEventRequest request = new GetConversionEventRequest
{
ConversionEventName = ConversionEventName.FromPropertyConversionEvent("[PROPERTY]", "[CONVERSION_EVENT]"),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(request);
#pragma warning restore CS0612
GetConversionEventAsync(string, CallSettings)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(name);
#pragma warning restore CS0612
GetConversionEventAsync(string, CancellationToken)
Deprecated: Use GetKeyEvent
instead.
Retrieve a single conversion event.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> GetConversionEventAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/conversionEvents/[CONVERSION_EVENT]";
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.GetConversionEventAsync(name);
#pragma warning restore CS0612
GetCustomDimension(CustomDimensionName, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual CustomDimension GetCustomDimension(CustomDimensionName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(name);
GetCustomDimension(GetCustomDimensionRequest, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual CustomDimension GetCustomDimension(GetCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetCustomDimensionRequest request = new GetCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(request);
GetCustomDimension(string, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual CustomDimension GetCustomDimension(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
CustomDimension response = analyticsAdminServiceClient.GetCustomDimension(name);
GetCustomDimensionAsync(CustomDimensionName, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(CustomDimensionName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(name);
GetCustomDimensionAsync(CustomDimensionName, CancellationToken)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(CustomDimensionName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomDimensionName | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimensionName name = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]");
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(name);
GetCustomDimensionAsync(GetCustomDimensionRequest, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(GetCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomDimensionRequest request = new GetCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(request);
GetCustomDimensionAsync(GetCustomDimensionRequest, CancellationToken)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(GetCustomDimensionRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomDimensionRequest request = new GetCustomDimensionRequest
{
CustomDimensionName = CustomDimensionName.FromPropertyCustomDimension("[PROPERTY]", "[CUSTOM_DIMENSION]"),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(request);
GetCustomDimensionAsync(string, CallSettings)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(name);
GetCustomDimensionAsync(string, CancellationToken)
Lookup for a single CustomDimension.
Declaration
public virtual Task<CustomDimension> GetCustomDimensionAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customDimensions/[CUSTOM_DIMENSION]";
// Make the request
CustomDimension response = await analyticsAdminServiceClient.GetCustomDimensionAsync(name);
GetCustomMetric(CustomMetricName, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual CustomMetric GetCustomMetric(CustomMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
CustomMetric response = analyticsAdminServiceClient.GetCustomMetric(name);
GetCustomMetric(GetCustomMetricRequest, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual CustomMetric GetCustomMetric(GetCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetCustomMetricRequest request = new GetCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
CustomMetric response = analyticsAdminServiceClient.GetCustomMetric(request);
GetCustomMetric(string, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual CustomMetric GetCustomMetric(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
CustomMetric response = analyticsAdminServiceClient.GetCustomMetric(name);
GetCustomMetricAsync(CustomMetricName, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(CustomMetricName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(name);
GetCustomMetricAsync(CustomMetricName, CancellationToken)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(CustomMetricName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomMetricName | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetricName name = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]");
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(name);
GetCustomMetricAsync(GetCustomMetricRequest, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(GetCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomMetricRequest request = new GetCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(request);
GetCustomMetricAsync(GetCustomMetricRequest, CancellationToken)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(GetCustomMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetCustomMetricRequest request = new GetCustomMetricRequest
{
CustomMetricName = CustomMetricName.FromPropertyCustomMetric("[PROPERTY]", "[CUSTOM_METRIC]"),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(request);
GetCustomMetricAsync(string, CallSettings)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(name);
GetCustomMetricAsync(string, CancellationToken)
Lookup for a single CustomMetric.
Declaration
public virtual Task<CustomMetric> GetCustomMetricAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/customMetrics/[CUSTOM_METRIC]";
// Make the request
CustomMetric response = await analyticsAdminServiceClient.GetCustomMetricAsync(name);
GetDataRedactionSettings(DataRedactionSettingsName, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual DataRedactionSettings GetDataRedactionSettings(DataRedactionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRedactionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataRedactionSettingsName name = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataRedactionSettings response = analyticsAdminServiceClient.GetDataRedactionSettings(name);
GetDataRedactionSettings(GetDataRedactionSettingsRequest, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual DataRedactionSettings GetDataRedactionSettings(GetDataRedactionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRedactionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDataRedactionSettingsRequest request = new GetDataRedactionSettingsRequest
{
DataRedactionSettingsName = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataRedactionSettings response = analyticsAdminServiceClient.GetDataRedactionSettings(request);
GetDataRedactionSettings(string, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual DataRedactionSettings GetDataRedactionSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRedactionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/dataRedactionSettings";
// Make the request
DataRedactionSettings response = analyticsAdminServiceClient.GetDataRedactionSettings(name);
GetDataRedactionSettingsAsync(DataRedactionSettingsName, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(DataRedactionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRedactionSettingsName name = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(name);
GetDataRedactionSettingsAsync(DataRedactionSettingsName, CancellationToken)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(DataRedactionSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRedactionSettingsName name = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(name);
GetDataRedactionSettingsAsync(GetDataRedactionSettingsRequest, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(GetDataRedactionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataRedactionSettingsRequest request = new GetDataRedactionSettingsRequest
{
DataRedactionSettingsName = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(request);
GetDataRedactionSettingsAsync(GetDataRedactionSettingsRequest, CancellationToken)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(GetDataRedactionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataRedactionSettingsRequest request = new GetDataRedactionSettingsRequest
{
DataRedactionSettingsName = DataRedactionSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(request);
GetDataRedactionSettingsAsync(string, CallSettings)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/dataRedactionSettings";
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(name);
GetDataRedactionSettingsAsync(string, CancellationToken)
Lookup for a single DataRedactionSettings.
Declaration
public virtual Task<DataRedactionSettings> GetDataRedactionSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/dataRedactionSettings";
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.GetDataRedactionSettingsAsync(name);
GetDataRetentionSettings(DataRetentionSettingsName, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual DataRetentionSettings GetDataRetentionSettings(DataRetentionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRetentionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataRetentionSettingsName name = DataRetentionSettingsName.FromProperty("[PROPERTY]");
// Make the request
DataRetentionSettings response = analyticsAdminServiceClient.GetDataRetentionSettings(name);
GetDataRetentionSettings(GetDataRetentionSettingsRequest, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual DataRetentionSettings GetDataRetentionSettings(GetDataRetentionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRetentionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDataRetentionSettingsRequest request = new GetDataRetentionSettingsRequest
{
DataRetentionSettingsName = DataRetentionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
DataRetentionSettings response = analyticsAdminServiceClient.GetDataRetentionSettings(request);
GetDataRetentionSettings(string, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual DataRetentionSettings GetDataRetentionSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRetentionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataRetentionSettings";
// Make the request
DataRetentionSettings response = analyticsAdminServiceClient.GetDataRetentionSettings(name);
GetDataRetentionSettingsAsync(DataRetentionSettingsName, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(DataRetentionSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRetentionSettingsName name = DataRetentionSettingsName.FromProperty("[PROPERTY]");
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(name);
GetDataRetentionSettingsAsync(DataRetentionSettingsName, CancellationToken)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(DataRetentionSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRetentionSettingsName name = DataRetentionSettingsName.FromProperty("[PROPERTY]");
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(name);
GetDataRetentionSettingsAsync(GetDataRetentionSettingsRequest, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(GetDataRetentionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataRetentionSettingsRequest request = new GetDataRetentionSettingsRequest
{
DataRetentionSettingsName = DataRetentionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(request);
GetDataRetentionSettingsAsync(GetDataRetentionSettingsRequest, CancellationToken)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(GetDataRetentionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataRetentionSettingsRequest request = new GetDataRetentionSettingsRequest
{
DataRetentionSettingsName = DataRetentionSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(request);
GetDataRetentionSettingsAsync(string, CallSettings)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataRetentionSettings";
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(name);
GetDataRetentionSettingsAsync(string, CancellationToken)
Returns the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> GetDataRetentionSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataRetentionSettings";
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.GetDataRetentionSettingsAsync(name);
GetDataSharingSettings(DataSharingSettingsName, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual DataSharingSettings GetDataSharingSettings(DataSharingSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataSharingSettingsName | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataSharingSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataSharingSettingsName name = DataSharingSettingsName.FromAccount("[ACCOUNT]");
// Make the request
DataSharingSettings response = analyticsAdminServiceClient.GetDataSharingSettings(name);
GetDataSharingSettings(GetDataSharingSettingsRequest, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataSharingSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDataSharingSettingsRequest request = new GetDataSharingSettingsRequest
{
DataSharingSettingsName = DataSharingSettingsName.FromAccount("[ACCOUNT]"),
};
// Make the request
DataSharingSettings response = analyticsAdminServiceClient.GetDataSharingSettings(request);
GetDataSharingSettings(string, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual DataSharingSettings GetDataSharingSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataSharingSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/dataSharingSettings";
// Make the request
DataSharingSettings response = analyticsAdminServiceClient.GetDataSharingSettings(name);
GetDataSharingSettingsAsync(DataSharingSettingsName, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettingsAsync(DataSharingSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataSharingSettingsName | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataSharingSettingsName name = DataSharingSettingsName.FromAccount("[ACCOUNT]");
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(name);
GetDataSharingSettingsAsync(DataSharingSettingsName, CancellationToken)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettingsAsync(DataSharingSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataSharingSettingsName | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataSharingSettingsName name = DataSharingSettingsName.FromAccount("[ACCOUNT]");
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(name);
GetDataSharingSettingsAsync(GetDataSharingSettingsRequest, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataSharingSettingsRequest request = new GetDataSharingSettingsRequest
{
DataSharingSettingsName = DataSharingSettingsName.FromAccount("[ACCOUNT]"),
};
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(request);
GetDataSharingSettingsAsync(GetDataSharingSettingsRequest, CancellationToken)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettingsAsync(GetDataSharingSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDataSharingSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataSharingSettingsRequest request = new GetDataSharingSettingsRequest
{
DataSharingSettingsName = DataSharingSettingsName.FromAccount("[ACCOUNT]"),
};
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(request);
GetDataSharingSettingsAsync(string, CallSettings)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/dataSharingSettings";
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(name);
GetDataSharingSettingsAsync(string, CancellationToken)
Get data sharing settings on an account. Data sharing settings are singletons.
Declaration
public virtual Task<DataSharingSettings> GetDataSharingSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataSharingSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "accounts/[ACCOUNT]/dataSharingSettings";
// Make the request
DataSharingSettings response = await analyticsAdminServiceClient.GetDataSharingSettingsAsync(name);
GetDataStream(DataStreamName, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual DataStream GetDataStream(DataStreamName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataStream response = analyticsAdminServiceClient.GetDataStream(name);
GetDataStream(GetDataStreamRequest, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual DataStream GetDataStream(GetDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDataStreamRequest request = new GetDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataStream response = analyticsAdminServiceClient.GetDataStream(request);
GetDataStream(string, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual DataStream GetDataStream(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
DataStream response = analyticsAdminServiceClient.GetDataStream(name);
GetDataStreamAsync(DataStreamName, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(DataStreamName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(name);
GetDataStreamAsync(DataStreamName, CancellationToken)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(DataStreamName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName name = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(name);
GetDataStreamAsync(GetDataStreamRequest, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(GetDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataStreamRequest request = new GetDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(request);
GetDataStreamAsync(GetDataStreamRequest, CancellationToken)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(GetDataStreamRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDataStreamRequest request = new GetDataStreamRequest
{
DataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(request);
GetDataStreamAsync(string, CallSettings)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(name);
GetDataStreamAsync(string, CancellationToken)
Lookup for a single DataStream.
Declaration
public virtual Task<DataStream> GetDataStreamAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
DataStream response = await analyticsAdminServiceClient.GetDataStreamAsync(name);
GetDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual DisplayVideo360AdvertiserLink GetDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLink(name);
GetDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual DisplayVideo360AdvertiserLink GetDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkRequest request = new GetDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLink(request);
GetDisplayVideo360AdvertiserLink(string, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual DisplayVideo360AdvertiserLink GetDisplayVideo360AdvertiserLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLink(name);
GetDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(name);
GetDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName, CancellationToken)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkName | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkName name = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]");
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(name);
GetDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkRequest request = new GetDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(request);
GetDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest, CancellationToken)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkRequest request = new GetDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLinkName = DisplayVideo360AdvertiserLinkName.FromPropertyDisplayVideo360AdvertiserLink("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK]"),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(request);
GetDisplayVideo360AdvertiserLinkAsync(string, CallSettings)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(name);
GetDisplayVideo360AdvertiserLinkAsync(string, CancellationToken)
Look up a single DisplayVideo360AdvertiserLink
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> GetDisplayVideo360AdvertiserLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinks/[DISPLAY_VIDEO_360_ADVERTISER_LINK]";
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkAsync(name);
GetDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal GetDisplayVideo360AdvertiserLinkProposal(DisplayVideo360AdvertiserLinkProposalName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposal(name);
GetDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal GetDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkProposalRequest request = new GetDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposal(request);
GetDisplayVideo360AdvertiserLinkProposal(string, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual DisplayVideo360AdvertiserLinkProposal GetDisplayVideo360AdvertiserLinkProposal(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLinkProposal | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
DisplayVideo360AdvertiserLinkProposal response = analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposal(name);
GetDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(name);
GetDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName, CancellationToken)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(DisplayVideo360AdvertiserLinkProposalName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLinkProposalName | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLinkProposalName name = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]");
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(name);
GetDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkProposalRequest request = new GetDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(request);
GetDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest, CancellationToken)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetDisplayVideo360AdvertiserLinkProposalRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetDisplayVideo360AdvertiserLinkProposalRequest request = new GetDisplayVideo360AdvertiserLinkProposalRequest
{
DisplayVideo360AdvertiserLinkProposalName = DisplayVideo360AdvertiserLinkProposalName.FromPropertyDisplayVideo360AdvertiserLinkProposal("[PROPERTY]", "[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]"),
};
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(request);
GetDisplayVideo360AdvertiserLinkProposalAsync(string, CallSettings)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(name);
GetDisplayVideo360AdvertiserLinkProposalAsync(string, CancellationToken)
Lookup for a single DisplayVideo360AdvertiserLinkProposal.
Declaration
public virtual Task<DisplayVideo360AdvertiserLinkProposal> GetDisplayVideo360AdvertiserLinkProposalAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLinkProposal> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/displayVideo360AdvertiserLinkProposals/[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]";
// Make the request
DisplayVideo360AdvertiserLinkProposal response = await analyticsAdminServiceClient.GetDisplayVideo360AdvertiserLinkProposalAsync(name);
GetEnhancedMeasurementSettings(EnhancedMeasurementSettingsName, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual EnhancedMeasurementSettings GetEnhancedMeasurementSettings(EnhancedMeasurementSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EnhancedMeasurementSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EnhancedMeasurementSettingsName name = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
EnhancedMeasurementSettings response = analyticsAdminServiceClient.GetEnhancedMeasurementSettings(name);
GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EnhancedMeasurementSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetEnhancedMeasurementSettingsRequest request = new GetEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettingsName = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
EnhancedMeasurementSettings response = analyticsAdminServiceClient.GetEnhancedMeasurementSettings(request);
GetEnhancedMeasurementSettings(string, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual EnhancedMeasurementSettings GetEnhancedMeasurementSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EnhancedMeasurementSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/enhancedMeasurementSettings";
// Make the request
EnhancedMeasurementSettings response = analyticsAdminServiceClient.GetEnhancedMeasurementSettings(name);
GetEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettingsName, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EnhancedMeasurementSettingsName name = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(name);
GetEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettingsName, CancellationToken)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettingsName | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EnhancedMeasurementSettingsName name = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(name);
GetEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEnhancedMeasurementSettingsRequest request = new GetEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettingsName = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(request);
GetEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest, CancellationToken)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEnhancedMeasurementSettingsRequest request = new GetEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettingsName = EnhancedMeasurementSettingsName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(request);
GetEnhancedMeasurementSettingsAsync(string, CallSettings)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/enhancedMeasurementSettings";
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(name);
GetEnhancedMeasurementSettingsAsync(string, CancellationToken)
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> GetEnhancedMeasurementSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/enhancedMeasurementSettings";
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.GetEnhancedMeasurementSettingsAsync(name);
GetEventCreateRule(EventCreateRuleName, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual EventCreateRule GetEventCreateRule(EventCreateRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
EventCreateRule response = analyticsAdminServiceClient.GetEventCreateRule(name);
GetEventCreateRule(GetEventCreateRuleRequest, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual EventCreateRule GetEventCreateRule(GetEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetEventCreateRuleRequest request = new GetEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
EventCreateRule response = analyticsAdminServiceClient.GetEventCreateRule(request);
GetEventCreateRule(string, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual EventCreateRule GetEventCreateRule(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
EventCreateRule response = analyticsAdminServiceClient.GetEventCreateRule(name);
GetEventCreateRuleAsync(EventCreateRuleName, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(EventCreateRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(name);
GetEventCreateRuleAsync(EventCreateRuleName, CancellationToken)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(EventCreateRuleName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRuleName | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRuleName name = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]");
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(name);
GetEventCreateRuleAsync(GetEventCreateRuleRequest, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(GetEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEventCreateRuleRequest request = new GetEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(request);
GetEventCreateRuleAsync(GetEventCreateRuleRequest, CancellationToken)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(GetEventCreateRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEventCreateRuleRequest request = new GetEventCreateRuleRequest
{
EventCreateRuleName = EventCreateRuleName.FromPropertyDataStreamEventCreateRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_CREATE_RULE]"),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(request);
GetEventCreateRuleAsync(string, CallSettings)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(name);
GetEventCreateRuleAsync(string, CancellationToken)
Lookup for a single EventCreateRule.
Declaration
public virtual Task<EventCreateRule> GetEventCreateRuleAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventCreateRules/[EVENT_CREATE_RULE]";
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.GetEventCreateRuleAsync(name);
GetEventEditRule(EventEditRuleName, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual EventEditRule GetEventEditRule(EventEditRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
EventEditRule response = analyticsAdminServiceClient.GetEventEditRule(name);
GetEventEditRule(GetEventEditRuleRequest, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual EventEditRule GetEventEditRule(GetEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetEventEditRuleRequest request = new GetEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
EventEditRule response = analyticsAdminServiceClient.GetEventEditRule(request);
GetEventEditRule(string, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual EventEditRule GetEventEditRule(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
EventEditRule response = analyticsAdminServiceClient.GetEventEditRule(name);
GetEventEditRuleAsync(EventEditRuleName, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(EventEditRuleName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(name);
GetEventEditRuleAsync(EventEditRuleName, CancellationToken)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(EventEditRuleName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventEditRuleName | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRuleName name = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]");
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(name);
GetEventEditRuleAsync(GetEventEditRuleRequest, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(GetEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEventEditRuleRequest request = new GetEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(request);
GetEventEditRuleAsync(GetEventEditRuleRequest, CancellationToken)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(GetEventEditRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetEventEditRuleRequest request = new GetEventEditRuleRequest
{
EventEditRuleName = EventEditRuleName.FromPropertyDataStreamEventEditRule("[PROPERTY]", "[DATA_STREAM]", "[EVENT_EDIT_RULE]"),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(request);
GetEventEditRuleAsync(string, CallSettings)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(name);
GetEventEditRuleAsync(string, CancellationToken)
Lookup for a single EventEditRule.
Declaration
public virtual Task<EventEditRule> GetEventEditRuleAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EventEditRule to get. Example format: properties/123/dataStreams/456/eventEditRules/789 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/eventEditRules/[EVENT_EDIT_RULE]";
// Make the request
EventEditRule response = await analyticsAdminServiceClient.GetEventEditRuleAsync(name);
GetExpandedDataSet(ExpandedDataSetName, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual ExpandedDataSet GetExpandedDataSet(ExpandedDataSetName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.GetExpandedDataSet(name);
GetExpandedDataSet(GetExpandedDataSetRequest, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual ExpandedDataSet GetExpandedDataSet(GetExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetExpandedDataSetRequest request = new GetExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.GetExpandedDataSet(request);
GetExpandedDataSet(string, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual ExpandedDataSet GetExpandedDataSet(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.GetExpandedDataSet(name);
GetExpandedDataSetAsync(ExpandedDataSetName, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(ExpandedDataSetName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(name);
GetExpandedDataSetAsync(ExpandedDataSetName, CancellationToken)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(ExpandedDataSetName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSetName | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSetName name = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]");
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(name);
GetExpandedDataSetAsync(GetExpandedDataSetRequest, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(GetExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetExpandedDataSetRequest request = new GetExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(request);
GetExpandedDataSetAsync(GetExpandedDataSetRequest, CancellationToken)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(GetExpandedDataSetRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetExpandedDataSetRequest request = new GetExpandedDataSetRequest
{
ExpandedDataSetName = ExpandedDataSetName.FromPropertyExpandedDataSet("[PROPERTY]", "[EXPANDED_DATA_SET]"),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(request);
GetExpandedDataSetAsync(string, CallSettings)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(name);
GetExpandedDataSetAsync(string, CancellationToken)
Lookup for a single ExpandedDataSet.
Declaration
public virtual Task<ExpandedDataSet> GetExpandedDataSetAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/expandedDataSets/[EXPANDED_DATA_SET]";
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.GetExpandedDataSetAsync(name);
GetGlobalSiteTag(GetGlobalSiteTagRequest, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GlobalSiteTag | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetGlobalSiteTagRequest request = new GetGlobalSiteTagRequest
{
GlobalSiteTagName = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(request);
GetGlobalSiteTag(GlobalSiteTagName, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual GlobalSiteTag GetGlobalSiteTag(GlobalSiteTagName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GlobalSiteTagName | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GlobalSiteTag | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GlobalSiteTagName name = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(name);
GetGlobalSiteTag(string, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual GlobalSiteTag GetGlobalSiteTag(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GlobalSiteTag | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/globalSiteTag";
// Make the request
GlobalSiteTag response = analyticsAdminServiceClient.GetGlobalSiteTag(name);
GetGlobalSiteTagAsync(GetGlobalSiteTagRequest, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetGlobalSiteTagRequest request = new GetGlobalSiteTagRequest
{
GlobalSiteTagName = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(request);
GetGlobalSiteTagAsync(GetGlobalSiteTagRequest, CancellationToken)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTagAsync(GetGlobalSiteTagRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetGlobalSiteTagRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetGlobalSiteTagRequest request = new GetGlobalSiteTagRequest
{
GlobalSiteTagName = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(request);
GetGlobalSiteTagAsync(GlobalSiteTagName, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTagAsync(GlobalSiteTagName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GlobalSiteTagName | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GlobalSiteTagName name = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(name);
GetGlobalSiteTagAsync(GlobalSiteTagName, CancellationToken)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTagAsync(GlobalSiteTagName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GlobalSiteTagName | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GlobalSiteTagName name = GlobalSiteTagName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(name);
GetGlobalSiteTagAsync(string, CallSettings)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTagAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/globalSiteTag";
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(name);
GetGlobalSiteTagAsync(string, CancellationToken)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
Declaration
public virtual Task<GlobalSiteTag> GetGlobalSiteTagAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GlobalSiteTag> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/globalSiteTag";
// Make the request
GlobalSiteTag response = await analyticsAdminServiceClient.GetGlobalSiteTagAsync(name);
GetGoogleSignalsSettings(GetGoogleSignalsSettingsRequest, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual GoogleSignalsSettings GetGoogleSignalsSettings(GetGoogleSignalsSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleSignalsSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetGoogleSignalsSettingsRequest request = new GetGoogleSignalsSettingsRequest
{
GoogleSignalsSettingsName = GoogleSignalsSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
GoogleSignalsSettings response = analyticsAdminServiceClient.GetGoogleSignalsSettings(request);
GetGoogleSignalsSettings(GoogleSignalsSettingsName, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual GoogleSignalsSettings GetGoogleSignalsSettings(GoogleSignalsSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettingsName | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleSignalsSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GoogleSignalsSettingsName name = GoogleSignalsSettingsName.FromProperty("[PROPERTY]");
// Make the request
GoogleSignalsSettings response = analyticsAdminServiceClient.GetGoogleSignalsSettings(name);
GetGoogleSignalsSettings(string, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual GoogleSignalsSettings GetGoogleSignalsSettings(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleSignalsSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleSignalsSettings";
// Make the request
GoogleSignalsSettings response = analyticsAdminServiceClient.GetGoogleSignalsSettings(name);
GetGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetGoogleSignalsSettingsRequest request = new GetGoogleSignalsSettingsRequest
{
GoogleSignalsSettingsName = GoogleSignalsSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(request);
GetGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest, CancellationToken)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetGoogleSignalsSettingsRequest request = new GetGoogleSignalsSettingsRequest
{
GoogleSignalsSettingsName = GoogleSignalsSettingsName.FromProperty("[PROPERTY]"),
};
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(request);
GetGoogleSignalsSettingsAsync(GoogleSignalsSettingsName, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(GoogleSignalsSettingsName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettingsName | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleSignalsSettingsName name = GoogleSignalsSettingsName.FromProperty("[PROPERTY]");
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(name);
GetGoogleSignalsSettingsAsync(GoogleSignalsSettingsName, CancellationToken)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(GoogleSignalsSettingsName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettingsName | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleSignalsSettingsName name = GoogleSignalsSettingsName.FromProperty("[PROPERTY]");
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(name);
GetGoogleSignalsSettingsAsync(string, CallSettings)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleSignalsSettings";
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(name);
GetGoogleSignalsSettingsAsync(string, CancellationToken)
Lookup for Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> GetGoogleSignalsSettingsAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/googleSignalsSettings";
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.GetGoogleSignalsSettingsAsync(name);
GetKeyEvent(GetKeyEventRequest, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual KeyEvent GetKeyEvent(GetKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetKeyEventRequest request = new GetKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
KeyEvent response = analyticsAdminServiceClient.GetKeyEvent(request);
GetKeyEvent(KeyEventName, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual KeyEvent GetKeyEvent(KeyEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
KeyEvent response = analyticsAdminServiceClient.GetKeyEvent(name);
GetKeyEvent(string, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual KeyEvent GetKeyEvent(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
KeyEvent response = analyticsAdminServiceClient.GetKeyEvent(name);
GetKeyEventAsync(GetKeyEventRequest, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(GetKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetKeyEventRequest request = new GetKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(request);
GetKeyEventAsync(GetKeyEventRequest, CancellationToken)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(GetKeyEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetKeyEventRequest request = new GetKeyEventRequest
{
KeyEventName = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]"),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(request);
GetKeyEventAsync(KeyEventName, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(KeyEventName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(name);
GetKeyEventAsync(KeyEventName, CancellationToken)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(KeyEventName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
KeyEventName | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEventName name = KeyEventName.FromPropertyKeyEvent("[PROPERTY]", "[KEY_EVENT]");
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(name);
GetKeyEventAsync(string, CallSettings)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(name);
GetKeyEventAsync(string, CancellationToken)
Retrieve a single Key Event.
Declaration
public virtual Task<KeyEvent> GetKeyEventAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/keyEvents/[KEY_EVENT]";
// Make the request
KeyEvent response = await analyticsAdminServiceClient.GetKeyEventAsync(name);
GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual MeasurementProtocolSecret GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetMeasurementProtocolSecretRequest request = new GetMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.GetMeasurementProtocolSecret(request);
GetMeasurementProtocolSecret(MeasurementProtocolSecretName, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual MeasurementProtocolSecret GetMeasurementProtocolSecret(MeasurementProtocolSecretName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.GetMeasurementProtocolSecret(name);
GetMeasurementProtocolSecret(string, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual MeasurementProtocolSecret GetMeasurementProtocolSecret(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.GetMeasurementProtocolSecret(name);
GetMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetMeasurementProtocolSecretRequest request = new GetMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(request);
GetMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest, CancellationToken)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetMeasurementProtocolSecretRequest request = new GetMeasurementProtocolSecretRequest
{
MeasurementProtocolSecretName = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]"),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(request);
GetMeasurementProtocolSecretAsync(MeasurementProtocolSecretName, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(MeasurementProtocolSecretName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(name);
GetMeasurementProtocolSecretAsync(MeasurementProtocolSecretName, CancellationToken)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(MeasurementProtocolSecretName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecretName | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecretName name = MeasurementProtocolSecretName.FromPropertyDataStreamMeasurementProtocolSecret("[PROPERTY]", "[DATA_STREAM]", "[MEASUREMENT_PROTOCOL_SECRET]");
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(name);
GetMeasurementProtocolSecretAsync(string, CallSettings)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(name);
GetMeasurementProtocolSecretAsync(string, CancellationToken)
Lookup for a single "GA4" MeasurementProtocolSecret.
Declaration
public virtual Task<MeasurementProtocolSecret> GetMeasurementProtocolSecretAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/measurementProtocolSecrets/[MEASUREMENT_PROTOCOL_SECRET]";
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.GetMeasurementProtocolSecretAsync(name);
GetProperty(GetPropertyRequest, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetPropertyRequest request = new GetPropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = analyticsAdminServiceClient.GetProperty(request);
GetProperty(PropertyName, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual Property GetProperty(PropertyName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = analyticsAdminServiceClient.GetProperty(name);
GetProperty(string, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual Property GetProperty(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = analyticsAdminServiceClient.GetProperty(name);
GetPropertyAsync(GetPropertyRequest, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetPropertyRequest request = new GetPropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(request);
GetPropertyAsync(GetPropertyRequest, CancellationToken)
Lookup for a single "GA4" Property.
Declaration
public virtual Task<Property> GetPropertyAsync(GetPropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetPropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetPropertyRequest request = new GetPropertyRequest
{
PropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(request);
GetPropertyAsync(PropertyName, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual Task<Property> GetPropertyAsync(PropertyName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(name);
GetPropertyAsync(PropertyName, CancellationToken)
Lookup for a single "GA4" Property.
Declaration
public virtual Task<Property> GetPropertyAsync(PropertyName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName name = PropertyName.FromProperty("[PROPERTY]");
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(name);
GetPropertyAsync(string, CallSettings)
Lookup for a single "GA4" Property.
Declaration
public virtual Task<Property> GetPropertyAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(name);
GetPropertyAsync(string, CancellationToken)
Lookup for a single "GA4" Property.
Declaration
public virtual Task<Property> GetPropertyAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000" |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]";
// Make the request
Property response = await analyticsAdminServiceClient.GetPropertyAsync(name);
GetRollupPropertySourceLink(GetRollupPropertySourceLinkRequest, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink GetRollupPropertySourceLink(GetRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetRollupPropertySourceLinkRequest request = new GetRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.GetRollupPropertySourceLink(request);
GetRollupPropertySourceLink(RollupPropertySourceLinkName, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink GetRollupPropertySourceLink(RollupPropertySourceLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.GetRollupPropertySourceLink(name);
GetRollupPropertySourceLink(string, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual RollupPropertySourceLink GetRollupPropertySourceLink(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RollupPropertySourceLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
RollupPropertySourceLink response = analyticsAdminServiceClient.GetRollupPropertySourceLink(name);
GetRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetRollupPropertySourceLinkRequest request = new GetRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(request);
GetRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest, CancellationToken)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetRollupPropertySourceLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetRollupPropertySourceLinkRequest request = new GetRollupPropertySourceLinkRequest
{
RollupPropertySourceLinkName = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]"),
};
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(request);
GetRollupPropertySourceLinkAsync(RollupPropertySourceLinkName, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(RollupPropertySourceLinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(name);
GetRollupPropertySourceLinkAsync(RollupPropertySourceLinkName, CancellationToken)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(RollupPropertySourceLinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
RollupPropertySourceLinkName | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RollupPropertySourceLinkName name = RollupPropertySourceLinkName.FromPropertyRollupPropertySourceLink("[PROPERTY]", "[ROLLUP_PROPERTY_SOURCE_LINK]");
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(name);
GetRollupPropertySourceLinkAsync(string, CallSettings)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(name);
GetRollupPropertySourceLinkAsync(string, CancellationToken)
Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual Task<RollupPropertySourceLink> GetRollupPropertySourceLinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RollupPropertySourceLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/rollupPropertySourceLinks/[ROLLUP_PROPERTY_SOURCE_LINK]";
// Make the request
RollupPropertySourceLink response = await analyticsAdminServiceClient.GetRollupPropertySourceLinkAsync(name);
GetSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema GetSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetSKAdNetworkConversionValueSchemaRequest request = new GetSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchema(request);
GetSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema GetSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchemaName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchema(name);
GetSKAdNetworkConversionValueSchema(string, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema GetSKAdNetworkConversionValueSchema(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchema(name);
GetSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSKAdNetworkConversionValueSchemaRequest request = new GetSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(request);
GetSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest, CancellationToken)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSKAdNetworkConversionValueSchemaRequest request = new GetSKAdNetworkConversionValueSchemaRequest
{
SKAdNetworkConversionValueSchemaName = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]"),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(request);
GetSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(name);
GetSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName, CancellationToken)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchemaName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchemaName | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchemaName name = SKAdNetworkConversionValueSchemaName.FromPropertyDataStreamSkadnetworkConversionValueSchema("[PROPERTY]", "[DATA_STREAM]", "[SKADNETWORK_CONVERSION_VALUE_SCHEMA]");
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(name);
GetSKAdNetworkConversionValueSchemaAsync(string, CallSettings)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(name);
GetSKAdNetworkConversionValueSchemaAsync(string, CancellationToken)
Looks up a single SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> GetSKAdNetworkConversionValueSchemaAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]/sKAdNetworkConversionValueSchema/[SKADNETWORK_CONVERSION_VALUE_SCHEMA]";
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.GetSKAdNetworkConversionValueSchemaAsync(name);
GetSearchAds360Link(GetSearchAds360LinkRequest, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual SearchAds360Link GetSearchAds360Link(GetSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetSearchAds360LinkRequest request = new GetSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.GetSearchAds360Link(request);
GetSearchAds360Link(SearchAds360LinkName, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual SearchAds360Link GetSearchAds360Link(SearchAds360LinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.GetSearchAds360Link(name);
GetSearchAds360Link(string, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual SearchAds360Link GetSearchAds360Link(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.GetSearchAds360Link(name);
GetSearchAds360LinkAsync(GetSearchAds360LinkRequest, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(GetSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSearchAds360LinkRequest request = new GetSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(request);
GetSearchAds360LinkAsync(GetSearchAds360LinkRequest, CancellationToken)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(GetSearchAds360LinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSearchAds360LinkRequest request = new GetSearchAds360LinkRequest
{
SearchAds360LinkName = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]"),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(request);
GetSearchAds360LinkAsync(SearchAds360LinkName, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(SearchAds360LinkName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(name);
GetSearchAds360LinkAsync(SearchAds360LinkName, CancellationToken)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(SearchAds360LinkName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360LinkName | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360LinkName name = SearchAds360LinkName.FromPropertySearchAds360Link("[PROPERTY]", "[SEARCH_ADS_360_LINK]");
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(name);
GetSearchAds360LinkAsync(string, CallSettings)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(name);
GetSearchAds360LinkAsync(string, CancellationToken)
Look up a single SearchAds360Link
Declaration
public virtual Task<SearchAds360Link> GetSearchAds360LinkAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/searchAds360Links/[SEARCH_ADS_360_LINK]";
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.GetSearchAds360LinkAsync(name);
GetSubpropertyEventFilter(GetSubpropertyEventFilterRequest, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter GetSubpropertyEventFilter(GetSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GetSubpropertyEventFilterRequest request = new GetSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.GetSubpropertyEventFilter(request);
GetSubpropertyEventFilter(SubpropertyEventFilterName, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter GetSubpropertyEventFilter(SubpropertyEventFilterName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.GetSubpropertyEventFilter(name);
GetSubpropertyEventFilter(string, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter GetSubpropertyEventFilter(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.GetSubpropertyEventFilter(name);
GetSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSubpropertyEventFilterRequest request = new GetSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(request);
GetSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest, CancellationToken)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GetSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GetSubpropertyEventFilterRequest request = new GetSubpropertyEventFilterRequest
{
SubpropertyEventFilterName = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]"),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(request);
GetSubpropertyEventFilterAsync(SubpropertyEventFilterName, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(SubpropertyEventFilterName name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(name);
GetSubpropertyEventFilterAsync(SubpropertyEventFilterName, CancellationToken)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(SubpropertyEventFilterName name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilterName | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilterName name = SubpropertyEventFilterName.FromPropertySubPropertyEventFilter("[PROPERTY]", "[SUB_PROPERTY_EVENT_FILTER]");
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(name);
GetSubpropertyEventFilterAsync(string, CallSettings)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(string name, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(name);
GetSubpropertyEventFilterAsync(string, CancellationToken)
Lookup for a single subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> GetSubpropertyEventFilterAsync(string name, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456 |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "properties/[PROPERTY]/subpropertyEventFilters/[SUB_PROPERTY_EVENT_FILTER]";
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.GetSubpropertyEventFilterAsync(name);
ListAccessBindings(AccountName, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindings(AccountName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccountName parent = AccountName.FromAccount("[ACCOUNT]");
// Make the request
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindings(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AccessBinding item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccessBindingsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindings(ListAccessBindingsRequest, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindings(ListAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListAccessBindingsRequest request = new ListAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindings(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AccessBinding item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccessBindingsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindings(PropertyName, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindings(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindings(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AccessBinding item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccessBindingsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindings(string, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "accounts/[ACCOUNT]";
// Make the request
PagedEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindings(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AccessBinding item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccessBindingsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindingsAsync(AccountName, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindingsAsync(AccountName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccountName | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable asynchronous sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccountName parent = AccountName.FromAccount("[ACCOUNT]");
// Make the request
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindingsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AccessBinding item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccessBindingsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindingsAsync(ListAccessBindingsRequest, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindingsAsync(ListAccessBindingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAccessBindingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable asynchronous sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListAccessBindingsRequest request = new ListAccessBindingsRequest
{
ParentAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
};
// Make the request
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindingsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AccessBinding item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccessBindingsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindingsAsync(PropertyName, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindingsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable asynchronous sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindingsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AccessBinding item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccessBindingsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccessBindingsAsync(string, string, int?, CallSettings)
Lists all access bindings on an account or property.
Declaration
public virtual PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> ListAccessBindingsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Formats:
|
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> | A pageable asynchronous sequence of AccessBinding resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "accounts/[ACCOUNT]";
// Make the request
PagedAsyncEnumerable<ListAccessBindingsResponse, AccessBinding> response = analyticsAdminServiceClient.ListAccessBindingsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AccessBinding item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccessBindingsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccessBinding item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccessBinding> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccessBinding item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccountSummaries(ListAccountSummariesRequest, CallSettings)
Returns summaries of all accounts accessible by the caller.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccountSummariesResponse, AccountSummary> | A pageable sequence of AccountSummary resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListAccountSummariesRequest request = new ListAccountSummariesRequest { };
// Make the request
PagedEnumerable<ListAccountSummariesResponse, AccountSummary> response = analyticsAdminServiceClient.ListAccountSummaries(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AccountSummary item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccountSummariesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccountSummary item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccountSummary> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccountSummary item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAccountSummariesAsync(ListAccountSummariesRequest, CallSettings)
Returns summaries of all accounts accessible by the caller.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccountSummariesResponse, AccountSummary> | A pageable asynchronous sequence of AccountSummary resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListAccountSummariesRequest request = new ListAccountSummariesRequest { };
// Make the request
PagedAsyncEnumerable<ListAccountSummariesResponse, AccountSummary> response = analyticsAdminServiceClient.ListAccountSummariesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AccountSummary item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccountSummariesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AccountSummary item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AccountSummary> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AccountSummary item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
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 virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAccountsResponse, Account> | A pageable sequence of Account resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListAccountsRequest request = new ListAccountsRequest { ShowDeleted = false, };
// Make the request
PagedEnumerable<ListAccountsResponse, Account> response = analyticsAdminServiceClient.ListAccounts(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Account item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAccountsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Account item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Account> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Account item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
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 virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAccountsResponse, Account> | A pageable asynchronous sequence of Account resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListAccountsRequest request = new ListAccountsRequest { ShowDeleted = false, };
// Make the request
PagedAsyncEnumerable<ListAccountsResponse, Account> response = analyticsAdminServiceClient.ListAccountsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Account item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAccountsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Account item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Account> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Account item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinks(ListAdSenseLinksRequest, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinks(ListAdSenseLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAdSenseLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListAdSenseLinksRequest request = new ListAdSenseLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AdSenseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAdSenseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinks(PropertyName, string, int?, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AdSenseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAdSenseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinks(string, string, int?, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AdSenseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAdSenseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinksAsync(ListAdSenseLinksRequest, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinksAsync(ListAdSenseLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAdSenseLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable asynchronous sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListAdSenseLinksRequest request = new ListAdSenseLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AdSenseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAdSenseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinksAsync(PropertyName, string, int?, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable asynchronous sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AdSenseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAdSenseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAdSenseLinksAsync(string, string, int?, CallSettings)
Lists AdSenseLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> ListAdSenseLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> | A pageable asynchronous sequence of AdSenseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListAdSenseLinksResponse, AdSenseLink> response = analyticsAdminServiceClient.ListAdSenseLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AdSenseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAdSenseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AdSenseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AdSenseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AdSenseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiences(ListAudiencesRequest, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedEnumerable<ListAudiencesResponse, Audience> ListAudiences(ListAudiencesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAudiencesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAudiencesResponse, Audience> | A pageable sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListAudiencesRequest request = new ListAudiencesRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiences(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Audience item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAudiencesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiences(PropertyName, string, int?, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedEnumerable<ListAudiencesResponse, Audience> ListAudiences(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAudiencesResponse, Audience> | A pageable sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiences(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Audience item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAudiencesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiences(string, string, int?, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedEnumerable<ListAudiencesResponse, Audience> ListAudiences(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListAudiencesResponse, Audience> | A pageable sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiences(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Audience item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAudiencesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiencesAsync(ListAudiencesRequest, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedAsyncEnumerable<ListAudiencesResponse, Audience> ListAudiencesAsync(ListAudiencesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListAudiencesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAudiencesResponse, Audience> | A pageable asynchronous sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListAudiencesRequest request = new ListAudiencesRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiencesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Audience item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAudiencesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiencesAsync(PropertyName, string, int?, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedAsyncEnumerable<ListAudiencesResponse, Audience> ListAudiencesAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAudiencesResponse, Audience> | A pageable asynchronous sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiencesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Audience item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAudiencesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAudiencesAsync(string, string, int?, CallSettings)
Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
Declaration
public virtual PagedAsyncEnumerable<ListAudiencesResponse, Audience> ListAudiencesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListAudiencesResponse, Audience> | A pageable asynchronous sequence of Audience resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListAudiencesResponse, Audience> response = analyticsAdminServiceClient.ListAudiencesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Audience item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAudiencesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Audience item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Audience> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Audience item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinks(ListBigQueryLinksRequest, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinks(ListBigQueryLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListBigQueryLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListBigQueryLinksRequest request = new ListBigQueryLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (BigQueryLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBigQueryLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinks(PropertyName, string, int?, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (BigQueryLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBigQueryLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinks(string, string, int?, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (BigQueryLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListBigQueryLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinksAsync(ListBigQueryLinksRequest, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinksAsync(ListBigQueryLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListBigQueryLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable asynchronous sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListBigQueryLinksRequest request = new ListBigQueryLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BigQueryLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBigQueryLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinksAsync(PropertyName, string, int?, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable asynchronous sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BigQueryLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBigQueryLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListBigQueryLinksAsync(string, string, int?, CallSettings)
Lists BigQuery Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> ListBigQueryLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> | A pageable asynchronous sequence of BigQueryLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListBigQueryLinksResponse, BigQueryLink> response = analyticsAdminServiceClient.ListBigQueryLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((BigQueryLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListBigQueryLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (BigQueryLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<BigQueryLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (BigQueryLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetrics(ListCalculatedMetricsRequest, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetrics(ListCalculatedMetricsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCalculatedMetricsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListCalculatedMetricsRequest request = new ListCalculatedMetricsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetrics(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CalculatedMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCalculatedMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetrics(PropertyName, string, int?, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetrics(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetrics(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CalculatedMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCalculatedMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetrics(string, string, int?, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetrics(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetrics(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CalculatedMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCalculatedMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetricsAsync(ListCalculatedMetricsRequest, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetricsAsync(ListCalculatedMetricsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCalculatedMetricsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable asynchronous sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListCalculatedMetricsRequest request = new ListCalculatedMetricsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetricsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CalculatedMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCalculatedMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetricsAsync(PropertyName, string, int?, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetricsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable asynchronous sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetricsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CalculatedMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCalculatedMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCalculatedMetricsAsync(string, string, int?, CallSettings)
Lists CalculatedMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> ListCalculatedMetricsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> | A pageable asynchronous sequence of CalculatedMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListCalculatedMetricsResponse, CalculatedMetric> response = analyticsAdminServiceClient.ListCalculatedMetricsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CalculatedMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCalculatedMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CalculatedMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CalculatedMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CalculatedMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroups(ListChannelGroupsRequest, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroups(ListChannelGroupsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListChannelGroupsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListChannelGroupsRequest request = new ListChannelGroupsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroups(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ChannelGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListChannelGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroups(PropertyName, string, int?, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroups(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to list ChannelGroups. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ChannelGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListChannelGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroups(string, string, int?, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to list ChannelGroups. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ChannelGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListChannelGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroupsAsync(ListChannelGroupsRequest, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroupsAsync(ListChannelGroupsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListChannelGroupsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable asynchronous sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListChannelGroupsRequest request = new ListChannelGroupsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroupsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ChannelGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListChannelGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroupsAsync(PropertyName, string, int?, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroupsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The property for which to list ChannelGroups. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable asynchronous sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ChannelGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListChannelGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListChannelGroupsAsync(string, string, int?, CallSettings)
Lists ChannelGroups on a property.
Declaration
public virtual PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> ListChannelGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The property for which to list ChannelGroups. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> | A pageable asynchronous sequence of ChannelGroup resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListChannelGroupsResponse, ChannelGroup> response = analyticsAdminServiceClient.ListChannelGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ChannelGroup item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListChannelGroupsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChannelGroup item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChannelGroup> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChannelGroup item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConnectedSiteTags(ListConnectedSiteTagsRequest, CallSettings)
Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.
Declaration
public virtual ListConnectedSiteTagsResponse ListConnectedSiteTags(ListConnectedSiteTagsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConnectedSiteTagsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ListConnectedSiteTagsResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListConnectedSiteTagsRequest request = new ListConnectedSiteTagsRequest { Property = "", };
// Make the request
ListConnectedSiteTagsResponse response = analyticsAdminServiceClient.ListConnectedSiteTags(request);
ListConnectedSiteTagsAsync(ListConnectedSiteTagsRequest, CallSettings)
Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.
Declaration
public virtual Task<ListConnectedSiteTagsResponse> ListConnectedSiteTagsAsync(ListConnectedSiteTagsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConnectedSiteTagsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ListConnectedSiteTagsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListConnectedSiteTagsRequest request = new ListConnectedSiteTagsRequest { Property = "", };
// Make the request
ListConnectedSiteTagsResponse response = await analyticsAdminServiceClient.ListConnectedSiteTagsAsync(request);
ListConnectedSiteTagsAsync(ListConnectedSiteTagsRequest, CancellationToken)
Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.
Declaration
public virtual Task<ListConnectedSiteTagsResponse> ListConnectedSiteTagsAsync(ListConnectedSiteTagsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListConnectedSiteTagsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ListConnectedSiteTagsResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListConnectedSiteTagsRequest request = new ListConnectedSiteTagsRequest { Property = "", };
// Make the request
ListConnectedSiteTagsResponse response = await analyticsAdminServiceClient.ListConnectedSiteTagsAsync(request);
ListConversionEvents(ListConversionEventsRequest, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEvents(ListConversionEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConversionEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListConversionEventsRequest request = new ListConversionEventsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEvents(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
foreach (ConversionEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListConversionEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConversionEvents(PropertyName, string, int?, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEvents(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEvents(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
foreach (ConversionEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListConversionEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConversionEvents(string, string, int?, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEvents(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEvents(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
foreach (ConversionEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListConversionEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConversionEventsAsync(ListConversionEventsRequest, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEventsAsync(ListConversionEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListConversionEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable asynchronous sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListConversionEventsRequest request = new ListConversionEventsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEventsAsync(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ConversionEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListConversionEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConversionEventsAsync(PropertyName, string, int?, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEventsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable asynchronous sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEventsAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ConversionEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListConversionEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListConversionEventsAsync(string, string, int?, CallSettings)
Deprecated: Use ListKeyEvents
instead.
Returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
Declaration
[Obsolete]
public virtual PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> ListConversionEventsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> | A pageable asynchronous sequence of ConversionEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListConversionEventsResponse, ConversionEvent> response = analyticsAdminServiceClient.ListConversionEventsAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ConversionEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListConversionEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ConversionEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ConversionEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ConversionEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensions(ListCustomDimensionsRequest, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensions(ListCustomDimensionsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomDimensionsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListCustomDimensionsRequest request = new ListCustomDimensionsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomDimension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomDimensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensions(PropertyName, string, int?, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensions(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomDimension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomDimensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensions(string, string, int?, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomDimension item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomDimensionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensionsAsync(ListCustomDimensionsRequest, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensionsAsync(ListCustomDimensionsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomDimensionsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable asynchronous sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListCustomDimensionsRequest request = new ListCustomDimensionsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomDimension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomDimensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensionsAsync(PropertyName, string, int?, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensionsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable asynchronous sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomDimension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomDimensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomDimensionsAsync(string, string, int?, CallSettings)
Lists CustomDimensions on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> ListCustomDimensionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> | A pageable asynchronous sequence of CustomDimension resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListCustomDimensionsResponse, CustomDimension> response = analyticsAdminServiceClient.ListCustomDimensionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomDimension item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomDimensionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomDimension item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomDimension> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomDimension item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetrics(ListCustomMetricsRequest, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetrics(ListCustomMetricsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomMetricsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListCustomMetricsRequest request = new ListCustomMetricsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetrics(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetrics(PropertyName, string, int?, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetrics(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetrics(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetrics(string, string, int?, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetrics(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetrics(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CustomMetric item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCustomMetricsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetricsAsync(ListCustomMetricsRequest, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetricsAsync(ListCustomMetricsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomMetricsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable asynchronous sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListCustomMetricsRequest request = new ListCustomMetricsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetricsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetricsAsync(PropertyName, string, int?, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetricsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable asynchronous sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetricsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCustomMetricsAsync(string, string, int?, CallSettings)
Lists CustomMetrics on a property.
Declaration
public virtual PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> ListCustomMetricsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> | A pageable asynchronous sequence of CustomMetric resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListCustomMetricsResponse, CustomMetric> response = analyticsAdminServiceClient.ListCustomMetricsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CustomMetric item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCustomMetricsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CustomMetric item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CustomMetric> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CustomMetric item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreams(ListDataStreamsRequest, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedEnumerable<ListDataStreamsResponse, DataStream> ListDataStreams(ListDataStreamsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDataStreamsResponse, DataStream> | A pageable sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListDataStreamsRequest request = new ListDataStreamsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreams(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DataStream item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataStreamsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreams(PropertyName, string, int?, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedEnumerable<ListDataStreamsResponse, DataStream> ListDataStreams(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDataStreamsResponse, DataStream> | A pageable sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreams(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DataStream item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataStreamsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreams(string, string, int?, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedEnumerable<ListDataStreamsResponse, DataStream> ListDataStreams(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDataStreamsResponse, DataStream> | A pageable sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreams(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DataStream item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDataStreamsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreamsAsync(ListDataStreamsRequest, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> ListDataStreamsAsync(ListDataStreamsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDataStreamsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> | A pageable asynchronous sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListDataStreamsRequest request = new ListDataStreamsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreamsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataStream item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataStreamsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreamsAsync(PropertyName, string, int?, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> ListDataStreamsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> | A pageable asynchronous sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreamsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataStream item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataStreamsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDataStreamsAsync(string, string, int?, CallSettings)
Lists DataStreams on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> ListDataStreamsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> | A pageable asynchronous sequence of DataStream resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListDataStreamsResponse, DataStream> response = analyticsAdminServiceClient.ListDataStreamsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DataStream item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDataStreamsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DataStream item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DataStream> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DataStream item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDisplayVideo360AdvertiserLinkProposalsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListDisplayVideo360AdvertiserLinkProposalsRequest request = new ListDisplayVideo360AdvertiserLinkProposalsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposals(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLinkProposal item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinkProposalsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposals(PropertyName, string, int?, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposals(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposals(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLinkProposal item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinkProposalsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposals(string, string, int?, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposals(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposals(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLinkProposal item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinkProposalsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposalsAsync(ListDisplayVideo360AdvertiserLinkProposalsRequest, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposalsAsync(ListDisplayVideo360AdvertiserLinkProposalsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDisplayVideo360AdvertiserLinkProposalsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListDisplayVideo360AdvertiserLinkProposalsRequest request = new ListDisplayVideo360AdvertiserLinkProposalsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLinkProposal item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinkProposalsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposalsAsync(PropertyName, string, int?, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposalsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLinkProposal item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinkProposalsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinkProposalsAsync(string, string, int?, CallSettings)
Lists DisplayVideo360AdvertiserLinkProposals on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> ListDisplayVideo360AdvertiserLinkProposalsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLinkProposal resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinkProposalsResponse, DisplayVideo360AdvertiserLinkProposal> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLinkProposal item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinkProposalsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLinkProposal item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLinkProposal> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLinkProposal item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDisplayVideo360AdvertiserLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListDisplayVideo360AdvertiserLinksRequest request = new ListDisplayVideo360AdvertiserLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinks(PropertyName, string, int?, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinks(string, string, int?, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DisplayVideo360AdvertiserLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDisplayVideo360AdvertiserLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinksAsync(ListDisplayVideo360AdvertiserLinksRequest, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinksAsync(ListDisplayVideo360AdvertiserLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDisplayVideo360AdvertiserLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListDisplayVideo360AdvertiserLinksRequest request = new ListDisplayVideo360AdvertiserLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinksAsync(PropertyName, string, int?, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListDisplayVideo360AdvertiserLinksAsync(string, string, int?, CallSettings)
Lists all DisplayVideo360AdvertiserLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> ListDisplayVideo360AdvertiserLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> | A pageable asynchronous sequence of DisplayVideo360AdvertiserLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListDisplayVideo360AdvertiserLinksResponse, DisplayVideo360AdvertiserLink> response = analyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DisplayVideo360AdvertiserLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDisplayVideo360AdvertiserLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DisplayVideo360AdvertiserLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DisplayVideo360AdvertiserLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DisplayVideo360AdvertiserLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRules(DataStreamName, string, int?, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRules(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventCreateRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventCreateRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRules(ListEventCreateRulesRequest, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRules(ListEventCreateRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEventCreateRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListEventCreateRulesRequest request = new ListEventCreateRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRules(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventCreateRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventCreateRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRules(string, string, int?, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRules(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventCreateRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventCreateRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRulesAsync(DataStreamName, string, int?, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRulesAsync(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable asynchronous sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventCreateRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventCreateRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRulesAsync(ListEventCreateRulesRequest, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRulesAsync(ListEventCreateRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEventCreateRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable asynchronous sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListEventCreateRulesRequest request = new ListEventCreateRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRulesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventCreateRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventCreateRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventCreateRulesAsync(string, string, int?, CallSettings)
Lists EventCreateRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> ListEventCreateRulesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> | A pageable asynchronous sequence of EventCreateRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedAsyncEnumerable<ListEventCreateRulesResponse, EventCreateRule> response = analyticsAdminServiceClient.ListEventCreateRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventCreateRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventCreateRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventCreateRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventCreateRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventCreateRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRules(DataStreamName, string, int?, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRules(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventEditRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventEditRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRules(ListEventEditRulesRequest, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRules(ListEventEditRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEventEditRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListEventEditRulesRequest request = new ListEventEditRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRules(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventEditRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventEditRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRules(string, string, int?, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRules(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRules(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (EventEditRule item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListEventEditRulesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRulesAsync(DataStreamName, string, int?, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRulesAsync(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable asynchronous sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventEditRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventEditRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRulesAsync(ListEventEditRulesRequest, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRulesAsync(ListEventEditRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListEventEditRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable asynchronous sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListEventEditRulesRequest request = new ListEventEditRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRulesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventEditRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventEditRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListEventEditRulesAsync(string, string, int?, CallSettings)
Lists EventEditRules on a web data stream.
Declaration
public virtual PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> ListEventEditRulesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/123/dataStreams/456 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> | A pageable asynchronous sequence of EventEditRule resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedAsyncEnumerable<ListEventEditRulesResponse, EventEditRule> response = analyticsAdminServiceClient.ListEventEditRulesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EventEditRule item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEventEditRulesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (EventEditRule item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<EventEditRule> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (EventEditRule item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSets(ListExpandedDataSetsRequest, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSets(ListExpandedDataSetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListExpandedDataSetsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListExpandedDataSetsRequest request = new ListExpandedDataSetsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSets(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExpandedDataSet item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListExpandedDataSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSets(PropertyName, string, int?, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSets(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExpandedDataSet item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListExpandedDataSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSets(string, string, int?, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ExpandedDataSet item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListExpandedDataSetsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSetsAsync(ListExpandedDataSetsRequest, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSetsAsync(ListExpandedDataSetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListExpandedDataSetsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable asynchronous sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListExpandedDataSetsRequest request = new ListExpandedDataSetsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSetsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExpandedDataSet item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListExpandedDataSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSetsAsync(PropertyName, string, int?, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSetsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable asynchronous sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExpandedDataSet item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListExpandedDataSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListExpandedDataSetsAsync(string, string, int?, CallSettings)
Lists ExpandedDataSets on a property.
Declaration
public virtual PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> ListExpandedDataSetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> | A pageable asynchronous sequence of ExpandedDataSet resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListExpandedDataSetsResponse, ExpandedDataSet> response = analyticsAdminServiceClient.ListExpandedDataSetsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ExpandedDataSet item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListExpandedDataSetsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ExpandedDataSet item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ExpandedDataSet> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ExpandedDataSet item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinks(ListFirebaseLinksRequest, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinks(ListFirebaseLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListFirebaseLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListFirebaseLinksRequest request = new ListFirebaseLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (FirebaseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFirebaseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinks(PropertyName, string, int?, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FirebaseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFirebaseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinks(string, string, int?, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (FirebaseLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListFirebaseLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinksAsync(ListFirebaseLinksRequest, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinksAsync(ListFirebaseLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListFirebaseLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable asynchronous sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListFirebaseLinksRequest request = new ListFirebaseLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FirebaseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFirebaseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinksAsync(PropertyName, string, int?, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Format: properties/{property_id} Example: |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable asynchronous sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FirebaseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFirebaseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListFirebaseLinksAsync(string, string, int?, CallSettings)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
Declaration
public virtual PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> ListFirebaseLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Format: properties/{property_id} Example: |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> | A pageable asynchronous sequence of FirebaseLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListFirebaseLinksResponse, FirebaseLink> response = analyticsAdminServiceClient.ListFirebaseLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((FirebaseLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListFirebaseLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (FirebaseLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<FirebaseLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (FirebaseLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinks(ListGoogleAdsLinksRequest, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListGoogleAdsLinksRequest request = new ListGoogleAdsLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (GoogleAdsLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListGoogleAdsLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinks(PropertyName, string, int?, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (GoogleAdsLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListGoogleAdsLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinks(string, string, int?, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (GoogleAdsLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListGoogleAdsLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinksAsync(ListGoogleAdsLinksRequest, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable asynchronous sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListGoogleAdsLinksRequest request = new ListGoogleAdsLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GoogleAdsLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListGoogleAdsLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinksAsync(PropertyName, string, int?, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable asynchronous sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GoogleAdsLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListGoogleAdsLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListGoogleAdsLinksAsync(string, string, int?, CallSettings)
Lists GoogleAdsLinks on a property.
Declaration
public virtual PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> ListGoogleAdsLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> | A pageable asynchronous sequence of GoogleAdsLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListGoogleAdsLinksResponse, GoogleAdsLink> response = analyticsAdminServiceClient.ListGoogleAdsLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((GoogleAdsLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListGoogleAdsLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (GoogleAdsLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<GoogleAdsLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (GoogleAdsLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEvents(ListKeyEventsRequest, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEvents(ListKeyEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListKeyEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListKeyEventsRequest request = new ListKeyEventsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEvents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (KeyEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListKeyEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEvents(PropertyName, string, int?, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEvents(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEvents(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (KeyEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListKeyEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEvents(string, string, int?, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEvents(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEvents(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (KeyEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListKeyEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEventsAsync(ListKeyEventsRequest, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEventsAsync(ListKeyEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListKeyEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable asynchronous sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListKeyEventsRequest request = new ListKeyEventsRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEventsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((KeyEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListKeyEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEventsAsync(PropertyName, string, int?, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEventsAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable asynchronous sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEventsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((KeyEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListKeyEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListKeyEventsAsync(string, string, int?, CallSettings)
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
Declaration
public virtual PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> ListKeyEventsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent property. Example: 'properties/123' |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> | A pageable asynchronous sequence of KeyEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListKeyEventsResponse, KeyEvent> response = analyticsAdminServiceClient.ListKeyEventsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((KeyEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListKeyEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (KeyEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<KeyEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (KeyEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecrets(DataStreamName, string, int?, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecrets(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecrets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MeasurementProtocolSecret item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMeasurementProtocolSecretsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListMeasurementProtocolSecretsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListMeasurementProtocolSecretsRequest request = new ListMeasurementProtocolSecretsRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecrets(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MeasurementProtocolSecret item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMeasurementProtocolSecretsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecrets(string, string, int?, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecrets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecrets(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MeasurementProtocolSecret item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListMeasurementProtocolSecretsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecretsAsync(DataStreamName, string, int?, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecretsAsync(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable asynchronous sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecretsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MeasurementProtocolSecret item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMeasurementProtocolSecretsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListMeasurementProtocolSecretsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable asynchronous sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListMeasurementProtocolSecretsRequest request = new ListMeasurementProtocolSecretsRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecretsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MeasurementProtocolSecret item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMeasurementProtocolSecretsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListMeasurementProtocolSecretsAsync(string, string, int?, CallSettings)
Returns child MeasurementProtocolSecrets under the specified parent Property.
Declaration
public virtual PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> ListMeasurementProtocolSecretsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> | A pageable asynchronous sequence of MeasurementProtocolSecret resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedAsyncEnumerable<ListMeasurementProtocolSecretsResponse, MeasurementProtocolSecret> response = analyticsAdminServiceClient.ListMeasurementProtocolSecretsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((MeasurementProtocolSecret item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListMeasurementProtocolSecretsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MeasurementProtocolSecret item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<MeasurementProtocolSecret> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (MeasurementProtocolSecret item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
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 virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListPropertiesResponse, Property> | A pageable sequence of Property resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListPropertiesRequest request = new ListPropertiesRequest
{
Filter = "",
ShowDeleted = false,
};
// Make the request
PagedEnumerable<ListPropertiesResponse, Property> response = analyticsAdminServiceClient.ListProperties(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Property item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListPropertiesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Property item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Property> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Property item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
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 virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListPropertiesResponse, Property> | A pageable asynchronous sequence of Property resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListPropertiesRequest request = new ListPropertiesRequest
{
Filter = "",
ShowDeleted = false,
};
// Make the request
PagedAsyncEnumerable<ListPropertiesResponse, Property> response = analyticsAdminServiceClient.ListPropertiesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Property item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListPropertiesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Property item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Property> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Property item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListRollupPropertySourceLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListRollupPropertySourceLinksRequest request = new ListRollupPropertySourceLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (RollupPropertySourceLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRollupPropertySourceLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinks(PropertyName, string, int?, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinks(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (RollupPropertySourceLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRollupPropertySourceLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinks(string, string, int?, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (RollupPropertySourceLink item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListRollupPropertySourceLinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinksAsync(ListRollupPropertySourceLinksRequest, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinksAsync(ListRollupPropertySourceLinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListRollupPropertySourceLinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable asynchronous sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListRollupPropertySourceLinksRequest request = new ListRollupPropertySourceLinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((RollupPropertySourceLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRollupPropertySourceLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinksAsync(PropertyName, string, int?, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable asynchronous sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((RollupPropertySourceLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRollupPropertySourceLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRollupPropertySourceLinksAsync(string, string, int?, CallSettings)
Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
Declaration
public virtual PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> ListRollupPropertySourceLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> | A pageable asynchronous sequence of RollupPropertySourceLink resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListRollupPropertySourceLinksResponse, RollupPropertySourceLink> response = analyticsAdminServiceClient.ListRollupPropertySourceLinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((RollupPropertySourceLink item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRollupPropertySourceLinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (RollupPropertySourceLink item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<RollupPropertySourceLink> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (RollupPropertySourceLink item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemas(DataStreamName, string, int?, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemas(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemas(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SKAdNetworkConversionValueSchema item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSKAdNetworkConversionValueSchemasResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSKAdNetworkConversionValueSchemasRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListSKAdNetworkConversionValueSchemasRequest request = new ListSKAdNetworkConversionValueSchemasRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemas(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SKAdNetworkConversionValueSchema item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSKAdNetworkConversionValueSchemasResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemas(string, string, int?, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemas(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemas(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SKAdNetworkConversionValueSchema item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSKAdNetworkConversionValueSchemasResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemasAsync(DataStreamName, string, int?, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemasAsync(DataStreamName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStreamName | parent | Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable asynchronous sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStreamName parent = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]");
// Make the request
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemasAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SKAdNetworkConversionValueSchema item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSKAdNetworkConversionValueSchemasResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemasAsync(ListSKAdNetworkConversionValueSchemasRequest, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemasAsync(ListSKAdNetworkConversionValueSchemasRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSKAdNetworkConversionValueSchemasRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable asynchronous sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListSKAdNetworkConversionValueSchemasRequest request = new ListSKAdNetworkConversionValueSchemasRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
};
// Make the request
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemasAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SKAdNetworkConversionValueSchema item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSKAdNetworkConversionValueSchemasResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSKAdNetworkConversionValueSchemasAsync(string, string, int?, CallSettings)
Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
Declaration
public virtual PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> ListSKAdNetworkConversionValueSchemasAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> | A pageable asynchronous sequence of SKAdNetworkConversionValueSchema resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]/dataStreams/[DATA_STREAM]";
// Make the request
PagedAsyncEnumerable<ListSKAdNetworkConversionValueSchemasResponse, SKAdNetworkConversionValueSchema> response = analyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemasAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SKAdNetworkConversionValueSchema item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSKAdNetworkConversionValueSchemasResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SKAdNetworkConversionValueSchema item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SKAdNetworkConversionValueSchema> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SKAdNetworkConversionValueSchema item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360Links(ListSearchAds360LinksRequest, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360Links(ListSearchAds360LinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSearchAds360LinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListSearchAds360LinksRequest request = new ListSearchAds360LinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360Links(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchAds360Link item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSearchAds360LinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360Links(PropertyName, string, int?, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360Links(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360Links(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchAds360Link item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSearchAds360LinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360Links(string, string, int?, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360Links(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360Links(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchAds360Link item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSearchAds360LinksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360LinksAsync(ListSearchAds360LinksRequest, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360LinksAsync(ListSearchAds360LinksRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSearchAds360LinksRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable asynchronous sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListSearchAds360LinksRequest request = new ListSearchAds360LinksRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360LinksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchAds360Link item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSearchAds360LinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360LinksAsync(PropertyName, string, int?, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360LinksAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable asynchronous sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360LinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchAds360Link item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSearchAds360LinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSearchAds360LinksAsync(string, string, int?, CallSettings)
Lists all SearchAds360Links on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> ListSearchAds360LinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> | A pageable asynchronous sequence of SearchAds360Link resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListSearchAds360LinksResponse, SearchAds360Link> response = analyticsAdminServiceClient.ListSearchAds360LinksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchAds360Link item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSearchAds360LinksResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchAds360Link item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchAds360Link> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchAds360Link item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFilters(ListSubpropertyEventFiltersRequest, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFilters(ListSubpropertyEventFiltersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSubpropertyEventFiltersRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ListSubpropertyEventFiltersRequest request = new ListSubpropertyEventFiltersRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFilters(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SubpropertyEventFilter item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSubpropertyEventFiltersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFilters(PropertyName, string, int?, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFilters(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFilters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SubpropertyEventFilter item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSubpropertyEventFiltersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFilters(string, string, int?, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFilters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFilters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SubpropertyEventFilter item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSubpropertyEventFiltersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFiltersAsync(ListSubpropertyEventFiltersRequest, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFiltersAsync(ListSubpropertyEventFiltersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListSubpropertyEventFiltersRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable asynchronous sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ListSubpropertyEventFiltersRequest request = new ListSubpropertyEventFiltersRequest
{
ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
};
// Make the request
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFiltersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SubpropertyEventFilter item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSubpropertyEventFiltersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFiltersAsync(PropertyName, string, int?, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFiltersAsync(PropertyName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
PropertyName | parent | Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable asynchronous sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
PropertyName parent = PropertyName.FromProperty("[PROPERTY]");
// Make the request
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFiltersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SubpropertyEventFilter item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSubpropertyEventFiltersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSubpropertyEventFiltersAsync(string, string, int?, CallSettings)
List all subproperty Event Filters on a property.
Declaration
public virtual PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> ListSubpropertyEventFiltersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123 |
string | pageToken | The token returned from the previous request. A value of |
int? | pageSize | The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> | A pageable asynchronous sequence of SubpropertyEventFilter resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "properties/[PROPERTY]";
// Make the request
PagedAsyncEnumerable<ListSubpropertyEventFiltersResponse, SubpropertyEventFilter> response = analyticsAdminServiceClient.ListSubpropertyEventFiltersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SubpropertyEventFilter item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSubpropertyEventFiltersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SubpropertyEventFilter item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SubpropertyEventFilter> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SubpropertyEventFilter item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ProvisionAccountTicket(ProvisionAccountTicketRequest, CallSettings)
Requests a ticket for creating an account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ProvisionAccountTicketResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ProvisionAccountTicketRequest request = new ProvisionAccountTicketRequest
{
Account = new Account(),
RedirectUri = "",
};
// Make the request
ProvisionAccountTicketResponse response = analyticsAdminServiceClient.ProvisionAccountTicket(request);
ProvisionAccountTicketAsync(ProvisionAccountTicketRequest, CallSettings)
Requests a ticket for creating an account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ProvisionAccountTicketResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ProvisionAccountTicketRequest request = new ProvisionAccountTicketRequest
{
Account = new Account(),
RedirectUri = "",
};
// Make the request
ProvisionAccountTicketResponse response = await analyticsAdminServiceClient.ProvisionAccountTicketAsync(request);
ProvisionAccountTicketAsync(ProvisionAccountTicketRequest, CancellationToken)
Requests a ticket for creating an account.
Declaration
public virtual Task<ProvisionAccountTicketResponse> ProvisionAccountTicketAsync(ProvisionAccountTicketRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ProvisionAccountTicketRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ProvisionAccountTicketResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ProvisionAccountTicketRequest request = new ProvisionAccountTicketRequest
{
Account = new Account(),
RedirectUri = "",
};
// Make the request
ProvisionAccountTicketResponse response = await analyticsAdminServiceClient.ProvisionAccountTicketAsync(request);
ProvisionSubproperty(ProvisionSubpropertyRequest, CallSettings)
Create a subproperty and a subproperty event filter that applies to the created subproperty.
Declaration
public virtual ProvisionSubpropertyResponse ProvisionSubproperty(ProvisionSubpropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ProvisionSubpropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ProvisionSubpropertyResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ProvisionSubpropertyRequest request = new ProvisionSubpropertyRequest
{
Subproperty = new Property(),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
ProvisionSubpropertyResponse response = analyticsAdminServiceClient.ProvisionSubproperty(request);
ProvisionSubpropertyAsync(ProvisionSubpropertyRequest, CallSettings)
Create a subproperty and a subproperty event filter that applies to the created subproperty.
Declaration
public virtual Task<ProvisionSubpropertyResponse> ProvisionSubpropertyAsync(ProvisionSubpropertyRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ProvisionSubpropertyRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ProvisionSubpropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ProvisionSubpropertyRequest request = new ProvisionSubpropertyRequest
{
Subproperty = new Property(),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
ProvisionSubpropertyResponse response = await analyticsAdminServiceClient.ProvisionSubpropertyAsync(request);
ProvisionSubpropertyAsync(ProvisionSubpropertyRequest, CancellationToken)
Create a subproperty and a subproperty event filter that applies to the created subproperty.
Declaration
public virtual Task<ProvisionSubpropertyResponse> ProvisionSubpropertyAsync(ProvisionSubpropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ProvisionSubpropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ProvisionSubpropertyResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ProvisionSubpropertyRequest request = new ProvisionSubpropertyRequest
{
Subproperty = new Property(),
SubpropertyEventFilter = new SubpropertyEventFilter(),
};
// Make the request
ProvisionSubpropertyResponse response = await analyticsAdminServiceClient.ProvisionSubpropertyAsync(request);
ReorderEventEditRules(ReorderEventEditRulesRequest, CallSettings)
Changes the processing order of event edit rules on the specified stream.
Declaration
public virtual void ReorderEventEditRules(ReorderEventEditRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ReorderEventEditRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ReorderEventEditRulesRequest request = new ReorderEventEditRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRules = { "", },
};
// Make the request
analyticsAdminServiceClient.ReorderEventEditRules(request);
ReorderEventEditRulesAsync(ReorderEventEditRulesRequest, CallSettings)
Changes the processing order of event edit rules on the specified stream.
Declaration
public virtual Task ReorderEventEditRulesAsync(ReorderEventEditRulesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ReorderEventEditRulesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ReorderEventEditRulesRequest request = new ReorderEventEditRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRules = { "", },
};
// Make the request
await analyticsAdminServiceClient.ReorderEventEditRulesAsync(request);
ReorderEventEditRulesAsync(ReorderEventEditRulesRequest, CancellationToken)
Changes the processing order of event edit rules on the specified stream.
Declaration
public virtual Task ReorderEventEditRulesAsync(ReorderEventEditRulesRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ReorderEventEditRulesRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ReorderEventEditRulesRequest request = new ReorderEventEditRulesRequest
{
ParentAsDataStreamName = DataStreamName.FromPropertyDataStream("[PROPERTY]", "[DATA_STREAM]"),
EventEditRules = { "", },
};
// Make the request
await analyticsAdminServiceClient.ReorderEventEditRulesAsync(request);
RunAccessReport(RunAccessReportRequest, CallSettings)
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see searchChangeHistoryEvents.
Declaration
public virtual RunAccessReportResponse RunAccessReport(RunAccessReportRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RunAccessReportRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RunAccessReportResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
RunAccessReportRequest request = new RunAccessReportRequest
{
Entity = "",
Dimensions =
{
new AccessDimension(),
},
Metrics = { new AccessMetric(), },
DateRanges =
{
new AccessDateRange(),
},
DimensionFilter = new AccessFilterExpression(),
MetricFilter = new AccessFilterExpression(),
Offset = 0L,
Limit = 0L,
TimeZone = "",
OrderBys =
{
new AccessOrderBy(),
},
ReturnEntityQuota = false,
IncludeAllUsers = false,
ExpandGroups = false,
};
// Make the request
RunAccessReportResponse response = analyticsAdminServiceClient.RunAccessReport(request);
RunAccessReportAsync(RunAccessReportRequest, CallSettings)
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see searchChangeHistoryEvents.
Declaration
public virtual Task<RunAccessReportResponse> RunAccessReportAsync(RunAccessReportRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RunAccessReportRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RunAccessReportResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RunAccessReportRequest request = new RunAccessReportRequest
{
Entity = "",
Dimensions =
{
new AccessDimension(),
},
Metrics = { new AccessMetric(), },
DateRanges =
{
new AccessDateRange(),
},
DimensionFilter = new AccessFilterExpression(),
MetricFilter = new AccessFilterExpression(),
Offset = 0L,
Limit = 0L,
TimeZone = "",
OrderBys =
{
new AccessOrderBy(),
},
ReturnEntityQuota = false,
IncludeAllUsers = false,
ExpandGroups = false,
};
// Make the request
RunAccessReportResponse response = await analyticsAdminServiceClient.RunAccessReportAsync(request);
RunAccessReportAsync(RunAccessReportRequest, CancellationToken)
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see searchChangeHistoryEvents.
Declaration
public virtual Task<RunAccessReportResponse> RunAccessReportAsync(RunAccessReportRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
RunAccessReportRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<RunAccessReportResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
RunAccessReportRequest request = new RunAccessReportRequest
{
Entity = "",
Dimensions =
{
new AccessDimension(),
},
Metrics = { new AccessMetric(), },
DateRanges =
{
new AccessDateRange(),
},
DimensionFilter = new AccessFilterExpression(),
MetricFilter = new AccessFilterExpression(),
Offset = 0L,
Limit = 0L,
TimeZone = "",
OrderBys =
{
new AccessOrderBy(),
},
ReturnEntityQuota = false,
IncludeAllUsers = false,
ExpandGroups = false,
};
// Make the request
RunAccessReportResponse response = await analyticsAdminServiceClient.RunAccessReportAsync(request);
SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest, CallSettings)
Searches through all changes to an account or its children given the specified set of filters.
Declaration
public virtual PagedEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchChangeHistoryEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> | A pageable sequence of ChangeHistoryEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SearchChangeHistoryEventsRequest request = new SearchChangeHistoryEventsRequest
{
AccountAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ResourceType =
{
ChangeHistoryResourceType.Unspecified,
},
Action =
{
ActionType.Unspecified,
},
ActorEmail = { "", },
EarliestChangeTime = new Timestamp(),
LatestChangeTime = new Timestamp(),
};
// Make the request
PagedEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> response = analyticsAdminServiceClient.SearchChangeHistoryEvents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ChangeHistoryEvent item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchChangeHistoryEventsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChangeHistoryEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChangeHistoryEvent> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChangeHistoryEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest, CallSettings)
Searches through all changes to an account or its children given the specified set of filters.
Declaration
public virtual PagedAsyncEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> SearchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchChangeHistoryEventsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
PagedAsyncEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> | A pageable asynchronous sequence of ChangeHistoryEvent resources. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchChangeHistoryEventsRequest request = new SearchChangeHistoryEventsRequest
{
AccountAsAccountName = AccountName.FromAccount("[ACCOUNT]"),
PropertyAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
ResourceType =
{
ChangeHistoryResourceType.Unspecified,
},
Action =
{
ActionType.Unspecified,
},
ActorEmail = { "", },
EarliestChangeTime = new Timestamp(),
LatestChangeTime = new Timestamp(),
};
// Make the request
PagedAsyncEnumerable<SearchChangeHistoryEventsResponse, ChangeHistoryEvent> response = analyticsAdminServiceClient.SearchChangeHistoryEventsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ChangeHistoryEvent item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((SearchChangeHistoryEventsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ChangeHistoryEvent item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<ChangeHistoryEvent> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (ChangeHistoryEvent item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SetAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest, CallSettings)
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual SetAutomatedGa4ConfigurationOptOutResponse SetAutomatedGa4ConfigurationOptOut(SetAutomatedGa4ConfigurationOptOutRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SetAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SetAutomatedGa4ConfigurationOptOutResponse | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SetAutomatedGa4ConfigurationOptOutRequest request = new SetAutomatedGa4ConfigurationOptOutRequest
{
Property = "",
OptOut = false,
};
// Make the request
SetAutomatedGa4ConfigurationOptOutResponse response = analyticsAdminServiceClient.SetAutomatedGa4ConfigurationOptOut(request);
SetAutomatedGa4ConfigurationOptOutAsync(SetAutomatedGa4ConfigurationOptOutRequest, CallSettings)
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual Task<SetAutomatedGa4ConfigurationOptOutResponse> SetAutomatedGa4ConfigurationOptOutAsync(SetAutomatedGa4ConfigurationOptOutRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SetAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SetAutomatedGa4ConfigurationOptOutResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SetAutomatedGa4ConfigurationOptOutRequest request = new SetAutomatedGa4ConfigurationOptOutRequest
{
Property = "",
OptOut = false,
};
// Make the request
SetAutomatedGa4ConfigurationOptOutResponse response = await analyticsAdminServiceClient.SetAutomatedGa4ConfigurationOptOutAsync(request);
SetAutomatedGa4ConfigurationOptOutAsync(SetAutomatedGa4ConfigurationOptOutRequest, CancellationToken)
Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
Declaration
public virtual Task<SetAutomatedGa4ConfigurationOptOutResponse> SetAutomatedGa4ConfigurationOptOutAsync(SetAutomatedGa4ConfigurationOptOutRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SetAutomatedGa4ConfigurationOptOutRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SetAutomatedGa4ConfigurationOptOutResponse> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SetAutomatedGa4ConfigurationOptOutRequest request = new SetAutomatedGa4ConfigurationOptOutRequest
{
Property = "",
OptOut = false,
};
// Make the request
SetAutomatedGa4ConfigurationOptOutResponse response = await analyticsAdminServiceClient.SetAutomatedGa4ConfigurationOptOutAsync(request);
ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Declaration
public static Task ShutdownDefaultChannelsAsync()
Returns
Type | Description |
---|---|
Task | A task representing the asynchronous shutdown operation. |
Remarks
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateAccessBinding(AccessBinding, CallSettings)
Updates an access binding on an account or property.
Declaration
public virtual AccessBinding UpdateAccessBinding(AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBinding | accessBinding | Required. The access binding to update. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = analyticsAdminServiceClient.UpdateAccessBinding(accessBinding);
UpdateAccessBinding(UpdateAccessBindingRequest, CallSettings)
Updates an access binding on an account or property.
Declaration
public virtual AccessBinding UpdateAccessBinding(UpdateAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AccessBinding | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateAccessBindingRequest request = new UpdateAccessBindingRequest
{
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = analyticsAdminServiceClient.UpdateAccessBinding(request);
UpdateAccessBindingAsync(AccessBinding, CallSettings)
Updates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> UpdateAccessBindingAsync(AccessBinding accessBinding, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AccessBinding | accessBinding | Required. The access binding to update. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.UpdateAccessBindingAsync(accessBinding);
UpdateAccessBindingAsync(AccessBinding, CancellationToken)
Updates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> UpdateAccessBindingAsync(AccessBinding accessBinding, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AccessBinding | accessBinding | Required. The access binding to update. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AccessBinding accessBinding = new AccessBinding();
// Make the request
AccessBinding response = await analyticsAdminServiceClient.UpdateAccessBindingAsync(accessBinding);
UpdateAccessBindingAsync(UpdateAccessBindingRequest, CallSettings)
Updates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> UpdateAccessBindingAsync(UpdateAccessBindingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAccessBindingRequest request = new UpdateAccessBindingRequest
{
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.UpdateAccessBindingAsync(request);
UpdateAccessBindingAsync(UpdateAccessBindingRequest, CancellationToken)
Updates an access binding on an account or property.
Declaration
public virtual Task<AccessBinding> UpdateAccessBindingAsync(UpdateAccessBindingRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccessBindingRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AccessBinding> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAccessBindingRequest request = new UpdateAccessBindingRequest
{
AccessBinding = new AccessBinding(),
};
// Make the request
AccessBinding response = await analyticsAdminServiceClient.UpdateAccessBindingAsync(request);
UpdateAccount(Account, FieldMask, CallSettings)
Updates an account.
Declaration
public virtual Account UpdateAccount(Account account, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Account | account | Required. The account to update.
The account's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Account | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
Account account = new Account();
FieldMask updateMask = new FieldMask();
// Make the request
Account response = analyticsAdminServiceClient.UpdateAccount(account, updateMask);
UpdateAccount(UpdateAccountRequest, CallSettings)
Updates an account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Account | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateAccountRequest request = new UpdateAccountRequest
{
Account = new Account(),
UpdateMask = new FieldMask(),
};
// Make the request
Account response = analyticsAdminServiceClient.UpdateAccount(request);
UpdateAccountAsync(Account, FieldMask, CallSettings)
Updates an account.
Declaration
public virtual Task<Account> UpdateAccountAsync(Account account, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Account | account | Required. The account to update.
The account's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Account account = new Account();
FieldMask updateMask = new FieldMask();
// Make the request
Account response = await analyticsAdminServiceClient.UpdateAccountAsync(account, updateMask);
UpdateAccountAsync(Account, FieldMask, CancellationToken)
Updates an account.
Declaration
public virtual Task<Account> UpdateAccountAsync(Account account, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Account | account | Required. The account to update.
The account's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Account account = new Account();
FieldMask updateMask = new FieldMask();
// Make the request
Account response = await analyticsAdminServiceClient.UpdateAccountAsync(account, updateMask);
UpdateAccountAsync(UpdateAccountRequest, CallSettings)
Updates an account.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAccountRequest request = new UpdateAccountRequest
{
Account = new Account(),
UpdateMask = new FieldMask(),
};
// Make the request
Account response = await analyticsAdminServiceClient.UpdateAccountAsync(request);
UpdateAccountAsync(UpdateAccountRequest, CancellationToken)
Updates an account.
Declaration
public virtual Task<Account> UpdateAccountAsync(UpdateAccountRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Account> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAccountRequest request = new UpdateAccountRequest
{
Account = new Account(),
UpdateMask = new FieldMask(),
};
// Make the request
Account response = await analyticsAdminServiceClient.UpdateAccountAsync(request);
UpdateAttributionSettings(AttributionSettings, FieldMask, CallSettings)
Updates attribution settings on a property.
Declaration
public virtual AttributionSettings UpdateAttributionSettings(AttributionSettings attributionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettings | attributionSettings | Required. The attribution settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AttributionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
AttributionSettings attributionSettings = new AttributionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
AttributionSettings response = analyticsAdminServiceClient.UpdateAttributionSettings(attributionSettings, updateMask);
UpdateAttributionSettings(UpdateAttributionSettingsRequest, CallSettings)
Updates attribution settings on a property.
Declaration
public virtual AttributionSettings UpdateAttributionSettings(UpdateAttributionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
AttributionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateAttributionSettingsRequest request = new UpdateAttributionSettingsRequest
{
AttributionSettings = new AttributionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
AttributionSettings response = analyticsAdminServiceClient.UpdateAttributionSettings(request);
UpdateAttributionSettingsAsync(AttributionSettings, FieldMask, CallSettings)
Updates attribution settings on a property.
Declaration
public virtual Task<AttributionSettings> UpdateAttributionSettingsAsync(AttributionSettings attributionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettings | attributionSettings | Required. The attribution settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AttributionSettings attributionSettings = new AttributionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.UpdateAttributionSettingsAsync(attributionSettings, updateMask);
UpdateAttributionSettingsAsync(AttributionSettings, FieldMask, CancellationToken)
Updates attribution settings on a property.
Declaration
public virtual Task<AttributionSettings> UpdateAttributionSettingsAsync(AttributionSettings attributionSettings, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AttributionSettings | attributionSettings | Required. The attribution settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
AttributionSettings attributionSettings = new AttributionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.UpdateAttributionSettingsAsync(attributionSettings, updateMask);
UpdateAttributionSettingsAsync(UpdateAttributionSettingsRequest, CallSettings)
Updates attribution settings on a property.
Declaration
public virtual Task<AttributionSettings> UpdateAttributionSettingsAsync(UpdateAttributionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAttributionSettingsRequest request = new UpdateAttributionSettingsRequest
{
AttributionSettings = new AttributionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.UpdateAttributionSettingsAsync(request);
UpdateAttributionSettingsAsync(UpdateAttributionSettingsRequest, CancellationToken)
Updates attribution settings on a property.
Declaration
public virtual Task<AttributionSettings> UpdateAttributionSettingsAsync(UpdateAttributionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateAttributionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<AttributionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAttributionSettingsRequest request = new UpdateAttributionSettingsRequest
{
AttributionSettings = new AttributionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
AttributionSettings response = await analyticsAdminServiceClient.UpdateAttributionSettingsAsync(request);
UpdateAudience(Audience, FieldMask, CallSettings)
Updates an Audience on a property.
Declaration
public virtual Audience UpdateAudience(Audience audience, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Audience | audience | Required. The audience to update.
The audience's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
Audience audience = new Audience();
FieldMask updateMask = new FieldMask();
// Make the request
Audience response = analyticsAdminServiceClient.UpdateAudience(audience, updateMask);
UpdateAudience(UpdateAudienceRequest, CallSettings)
Updates an Audience on a property.
Declaration
public virtual Audience UpdateAudience(UpdateAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Audience | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateAudienceRequest request = new UpdateAudienceRequest
{
Audience = new Audience(),
UpdateMask = new FieldMask(),
};
// Make the request
Audience response = analyticsAdminServiceClient.UpdateAudience(request);
UpdateAudienceAsync(Audience, FieldMask, CallSettings)
Updates an Audience on a property.
Declaration
public virtual Task<Audience> UpdateAudienceAsync(Audience audience, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Audience | audience | Required. The audience to update.
The audience's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Audience audience = new Audience();
FieldMask updateMask = new FieldMask();
// Make the request
Audience response = await analyticsAdminServiceClient.UpdateAudienceAsync(audience, updateMask);
UpdateAudienceAsync(Audience, FieldMask, CancellationToken)
Updates an Audience on a property.
Declaration
public virtual Task<Audience> UpdateAudienceAsync(Audience audience, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Audience | audience | Required. The audience to update.
The audience's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Audience audience = new Audience();
FieldMask updateMask = new FieldMask();
// Make the request
Audience response = await analyticsAdminServiceClient.UpdateAudienceAsync(audience, updateMask);
UpdateAudienceAsync(UpdateAudienceRequest, CallSettings)
Updates an Audience on a property.
Declaration
public virtual Task<Audience> UpdateAudienceAsync(UpdateAudienceRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAudienceRequest request = new UpdateAudienceRequest
{
Audience = new Audience(),
UpdateMask = new FieldMask(),
};
// Make the request
Audience response = await analyticsAdminServiceClient.UpdateAudienceAsync(request);
UpdateAudienceAsync(UpdateAudienceRequest, CancellationToken)
Updates an Audience on a property.
Declaration
public virtual Task<Audience> UpdateAudienceAsync(UpdateAudienceRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateAudienceRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Audience> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateAudienceRequest request = new UpdateAudienceRequest
{
Audience = new Audience(),
UpdateMask = new FieldMask(),
};
// Make the request
Audience response = await analyticsAdminServiceClient.UpdateAudienceAsync(request);
UpdateBigQueryLink(BigQueryLink, FieldMask, CallSettings)
Updates a BigQueryLink.
Declaration
public virtual BigQueryLink UpdateBigQueryLink(BigQueryLink bigqueryLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLink | bigqueryLink | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
BigQueryLink bigqueryLink = new BigQueryLink();
FieldMask updateMask = new FieldMask();
// Make the request
BigQueryLink response = analyticsAdminServiceClient.UpdateBigQueryLink(bigqueryLink, updateMask);
UpdateBigQueryLink(UpdateBigQueryLinkRequest, CallSettings)
Updates a BigQueryLink.
Declaration
public virtual BigQueryLink UpdateBigQueryLink(UpdateBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
BigQueryLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateBigQueryLinkRequest request = new UpdateBigQueryLinkRequest
{
BigqueryLink = new BigQueryLink(),
UpdateMask = new FieldMask(),
};
// Make the request
BigQueryLink response = analyticsAdminServiceClient.UpdateBigQueryLink(request);
UpdateBigQueryLinkAsync(BigQueryLink, FieldMask, CallSettings)
Updates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> UpdateBigQueryLinkAsync(BigQueryLink bigqueryLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLink | bigqueryLink | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLink bigqueryLink = new BigQueryLink();
FieldMask updateMask = new FieldMask();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.UpdateBigQueryLinkAsync(bigqueryLink, updateMask);
UpdateBigQueryLinkAsync(BigQueryLink, FieldMask, CancellationToken)
Updates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> UpdateBigQueryLinkAsync(BigQueryLink bigqueryLink, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BigQueryLink | bigqueryLink | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
BigQueryLink bigqueryLink = new BigQueryLink();
FieldMask updateMask = new FieldMask();
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.UpdateBigQueryLinkAsync(bigqueryLink, updateMask);
UpdateBigQueryLinkAsync(UpdateBigQueryLinkRequest, CallSettings)
Updates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> UpdateBigQueryLinkAsync(UpdateBigQueryLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateBigQueryLinkRequest request = new UpdateBigQueryLinkRequest
{
BigqueryLink = new BigQueryLink(),
UpdateMask = new FieldMask(),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.UpdateBigQueryLinkAsync(request);
UpdateBigQueryLinkAsync(UpdateBigQueryLinkRequest, CancellationToken)
Updates a BigQueryLink.
Declaration
public virtual Task<BigQueryLink> UpdateBigQueryLinkAsync(UpdateBigQueryLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateBigQueryLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<BigQueryLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateBigQueryLinkRequest request = new UpdateBigQueryLinkRequest
{
BigqueryLink = new BigQueryLink(),
UpdateMask = new FieldMask(),
};
// Make the request
BigQueryLink response = await analyticsAdminServiceClient.UpdateBigQueryLinkAsync(request);
UpdateCalculatedMetric(CalculatedMetric, FieldMask, CallSettings)
Updates a CalculatedMetric on a property.
Declaration
public virtual CalculatedMetric UpdateCalculatedMetric(CalculatedMetric calculatedMetric, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CalculatedMetric calculatedMetric = new CalculatedMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.UpdateCalculatedMetric(calculatedMetric, updateMask);
UpdateCalculatedMetric(UpdateCalculatedMetricRequest, CallSettings)
Updates a CalculatedMetric on a property.
Declaration
public virtual CalculatedMetric UpdateCalculatedMetric(UpdateCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CalculatedMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateCalculatedMetricRequest request = new UpdateCalculatedMetricRequest
{
CalculatedMetric = new CalculatedMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CalculatedMetric response = analyticsAdminServiceClient.UpdateCalculatedMetric(request);
UpdateCalculatedMetricAsync(CalculatedMetric, FieldMask, CallSettings)
Updates a CalculatedMetric on a property.
Declaration
public virtual Task<CalculatedMetric> UpdateCalculatedMetricAsync(CalculatedMetric calculatedMetric, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetric calculatedMetric = new CalculatedMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.UpdateCalculatedMetricAsync(calculatedMetric, updateMask);
UpdateCalculatedMetricAsync(CalculatedMetric, FieldMask, CancellationToken)
Updates a CalculatedMetric on a property.
Declaration
public virtual Task<CalculatedMetric> UpdateCalculatedMetricAsync(CalculatedMetric calculatedMetric, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CalculatedMetric | calculatedMetric | Required. The CalculatedMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CalculatedMetric calculatedMetric = new CalculatedMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.UpdateCalculatedMetricAsync(calculatedMetric, updateMask);
UpdateCalculatedMetricAsync(UpdateCalculatedMetricRequest, CallSettings)
Updates a CalculatedMetric on a property.
Declaration
public virtual Task<CalculatedMetric> UpdateCalculatedMetricAsync(UpdateCalculatedMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCalculatedMetricRequest request = new UpdateCalculatedMetricRequest
{
CalculatedMetric = new CalculatedMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.UpdateCalculatedMetricAsync(request);
UpdateCalculatedMetricAsync(UpdateCalculatedMetricRequest, CancellationToken)
Updates a CalculatedMetric on a property.
Declaration
public virtual Task<CalculatedMetric> UpdateCalculatedMetricAsync(UpdateCalculatedMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateCalculatedMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CalculatedMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCalculatedMetricRequest request = new UpdateCalculatedMetricRequest
{
CalculatedMetric = new CalculatedMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CalculatedMetric response = await analyticsAdminServiceClient.UpdateCalculatedMetricAsync(request);
UpdateChannelGroup(ChannelGroup, FieldMask, CallSettings)
Updates a ChannelGroup.
Declaration
public virtual ChannelGroup UpdateChannelGroup(ChannelGroup channelGroup, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroup | channelGroup | Required. The ChannelGroup to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ChannelGroup channelGroup = new ChannelGroup();
FieldMask updateMask = new FieldMask();
// Make the request
ChannelGroup response = analyticsAdminServiceClient.UpdateChannelGroup(channelGroup, updateMask);
UpdateChannelGroup(UpdateChannelGroupRequest, CallSettings)
Updates a ChannelGroup.
Declaration
public virtual ChannelGroup UpdateChannelGroup(UpdateChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ChannelGroup | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateChannelGroupRequest request = new UpdateChannelGroupRequest
{
ChannelGroup = new ChannelGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
ChannelGroup response = analyticsAdminServiceClient.UpdateChannelGroup(request);
UpdateChannelGroupAsync(ChannelGroup, FieldMask, CallSettings)
Updates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> UpdateChannelGroupAsync(ChannelGroup channelGroup, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroup | channelGroup | Required. The ChannelGroup to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroup channelGroup = new ChannelGroup();
FieldMask updateMask = new FieldMask();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.UpdateChannelGroupAsync(channelGroup, updateMask);
UpdateChannelGroupAsync(ChannelGroup, FieldMask, CancellationToken)
Updates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> UpdateChannelGroupAsync(ChannelGroup channelGroup, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ChannelGroup | channelGroup | Required. The ChannelGroup to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ChannelGroup channelGroup = new ChannelGroup();
FieldMask updateMask = new FieldMask();
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.UpdateChannelGroupAsync(channelGroup, updateMask);
UpdateChannelGroupAsync(UpdateChannelGroupRequest, CallSettings)
Updates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> UpdateChannelGroupAsync(UpdateChannelGroupRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateChannelGroupRequest request = new UpdateChannelGroupRequest
{
ChannelGroup = new ChannelGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.UpdateChannelGroupAsync(request);
UpdateChannelGroupAsync(UpdateChannelGroupRequest, CancellationToken)
Updates a ChannelGroup.
Declaration
public virtual Task<ChannelGroup> UpdateChannelGroupAsync(UpdateChannelGroupRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateChannelGroupRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ChannelGroup> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateChannelGroupRequest request = new UpdateChannelGroupRequest
{
ChannelGroup = new ChannelGroup(),
UpdateMask = new FieldMask(),
};
// Make the request
ChannelGroup response = await analyticsAdminServiceClient.UpdateChannelGroupAsync(request);
UpdateConversionEvent(ConversionEvent, FieldMask, CallSettings)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual ConversionEvent UpdateConversionEvent(ConversionEvent conversionEvent, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEvent | conversionEvent | Required. The conversion event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ConversionEvent conversionEvent = new ConversionEvent();
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.UpdateConversionEvent(conversionEvent, updateMask);
#pragma warning restore CS0612
UpdateConversionEvent(UpdateConversionEventRequest, CallSettings)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual ConversionEvent UpdateConversionEvent(UpdateConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ConversionEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateConversionEventRequest request = new UpdateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = analyticsAdminServiceClient.UpdateConversionEvent(request);
#pragma warning restore CS0612
UpdateConversionEventAsync(ConversionEvent, FieldMask, CallSettings)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> UpdateConversionEventAsync(ConversionEvent conversionEvent, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ConversionEvent | conversionEvent | Required. The conversion event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEvent conversionEvent = new ConversionEvent();
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.UpdateConversionEventAsync(conversionEvent, updateMask);
#pragma warning restore CS0612
UpdateConversionEventAsync(ConversionEvent, FieldMask, CancellationToken)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> UpdateConversionEventAsync(ConversionEvent conversionEvent, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ConversionEvent | conversionEvent | Required. The conversion event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ConversionEvent conversionEvent = new ConversionEvent();
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.UpdateConversionEventAsync(conversionEvent, updateMask);
#pragma warning restore CS0612
UpdateConversionEventAsync(UpdateConversionEventRequest, CallSettings)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> UpdateConversionEventAsync(UpdateConversionEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateConversionEventRequest request = new UpdateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.UpdateConversionEventAsync(request);
#pragma warning restore CS0612
UpdateConversionEventAsync(UpdateConversionEventRequest, CancellationToken)
Deprecated: Use UpdateKeyEvent
instead.
Updates a conversion event with the specified attributes.
Declaration
[Obsolete]
public virtual Task<ConversionEvent> UpdateConversionEventAsync(UpdateConversionEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateConversionEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ConversionEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateConversionEventRequest request = new UpdateConversionEventRequest
{
ConversionEvent = new ConversionEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
#pragma warning disable CS0612
ConversionEvent response = await analyticsAdminServiceClient.UpdateConversionEventAsync(request);
#pragma warning restore CS0612
UpdateCustomDimension(CustomDimension, FieldMask, CallSettings)
Updates a CustomDimension on a property.
Declaration
public virtual CustomDimension UpdateCustomDimension(CustomDimension customDimension, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimension | customDimension | The CustomDimension to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomDimension customDimension = new CustomDimension();
FieldMask updateMask = new FieldMask();
// Make the request
CustomDimension response = analyticsAdminServiceClient.UpdateCustomDimension(customDimension, updateMask);
UpdateCustomDimension(UpdateCustomDimensionRequest, CallSettings)
Updates a CustomDimension on a property.
Declaration
public virtual CustomDimension UpdateCustomDimension(UpdateCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomDimension | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateCustomDimensionRequest request = new UpdateCustomDimensionRequest
{
CustomDimension = new CustomDimension(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomDimension response = analyticsAdminServiceClient.UpdateCustomDimension(request);
UpdateCustomDimensionAsync(CustomDimension, FieldMask, CallSettings)
Updates a CustomDimension on a property.
Declaration
public virtual Task<CustomDimension> UpdateCustomDimensionAsync(CustomDimension customDimension, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomDimension | customDimension | The CustomDimension to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimension customDimension = new CustomDimension();
FieldMask updateMask = new FieldMask();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.UpdateCustomDimensionAsync(customDimension, updateMask);
UpdateCustomDimensionAsync(CustomDimension, FieldMask, CancellationToken)
Updates a CustomDimension on a property.
Declaration
public virtual Task<CustomDimension> UpdateCustomDimensionAsync(CustomDimension customDimension, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomDimension | customDimension | The CustomDimension to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomDimension customDimension = new CustomDimension();
FieldMask updateMask = new FieldMask();
// Make the request
CustomDimension response = await analyticsAdminServiceClient.UpdateCustomDimensionAsync(customDimension, updateMask);
UpdateCustomDimensionAsync(UpdateCustomDimensionRequest, CallSettings)
Updates a CustomDimension on a property.
Declaration
public virtual Task<CustomDimension> UpdateCustomDimensionAsync(UpdateCustomDimensionRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomDimensionRequest request = new UpdateCustomDimensionRequest
{
CustomDimension = new CustomDimension(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.UpdateCustomDimensionAsync(request);
UpdateCustomDimensionAsync(UpdateCustomDimensionRequest, CancellationToken)
Updates a CustomDimension on a property.
Declaration
public virtual Task<CustomDimension> UpdateCustomDimensionAsync(UpdateCustomDimensionRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomDimensionRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomDimension> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomDimensionRequest request = new UpdateCustomDimensionRequest
{
CustomDimension = new CustomDimension(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomDimension response = await analyticsAdminServiceClient.UpdateCustomDimensionAsync(request);
UpdateCustomMetric(CustomMetric, FieldMask, CallSettings)
Updates a CustomMetric on a property.
Declaration
public virtual CustomMetric UpdateCustomMetric(CustomMetric customMetric, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetric | customMetric | The CustomMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
CustomMetric customMetric = new CustomMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CustomMetric response = analyticsAdminServiceClient.UpdateCustomMetric(customMetric, updateMask);
UpdateCustomMetric(UpdateCustomMetricRequest, CallSettings)
Updates a CustomMetric on a property.
Declaration
public virtual CustomMetric UpdateCustomMetric(UpdateCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CustomMetric | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateCustomMetricRequest request = new UpdateCustomMetricRequest
{
CustomMetric = new CustomMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomMetric response = analyticsAdminServiceClient.UpdateCustomMetric(request);
UpdateCustomMetricAsync(CustomMetric, FieldMask, CallSettings)
Updates a CustomMetric on a property.
Declaration
public virtual Task<CustomMetric> UpdateCustomMetricAsync(CustomMetric customMetric, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CustomMetric | customMetric | The CustomMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetric customMetric = new CustomMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.UpdateCustomMetricAsync(customMetric, updateMask);
UpdateCustomMetricAsync(CustomMetric, FieldMask, CancellationToken)
Updates a CustomMetric on a property.
Declaration
public virtual Task<CustomMetric> UpdateCustomMetricAsync(CustomMetric customMetric, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CustomMetric | customMetric | The CustomMetric to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
CustomMetric customMetric = new CustomMetric();
FieldMask updateMask = new FieldMask();
// Make the request
CustomMetric response = await analyticsAdminServiceClient.UpdateCustomMetricAsync(customMetric, updateMask);
UpdateCustomMetricAsync(UpdateCustomMetricRequest, CallSettings)
Updates a CustomMetric on a property.
Declaration
public virtual Task<CustomMetric> UpdateCustomMetricAsync(UpdateCustomMetricRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomMetricRequest request = new UpdateCustomMetricRequest
{
CustomMetric = new CustomMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.UpdateCustomMetricAsync(request);
UpdateCustomMetricAsync(UpdateCustomMetricRequest, CancellationToken)
Updates a CustomMetric on a property.
Declaration
public virtual Task<CustomMetric> UpdateCustomMetricAsync(UpdateCustomMetricRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateCustomMetricRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<CustomMetric> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCustomMetricRequest request = new UpdateCustomMetricRequest
{
CustomMetric = new CustomMetric(),
UpdateMask = new FieldMask(),
};
// Make the request
CustomMetric response = await analyticsAdminServiceClient.UpdateCustomMetricAsync(request);
UpdateDataRedactionSettings(DataRedactionSettings, FieldMask, CallSettings)
Updates a DataRedactionSettings on a property.
Declaration
public virtual DataRedactionSettings UpdateDataRedactionSettings(DataRedactionSettings dataRedactionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettings | dataRedactionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRedactionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataRedactionSettings dataRedactionSettings = new DataRedactionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRedactionSettings response = analyticsAdminServiceClient.UpdateDataRedactionSettings(dataRedactionSettings, updateMask);
UpdateDataRedactionSettings(UpdateDataRedactionSettingsRequest, CallSettings)
Updates a DataRedactionSettings on a property.
Declaration
public virtual DataRedactionSettings UpdateDataRedactionSettings(UpdateDataRedactionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRedactionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateDataRedactionSettingsRequest request = new UpdateDataRedactionSettingsRequest
{
DataRedactionSettings = new DataRedactionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRedactionSettings response = analyticsAdminServiceClient.UpdateDataRedactionSettings(request);
UpdateDataRedactionSettingsAsync(DataRedactionSettings, FieldMask, CallSettings)
Updates a DataRedactionSettings on a property.
Declaration
public virtual Task<DataRedactionSettings> UpdateDataRedactionSettingsAsync(DataRedactionSettings dataRedactionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettings | dataRedactionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRedactionSettings dataRedactionSettings = new DataRedactionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.UpdateDataRedactionSettingsAsync(dataRedactionSettings, updateMask);
UpdateDataRedactionSettingsAsync(DataRedactionSettings, FieldMask, CancellationToken)
Updates a DataRedactionSettings on a property.
Declaration
public virtual Task<DataRedactionSettings> UpdateDataRedactionSettingsAsync(DataRedactionSettings dataRedactionSettings, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataRedactionSettings | dataRedactionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRedactionSettings dataRedactionSettings = new DataRedactionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.UpdateDataRedactionSettingsAsync(dataRedactionSettings, updateMask);
UpdateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest, CallSettings)
Updates a DataRedactionSettings on a property.
Declaration
public virtual Task<DataRedactionSettings> UpdateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataRedactionSettingsRequest request = new UpdateDataRedactionSettingsRequest
{
DataRedactionSettings = new DataRedactionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.UpdateDataRedactionSettingsAsync(request);
UpdateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest, CancellationToken)
Updates a DataRedactionSettings on a property.
Declaration
public virtual Task<DataRedactionSettings> UpdateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRedactionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRedactionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataRedactionSettingsRequest request = new UpdateDataRedactionSettingsRequest
{
DataRedactionSettings = new DataRedactionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRedactionSettings response = await analyticsAdminServiceClient.UpdateDataRedactionSettingsAsync(request);
UpdateDataRetentionSettings(DataRetentionSettings, FieldMask, CallSettings)
Updates the singleton data retention settings for this property.
Declaration
public virtual DataRetentionSettings UpdateDataRetentionSettings(DataRetentionSettings dataRetentionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettings | dataRetentionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRetentionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataRetentionSettings dataRetentionSettings = new DataRetentionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRetentionSettings response = analyticsAdminServiceClient.UpdateDataRetentionSettings(dataRetentionSettings, updateMask);
UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest, CallSettings)
Updates the singleton data retention settings for this property.
Declaration
public virtual DataRetentionSettings UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataRetentionSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateDataRetentionSettingsRequest request = new UpdateDataRetentionSettingsRequest
{
DataRetentionSettings = new DataRetentionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRetentionSettings response = analyticsAdminServiceClient.UpdateDataRetentionSettings(request);
UpdateDataRetentionSettingsAsync(DataRetentionSettings, FieldMask, CallSettings)
Updates the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> UpdateDataRetentionSettingsAsync(DataRetentionSettings dataRetentionSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettings | dataRetentionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRetentionSettings dataRetentionSettings = new DataRetentionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.UpdateDataRetentionSettingsAsync(dataRetentionSettings, updateMask);
UpdateDataRetentionSettingsAsync(DataRetentionSettings, FieldMask, CancellationToken)
Updates the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> UpdateDataRetentionSettingsAsync(DataRetentionSettings dataRetentionSettings, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataRetentionSettings | dataRetentionSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataRetentionSettings dataRetentionSettings = new DataRetentionSettings();
FieldMask updateMask = new FieldMask();
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.UpdateDataRetentionSettingsAsync(dataRetentionSettings, updateMask);
UpdateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest, CallSettings)
Updates the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> UpdateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataRetentionSettingsRequest request = new UpdateDataRetentionSettingsRequest
{
DataRetentionSettings = new DataRetentionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.UpdateDataRetentionSettingsAsync(request);
UpdateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest, CancellationToken)
Updates the singleton data retention settings for this property.
Declaration
public virtual Task<DataRetentionSettings> UpdateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataRetentionSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataRetentionSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataRetentionSettingsRequest request = new UpdateDataRetentionSettingsRequest
{
DataRetentionSettings = new DataRetentionSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
DataRetentionSettings response = await analyticsAdminServiceClient.UpdateDataRetentionSettingsAsync(request);
UpdateDataStream(DataStream, FieldMask, CallSettings)
Updates a DataStream on a property.
Declaration
public virtual DataStream UpdateDataStream(DataStream dataStream, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStream | dataStream | The DataStream to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DataStream dataStream = new DataStream();
FieldMask updateMask = new FieldMask();
// Make the request
DataStream response = analyticsAdminServiceClient.UpdateDataStream(dataStream, updateMask);
UpdateDataStream(UpdateDataStreamRequest, CallSettings)
Updates a DataStream on a property.
Declaration
public virtual DataStream UpdateDataStream(UpdateDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DataStream | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateDataStreamRequest request = new UpdateDataStreamRequest
{
DataStream = new DataStream(),
UpdateMask = new FieldMask(),
};
// Make the request
DataStream response = analyticsAdminServiceClient.UpdateDataStream(request);
UpdateDataStreamAsync(DataStream, FieldMask, CallSettings)
Updates a DataStream on a property.
Declaration
public virtual Task<DataStream> UpdateDataStreamAsync(DataStream dataStream, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DataStream | dataStream | The DataStream to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStream dataStream = new DataStream();
FieldMask updateMask = new FieldMask();
// Make the request
DataStream response = await analyticsAdminServiceClient.UpdateDataStreamAsync(dataStream, updateMask);
UpdateDataStreamAsync(DataStream, FieldMask, CancellationToken)
Updates a DataStream on a property.
Declaration
public virtual Task<DataStream> UpdateDataStreamAsync(DataStream dataStream, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DataStream | dataStream | The DataStream to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DataStream dataStream = new DataStream();
FieldMask updateMask = new FieldMask();
// Make the request
DataStream response = await analyticsAdminServiceClient.UpdateDataStreamAsync(dataStream, updateMask);
UpdateDataStreamAsync(UpdateDataStreamRequest, CallSettings)
Updates a DataStream on a property.
Declaration
public virtual Task<DataStream> UpdateDataStreamAsync(UpdateDataStreamRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataStreamRequest request = new UpdateDataStreamRequest
{
DataStream = new DataStream(),
UpdateMask = new FieldMask(),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.UpdateDataStreamAsync(request);
UpdateDataStreamAsync(UpdateDataStreamRequest, CancellationToken)
Updates a DataStream on a property.
Declaration
public virtual Task<DataStream> UpdateDataStreamAsync(UpdateDataStreamRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateDataStreamRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DataStream> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDataStreamRequest request = new UpdateDataStreamRequest
{
DataStream = new DataStream(),
UpdateMask = new FieldMask(),
};
// Make the request
DataStream response = await analyticsAdminServiceClient.UpdateDataStreamAsync(request);
UpdateDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink, FieldMask, CallSettings)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual DisplayVideo360AdvertiserLink UpdateDisplayVideo360AdvertiserLink(DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | The DisplayVideo360AdvertiserLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
FieldMask updateMask = new FieldMask();
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLink(displayVideo360AdvertiserLink, updateMask);
UpdateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest, CallSettings)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual DisplayVideo360AdvertiserLink UpdateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
DisplayVideo360AdvertiserLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateDisplayVideo360AdvertiserLinkRequest request = new UpdateDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
UpdateMask = new FieldMask(),
};
// Make the request
DisplayVideo360AdvertiserLink response = analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLink(request);
UpdateDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLink, FieldMask, CallSettings)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> UpdateDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | The DisplayVideo360AdvertiserLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
FieldMask updateMask = new FieldMask();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLinkAsync(displayVideo360AdvertiserLink, updateMask);
UpdateDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLink, FieldMask, CancellationToken)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> UpdateDisplayVideo360AdvertiserLinkAsync(DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DisplayVideo360AdvertiserLink | displayVideo360AdvertiserLink | The DisplayVideo360AdvertiserLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
DisplayVideo360AdvertiserLink displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink();
FieldMask updateMask = new FieldMask();
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLinkAsync(displayVideo360AdvertiserLink, updateMask);
UpdateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest, CallSettings)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> UpdateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDisplayVideo360AdvertiserLinkRequest request = new UpdateDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
UpdateMask = new FieldMask(),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLinkAsync(request);
UpdateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest, CancellationToken)
Updates a DisplayVideo360AdvertiserLink on a property.
Declaration
public virtual Task<DisplayVideo360AdvertiserLink> UpdateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateDisplayVideo360AdvertiserLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<DisplayVideo360AdvertiserLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateDisplayVideo360AdvertiserLinkRequest request = new UpdateDisplayVideo360AdvertiserLinkRequest
{
DisplayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(),
UpdateMask = new FieldMask(),
};
// Make the request
DisplayVideo360AdvertiserLink response = await analyticsAdminServiceClient.UpdateDisplayVideo360AdvertiserLinkAsync(request);
UpdateEnhancedMeasurementSettings(EnhancedMeasurementSettings, FieldMask, CallSettings)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual EnhancedMeasurementSettings UpdateEnhancedMeasurementSettings(EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettings | enhancedMeasurementSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EnhancedMeasurementSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EnhancedMeasurementSettings enhancedMeasurementSettings = new EnhancedMeasurementSettings();
FieldMask updateMask = new FieldMask();
// Make the request
EnhancedMeasurementSettings response = analyticsAdminServiceClient.UpdateEnhancedMeasurementSettings(enhancedMeasurementSettings, updateMask);
UpdateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest, CallSettings)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EnhancedMeasurementSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateEnhancedMeasurementSettingsRequest request = new UpdateEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettings = new EnhancedMeasurementSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
EnhancedMeasurementSettings response = analyticsAdminServiceClient.UpdateEnhancedMeasurementSettings(request);
UpdateEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettings, FieldMask, CallSettings)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> UpdateEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettings | enhancedMeasurementSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EnhancedMeasurementSettings enhancedMeasurementSettings = new EnhancedMeasurementSettings();
FieldMask updateMask = new FieldMask();
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.UpdateEnhancedMeasurementSettingsAsync(enhancedMeasurementSettings, updateMask);
UpdateEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettings, FieldMask, CancellationToken)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> UpdateEnhancedMeasurementSettingsAsync(EnhancedMeasurementSettings enhancedMeasurementSettings, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EnhancedMeasurementSettings | enhancedMeasurementSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EnhancedMeasurementSettings enhancedMeasurementSettings = new EnhancedMeasurementSettings();
FieldMask updateMask = new FieldMask();
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.UpdateEnhancedMeasurementSettingsAsync(enhancedMeasurementSettings, updateMask);
UpdateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest, CallSettings)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEnhancedMeasurementSettingsRequest request = new UpdateEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettings = new EnhancedMeasurementSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.UpdateEnhancedMeasurementSettingsAsync(request);
UpdateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest, CancellationToken)
Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
Declaration
public virtual Task<EnhancedMeasurementSettings> UpdateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateEnhancedMeasurementSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EnhancedMeasurementSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEnhancedMeasurementSettingsRequest request = new UpdateEnhancedMeasurementSettingsRequest
{
EnhancedMeasurementSettings = new EnhancedMeasurementSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
EnhancedMeasurementSettings response = await analyticsAdminServiceClient.UpdateEnhancedMeasurementSettingsAsync(request);
UpdateEventCreateRule(EventCreateRule, FieldMask, CallSettings)
Updates an EventCreateRule.
Declaration
public virtual EventCreateRule UpdateEventCreateRule(EventCreateRule eventCreateRule, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRule | eventCreateRule | Required. The EventCreateRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventCreateRule eventCreateRule = new EventCreateRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventCreateRule response = analyticsAdminServiceClient.UpdateEventCreateRule(eventCreateRule, updateMask);
UpdateEventCreateRule(UpdateEventCreateRuleRequest, CallSettings)
Updates an EventCreateRule.
Declaration
public virtual EventCreateRule UpdateEventCreateRule(UpdateEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventCreateRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateEventCreateRuleRequest request = new UpdateEventCreateRuleRequest
{
EventCreateRule = new EventCreateRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventCreateRule response = analyticsAdminServiceClient.UpdateEventCreateRule(request);
UpdateEventCreateRuleAsync(EventCreateRule, FieldMask, CallSettings)
Updates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> UpdateEventCreateRuleAsync(EventCreateRule eventCreateRule, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRule | eventCreateRule | Required. The EventCreateRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRule eventCreateRule = new EventCreateRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.UpdateEventCreateRuleAsync(eventCreateRule, updateMask);
UpdateEventCreateRuleAsync(EventCreateRule, FieldMask, CancellationToken)
Updates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> UpdateEventCreateRuleAsync(EventCreateRule eventCreateRule, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventCreateRule | eventCreateRule | Required. The EventCreateRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventCreateRule eventCreateRule = new EventCreateRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.UpdateEventCreateRuleAsync(eventCreateRule, updateMask);
UpdateEventCreateRuleAsync(UpdateEventCreateRuleRequest, CallSettings)
Updates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> UpdateEventCreateRuleAsync(UpdateEventCreateRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEventCreateRuleRequest request = new UpdateEventCreateRuleRequest
{
EventCreateRule = new EventCreateRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.UpdateEventCreateRuleAsync(request);
UpdateEventCreateRuleAsync(UpdateEventCreateRuleRequest, CancellationToken)
Updates an EventCreateRule.
Declaration
public virtual Task<EventCreateRule> UpdateEventCreateRuleAsync(UpdateEventCreateRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventCreateRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventCreateRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEventCreateRuleRequest request = new UpdateEventCreateRuleRequest
{
EventCreateRule = new EventCreateRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventCreateRule response = await analyticsAdminServiceClient.UpdateEventCreateRuleAsync(request);
UpdateEventEditRule(EventEditRule, FieldMask, CallSettings)
Updates an EventEditRule.
Declaration
public virtual EventEditRule UpdateEventEditRule(EventEditRule eventEditRule, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRule | eventEditRule | Required. The EventEditRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
EventEditRule eventEditRule = new EventEditRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventEditRule response = analyticsAdminServiceClient.UpdateEventEditRule(eventEditRule, updateMask);
UpdateEventEditRule(UpdateEventEditRuleRequest, CallSettings)
Updates an EventEditRule.
Declaration
public virtual EventEditRule UpdateEventEditRule(UpdateEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
EventEditRule | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateEventEditRuleRequest request = new UpdateEventEditRuleRequest
{
EventEditRule = new EventEditRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventEditRule response = analyticsAdminServiceClient.UpdateEventEditRule(request);
UpdateEventEditRuleAsync(EventEditRule, FieldMask, CallSettings)
Updates an EventEditRule.
Declaration
public virtual Task<EventEditRule> UpdateEventEditRuleAsync(EventEditRule eventEditRule, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
EventEditRule | eventEditRule | Required. The EventEditRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRule eventEditRule = new EventEditRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.UpdateEventEditRuleAsync(eventEditRule, updateMask);
UpdateEventEditRuleAsync(EventEditRule, FieldMask, CancellationToken)
Updates an EventEditRule.
Declaration
public virtual Task<EventEditRule> UpdateEventEditRuleAsync(EventEditRule eventEditRule, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
EventEditRule | eventEditRule | Required. The EventEditRule to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
EventEditRule eventEditRule = new EventEditRule();
FieldMask updateMask = new FieldMask();
// Make the request
EventEditRule response = await analyticsAdminServiceClient.UpdateEventEditRuleAsync(eventEditRule, updateMask);
UpdateEventEditRuleAsync(UpdateEventEditRuleRequest, CallSettings)
Updates an EventEditRule.
Declaration
public virtual Task<EventEditRule> UpdateEventEditRuleAsync(UpdateEventEditRuleRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEventEditRuleRequest request = new UpdateEventEditRuleRequest
{
EventEditRule = new EventEditRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.UpdateEventEditRuleAsync(request);
UpdateEventEditRuleAsync(UpdateEventEditRuleRequest, CancellationToken)
Updates an EventEditRule.
Declaration
public virtual Task<EventEditRule> UpdateEventEditRuleAsync(UpdateEventEditRuleRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateEventEditRuleRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<EventEditRule> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEventEditRuleRequest request = new UpdateEventEditRuleRequest
{
EventEditRule = new EventEditRule(),
UpdateMask = new FieldMask(),
};
// Make the request
EventEditRule response = await analyticsAdminServiceClient.UpdateEventEditRuleAsync(request);
UpdateExpandedDataSet(ExpandedDataSet, FieldMask, CallSettings)
Updates a ExpandedDataSet on a property.
Declaration
public virtual ExpandedDataSet UpdateExpandedDataSet(ExpandedDataSet expandedDataSet, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
FieldMask updateMask = new FieldMask();
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.UpdateExpandedDataSet(expandedDataSet, updateMask);
UpdateExpandedDataSet(UpdateExpandedDataSetRequest, CallSettings)
Updates a ExpandedDataSet on a property.
Declaration
public virtual ExpandedDataSet UpdateExpandedDataSet(UpdateExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
ExpandedDataSet | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateExpandedDataSetRequest request = new UpdateExpandedDataSetRequest
{
ExpandedDataSet = new ExpandedDataSet(),
UpdateMask = new FieldMask(),
};
// Make the request
ExpandedDataSet response = analyticsAdminServiceClient.UpdateExpandedDataSet(request);
UpdateExpandedDataSetAsync(ExpandedDataSet, FieldMask, CallSettings)
Updates a ExpandedDataSet on a property.
Declaration
public virtual Task<ExpandedDataSet> UpdateExpandedDataSetAsync(ExpandedDataSet expandedDataSet, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
FieldMask updateMask = new FieldMask();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.UpdateExpandedDataSetAsync(expandedDataSet, updateMask);
UpdateExpandedDataSetAsync(ExpandedDataSet, FieldMask, CancellationToken)
Updates a ExpandedDataSet on a property.
Declaration
public virtual Task<ExpandedDataSet> UpdateExpandedDataSetAsync(ExpandedDataSet expandedDataSet, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExpandedDataSet | expandedDataSet | Required. The ExpandedDataSet to update.
The resource's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
ExpandedDataSet expandedDataSet = new ExpandedDataSet();
FieldMask updateMask = new FieldMask();
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.UpdateExpandedDataSetAsync(expandedDataSet, updateMask);
UpdateExpandedDataSetAsync(UpdateExpandedDataSetRequest, CallSettings)
Updates a ExpandedDataSet on a property.
Declaration
public virtual Task<ExpandedDataSet> UpdateExpandedDataSetAsync(UpdateExpandedDataSetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateExpandedDataSetRequest request = new UpdateExpandedDataSetRequest
{
ExpandedDataSet = new ExpandedDataSet(),
UpdateMask = new FieldMask(),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.UpdateExpandedDataSetAsync(request);
UpdateExpandedDataSetAsync(UpdateExpandedDataSetRequest, CancellationToken)
Updates a ExpandedDataSet on a property.
Declaration
public virtual Task<ExpandedDataSet> UpdateExpandedDataSetAsync(UpdateExpandedDataSetRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateExpandedDataSetRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<ExpandedDataSet> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateExpandedDataSetRequest request = new UpdateExpandedDataSetRequest
{
ExpandedDataSet = new ExpandedDataSet(),
UpdateMask = new FieldMask(),
};
// Make the request
ExpandedDataSet response = await analyticsAdminServiceClient.UpdateExpandedDataSetAsync(request);
UpdateGoogleAdsLink(GoogleAdsLink, FieldMask, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public virtual GoogleAdsLink UpdateGoogleAdsLink(GoogleAdsLink googleAdsLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLink | googleAdsLink | The GoogleAdsLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleAdsLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleAdsLink response = analyticsAdminServiceClient.UpdateGoogleAdsLink(googleAdsLink, updateMask);
UpdateGoogleAdsLink(UpdateGoogleAdsLinkRequest, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleAdsLink | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateGoogleAdsLinkRequest request = new UpdateGoogleAdsLinkRequest
{
GoogleAdsLink = new GoogleAdsLink(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleAdsLink response = analyticsAdminServiceClient.UpdateGoogleAdsLink(request);
UpdateGoogleAdsLinkAsync(GoogleAdsLink, FieldMask, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public virtual Task<GoogleAdsLink> UpdateGoogleAdsLinkAsync(GoogleAdsLink googleAdsLink, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLink | googleAdsLink | The GoogleAdsLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.UpdateGoogleAdsLinkAsync(googleAdsLink, updateMask);
UpdateGoogleAdsLinkAsync(GoogleAdsLink, FieldMask, CancellationToken)
Updates a GoogleAdsLink on a property
Declaration
public virtual Task<GoogleAdsLink> UpdateGoogleAdsLinkAsync(GoogleAdsLink googleAdsLink, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GoogleAdsLink | googleAdsLink | The GoogleAdsLink to update |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleAdsLink googleAdsLink = new GoogleAdsLink();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.UpdateGoogleAdsLinkAsync(googleAdsLink, updateMask);
UpdateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest, CallSettings)
Updates a GoogleAdsLink on a property
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateGoogleAdsLinkRequest request = new UpdateGoogleAdsLinkRequest
{
GoogleAdsLink = new GoogleAdsLink(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.UpdateGoogleAdsLinkAsync(request);
UpdateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest, CancellationToken)
Updates a GoogleAdsLink on a property
Declaration
public virtual Task<GoogleAdsLink> UpdateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateGoogleAdsLinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleAdsLink> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateGoogleAdsLinkRequest request = new UpdateGoogleAdsLinkRequest
{
GoogleAdsLink = new GoogleAdsLink(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleAdsLink response = await analyticsAdminServiceClient.UpdateGoogleAdsLinkAsync(request);
UpdateGoogleSignalsSettings(GoogleSignalsSettings, FieldMask, CallSettings)
Updates Google Signals settings for a property.
Declaration
public virtual GoogleSignalsSettings UpdateGoogleSignalsSettings(GoogleSignalsSettings googleSignalsSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettings | googleSignalsSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleSignalsSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
GoogleSignalsSettings googleSignalsSettings = new GoogleSignalsSettings();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleSignalsSettings response = analyticsAdminServiceClient.UpdateGoogleSignalsSettings(googleSignalsSettings, updateMask);
UpdateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest, CallSettings)
Updates Google Signals settings for a property.
Declaration
public virtual GoogleSignalsSettings UpdateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
GoogleSignalsSettings | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateGoogleSignalsSettingsRequest request = new UpdateGoogleSignalsSettingsRequest
{
GoogleSignalsSettings = new GoogleSignalsSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleSignalsSettings response = analyticsAdminServiceClient.UpdateGoogleSignalsSettings(request);
UpdateGoogleSignalsSettingsAsync(GoogleSignalsSettings, FieldMask, CallSettings)
Updates Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> UpdateGoogleSignalsSettingsAsync(GoogleSignalsSettings googleSignalsSettings, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettings | googleSignalsSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleSignalsSettings googleSignalsSettings = new GoogleSignalsSettings();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.UpdateGoogleSignalsSettingsAsync(googleSignalsSettings, updateMask);
UpdateGoogleSignalsSettingsAsync(GoogleSignalsSettings, FieldMask, CancellationToken)
Updates Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> UpdateGoogleSignalsSettingsAsync(GoogleSignalsSettings googleSignalsSettings, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GoogleSignalsSettings | googleSignalsSettings | Required. The settings to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
GoogleSignalsSettings googleSignalsSettings = new GoogleSignalsSettings();
FieldMask updateMask = new FieldMask();
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.UpdateGoogleSignalsSettingsAsync(googleSignalsSettings, updateMask);
UpdateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest, CallSettings)
Updates Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> UpdateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateGoogleSignalsSettingsRequest request = new UpdateGoogleSignalsSettingsRequest
{
GoogleSignalsSettings = new GoogleSignalsSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.UpdateGoogleSignalsSettingsAsync(request);
UpdateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest, CancellationToken)
Updates Google Signals settings for a property.
Declaration
public virtual Task<GoogleSignalsSettings> UpdateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateGoogleSignalsSettingsRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<GoogleSignalsSettings> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateGoogleSignalsSettingsRequest request = new UpdateGoogleSignalsSettingsRequest
{
GoogleSignalsSettings = new GoogleSignalsSettings(),
UpdateMask = new FieldMask(),
};
// Make the request
GoogleSignalsSettings response = await analyticsAdminServiceClient.UpdateGoogleSignalsSettingsAsync(request);
UpdateKeyEvent(KeyEvent, FieldMask, CallSettings)
Updates a Key Event.
Declaration
public virtual KeyEvent UpdateKeyEvent(KeyEvent keyEvent, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | keyEvent | Required. The Key Event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
KeyEvent keyEvent = new KeyEvent();
FieldMask updateMask = new FieldMask();
// Make the request
KeyEvent response = analyticsAdminServiceClient.UpdateKeyEvent(keyEvent, updateMask);
UpdateKeyEvent(UpdateKeyEventRequest, CallSettings)
Updates a Key Event.
Declaration
public virtual KeyEvent UpdateKeyEvent(UpdateKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
KeyEvent | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateKeyEventRequest request = new UpdateKeyEventRequest
{
KeyEvent = new KeyEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
KeyEvent response = analyticsAdminServiceClient.UpdateKeyEvent(request);
UpdateKeyEventAsync(KeyEvent, FieldMask, CallSettings)
Updates a Key Event.
Declaration
public virtual Task<KeyEvent> UpdateKeyEventAsync(KeyEvent keyEvent, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | keyEvent | Required. The Key Event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEvent keyEvent = new KeyEvent();
FieldMask updateMask = new FieldMask();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.UpdateKeyEventAsync(keyEvent, updateMask);
UpdateKeyEventAsync(KeyEvent, FieldMask, CancellationToken)
Updates a Key Event.
Declaration
public virtual Task<KeyEvent> UpdateKeyEventAsync(KeyEvent keyEvent, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | keyEvent | Required. The Key Event to update.
The |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
KeyEvent keyEvent = new KeyEvent();
FieldMask updateMask = new FieldMask();
// Make the request
KeyEvent response = await analyticsAdminServiceClient.UpdateKeyEventAsync(keyEvent, updateMask);
UpdateKeyEventAsync(UpdateKeyEventRequest, CallSettings)
Updates a Key Event.
Declaration
public virtual Task<KeyEvent> UpdateKeyEventAsync(UpdateKeyEventRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateKeyEventRequest request = new UpdateKeyEventRequest
{
KeyEvent = new KeyEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.UpdateKeyEventAsync(request);
UpdateKeyEventAsync(UpdateKeyEventRequest, CancellationToken)
Updates a Key Event.
Declaration
public virtual Task<KeyEvent> UpdateKeyEventAsync(UpdateKeyEventRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateKeyEventRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<KeyEvent> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateKeyEventRequest request = new UpdateKeyEventRequest
{
KeyEvent = new KeyEvent(),
UpdateMask = new FieldMask(),
};
// Make the request
KeyEvent response = await analyticsAdminServiceClient.UpdateKeyEventAsync(request);
UpdateMeasurementProtocolSecret(MeasurementProtocolSecret, FieldMask, CallSettings)
Updates a measurement protocol secret.
Declaration
public virtual MeasurementProtocolSecret UpdateMeasurementProtocolSecret(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
FieldMask updateMask = new FieldMask();
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.UpdateMeasurementProtocolSecret(measurementProtocolSecret, updateMask);
UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest, CallSettings)
Updates a measurement protocol secret.
Declaration
public virtual MeasurementProtocolSecret UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
MeasurementProtocolSecret | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateMeasurementProtocolSecretRequest request = new UpdateMeasurementProtocolSecretRequest
{
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
UpdateMask = new FieldMask(),
};
// Make the request
MeasurementProtocolSecret response = analyticsAdminServiceClient.UpdateMeasurementProtocolSecret(request);
UpdateMeasurementProtocolSecretAsync(MeasurementProtocolSecret, FieldMask, CallSettings)
Updates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> UpdateMeasurementProtocolSecretAsync(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
FieldMask updateMask = new FieldMask();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.UpdateMeasurementProtocolSecretAsync(measurementProtocolSecret, updateMask);
UpdateMeasurementProtocolSecretAsync(MeasurementProtocolSecret, FieldMask, CancellationToken)
Updates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> UpdateMeasurementProtocolSecretAsync(MeasurementProtocolSecret measurementProtocolSecret, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
MeasurementProtocolSecret | measurementProtocolSecret | Required. The measurement protocol secret to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
MeasurementProtocolSecret measurementProtocolSecret = new MeasurementProtocolSecret();
FieldMask updateMask = new FieldMask();
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.UpdateMeasurementProtocolSecretAsync(measurementProtocolSecret, updateMask);
UpdateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest, CallSettings)
Updates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> UpdateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateMeasurementProtocolSecretRequest request = new UpdateMeasurementProtocolSecretRequest
{
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
UpdateMask = new FieldMask(),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.UpdateMeasurementProtocolSecretAsync(request);
UpdateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest, CancellationToken)
Updates a measurement protocol secret.
Declaration
public virtual Task<MeasurementProtocolSecret> UpdateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateMeasurementProtocolSecretRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<MeasurementProtocolSecret> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateMeasurementProtocolSecretRequest request = new UpdateMeasurementProtocolSecretRequest
{
MeasurementProtocolSecret = new MeasurementProtocolSecret(),
UpdateMask = new FieldMask(),
};
// Make the request
MeasurementProtocolSecret response = await analyticsAdminServiceClient.UpdateMeasurementProtocolSecretAsync(request);
UpdateProperty(Property, FieldMask, CallSettings)
Updates a property.
Declaration
public virtual Property UpdateProperty(Property property, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to update.
The property's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
Property property = new Property();
FieldMask updateMask = new FieldMask();
// Make the request
Property response = analyticsAdminServiceClient.UpdateProperty(property, updateMask);
UpdateProperty(UpdatePropertyRequest, CallSettings)
Updates a property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Property | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdatePropertyRequest request = new UpdatePropertyRequest
{
Property = new Property(),
UpdateMask = new FieldMask(),
};
// Make the request
Property response = analyticsAdminServiceClient.UpdateProperty(request);
UpdatePropertyAsync(Property, FieldMask, CallSettings)
Updates a property.
Declaration
public virtual Task<Property> UpdatePropertyAsync(Property property, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to update.
The property's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Property property = new Property();
FieldMask updateMask = new FieldMask();
// Make the request
Property response = await analyticsAdminServiceClient.UpdatePropertyAsync(property, updateMask);
UpdatePropertyAsync(Property, FieldMask, CancellationToken)
Updates a property.
Declaration
public virtual Task<Property> UpdatePropertyAsync(Property property, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Required. The property to update.
The property's |
FieldMask | updateMask | Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
Property property = new Property();
FieldMask updateMask = new FieldMask();
// Make the request
Property response = await analyticsAdminServiceClient.UpdatePropertyAsync(property, updateMask);
UpdatePropertyAsync(UpdatePropertyRequest, CallSettings)
Updates a property.
Declaration
public virtual 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. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdatePropertyRequest request = new UpdatePropertyRequest
{
Property = new Property(),
UpdateMask = new FieldMask(),
};
// Make the request
Property response = await analyticsAdminServiceClient.UpdatePropertyAsync(request);
UpdatePropertyAsync(UpdatePropertyRequest, CancellationToken)
Updates a property.
Declaration
public virtual Task<Property> UpdatePropertyAsync(UpdatePropertyRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdatePropertyRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<Property> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdatePropertyRequest request = new UpdatePropertyRequest
{
Property = new Property(),
UpdateMask = new FieldMask(),
};
// Make the request
Property response = await analyticsAdminServiceClient.UpdatePropertyAsync(request);
UpdateSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchema, FieldMask, CallSettings)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema UpdateSKAdNetworkConversionValueSchema(SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
FieldMask updateMask = new FieldMask();
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchema(skadnetworkConversionValueSchema, updateMask);
UpdateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest, CallSettings)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual SKAdNetworkConversionValueSchema UpdateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SKAdNetworkConversionValueSchema | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateSKAdNetworkConversionValueSchemaRequest request = new UpdateSKAdNetworkConversionValueSchemaRequest
{
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
UpdateMask = new FieldMask(),
};
// Make the request
SKAdNetworkConversionValueSchema response = analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchema(request);
UpdateSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchema, FieldMask, CallSettings)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> UpdateSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
FieldMask updateMask = new FieldMask();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchemaAsync(skadnetworkConversionValueSchema, updateMask);
UpdateSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchema, FieldMask, CancellationToken)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> UpdateSKAdNetworkConversionValueSchemaAsync(SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SKAdNetworkConversionValueSchema | skadnetworkConversionValueSchema | Required. SKAdNetwork conversion value schema to update. |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema();
FieldMask updateMask = new FieldMask();
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchemaAsync(skadnetworkConversionValueSchema, updateMask);
UpdateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest, CallSettings)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> UpdateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSKAdNetworkConversionValueSchemaRequest request = new UpdateSKAdNetworkConversionValueSchemaRequest
{
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
UpdateMask = new FieldMask(),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchemaAsync(request);
UpdateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest, CancellationToken)
Updates a SKAdNetworkConversionValueSchema.
Declaration
public virtual Task<SKAdNetworkConversionValueSchema> UpdateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateSKAdNetworkConversionValueSchemaRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SKAdNetworkConversionValueSchema> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSKAdNetworkConversionValueSchemaRequest request = new UpdateSKAdNetworkConversionValueSchemaRequest
{
SkadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(),
UpdateMask = new FieldMask(),
};
// Make the request
SKAdNetworkConversionValueSchema response = await analyticsAdminServiceClient.UpdateSKAdNetworkConversionValueSchemaAsync(request);
UpdateSearchAds360Link(SearchAds360Link, FieldMask, CallSettings)
Updates a SearchAds360Link on a property.
Declaration
public virtual SearchAds360Link UpdateSearchAds360Link(SearchAds360Link searchAds360Link, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360Link | searchAds360Link | The SearchAds360Link to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SearchAds360Link searchAds360Link = new SearchAds360Link();
FieldMask updateMask = new FieldMask();
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.UpdateSearchAds360Link(searchAds360Link, updateMask);
UpdateSearchAds360Link(UpdateSearchAds360LinkRequest, CallSettings)
Updates a SearchAds360Link on a property.
Declaration
public virtual SearchAds360Link UpdateSearchAds360Link(UpdateSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SearchAds360Link | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateSearchAds360LinkRequest request = new UpdateSearchAds360LinkRequest
{
SearchAds360Link = new SearchAds360Link(),
UpdateMask = new FieldMask(),
};
// Make the request
SearchAds360Link response = analyticsAdminServiceClient.UpdateSearchAds360Link(request);
UpdateSearchAds360LinkAsync(SearchAds360Link, FieldMask, CallSettings)
Updates a SearchAds360Link on a property.
Declaration
public virtual Task<SearchAds360Link> UpdateSearchAds360LinkAsync(SearchAds360Link searchAds360Link, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360Link | searchAds360Link | The SearchAds360Link to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360Link searchAds360Link = new SearchAds360Link();
FieldMask updateMask = new FieldMask();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.UpdateSearchAds360LinkAsync(searchAds360Link, updateMask);
UpdateSearchAds360LinkAsync(SearchAds360Link, FieldMask, CancellationToken)
Updates a SearchAds360Link on a property.
Declaration
public virtual Task<SearchAds360Link> UpdateSearchAds360LinkAsync(SearchAds360Link searchAds360Link, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SearchAds360Link | searchAds360Link | The SearchAds360Link to update |
FieldMask | updateMask | Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SearchAds360Link searchAds360Link = new SearchAds360Link();
FieldMask updateMask = new FieldMask();
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.UpdateSearchAds360LinkAsync(searchAds360Link, updateMask);
UpdateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest, CallSettings)
Updates a SearchAds360Link on a property.
Declaration
public virtual Task<SearchAds360Link> UpdateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSearchAds360LinkRequest request = new UpdateSearchAds360LinkRequest
{
SearchAds360Link = new SearchAds360Link(),
UpdateMask = new FieldMask(),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.UpdateSearchAds360LinkAsync(request);
UpdateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest, CancellationToken)
Updates a SearchAds360Link on a property.
Declaration
public virtual Task<SearchAds360Link> UpdateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateSearchAds360LinkRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SearchAds360Link> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSearchAds360LinkRequest request = new UpdateSearchAds360LinkRequest
{
SearchAds360Link = new SearchAds360Link(),
UpdateMask = new FieldMask(),
};
// Make the request
SearchAds360Link response = await analyticsAdminServiceClient.UpdateSearchAds360LinkAsync(request);
UpdateSubpropertyEventFilter(SubpropertyEventFilter, FieldMask, CallSettings)
Updates a subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter UpdateSubpropertyEventFilter(SubpropertyEventFilter subpropertyEventFilter, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to update. |
FieldMask | updateMask | Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
FieldMask updateMask = new FieldMask();
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.UpdateSubpropertyEventFilter(subpropertyEventFilter, updateMask);
UpdateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest, CallSettings)
Updates a subproperty Event Filter.
Declaration
public virtual SubpropertyEventFilter UpdateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
SubpropertyEventFilter | The RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
// Initialize request argument(s)
UpdateSubpropertyEventFilterRequest request = new UpdateSubpropertyEventFilterRequest
{
SubpropertyEventFilter = new SubpropertyEventFilter(),
UpdateMask = new FieldMask(),
};
// Make the request
SubpropertyEventFilter response = analyticsAdminServiceClient.UpdateSubpropertyEventFilter(request);
UpdateSubpropertyEventFilterAsync(SubpropertyEventFilter, FieldMask, CallSettings)
Updates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> UpdateSubpropertyEventFilterAsync(SubpropertyEventFilter subpropertyEventFilter, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to update. |
FieldMask | updateMask | Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
FieldMask updateMask = new FieldMask();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.UpdateSubpropertyEventFilterAsync(subpropertyEventFilter, updateMask);
UpdateSubpropertyEventFilterAsync(SubpropertyEventFilter, FieldMask, CancellationToken)
Updates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> UpdateSubpropertyEventFilterAsync(SubpropertyEventFilter subpropertyEventFilter, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SubpropertyEventFilter | subpropertyEventFilter | Required. The subproperty event filter to update. |
FieldMask | updateMask | Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
SubpropertyEventFilter subpropertyEventFilter = new SubpropertyEventFilter();
FieldMask updateMask = new FieldMask();
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.UpdateSubpropertyEventFilterAsync(subpropertyEventFilter, updateMask);
UpdateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest, CallSettings)
Updates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> UpdateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSubpropertyEventFilterRequest request = new UpdateSubpropertyEventFilterRequest
{
SubpropertyEventFilter = new SubpropertyEventFilter(),
UpdateMask = new FieldMask(),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.UpdateSubpropertyEventFilterAsync(request);
UpdateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest, CancellationToken)
Updates a subproperty Event Filter.
Declaration
public virtual Task<SubpropertyEventFilter> UpdateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UpdateSubpropertyEventFilterRequest | request | The request object containing all of the parameters for the API call. |
CancellationToken | cancellationToken | A CancellationToken to use for this RPC. |
Returns
Type | Description |
---|---|
Task<SubpropertyEventFilter> | A Task containing the RPC response. |
Sample code
// Create client
AnalyticsAdminServiceClient analyticsAdminServiceClient = await AnalyticsAdminServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSubpropertyEventFilterRequest request = new UpdateSubpropertyEventFilterRequest
{
SubpropertyEventFilter = new SubpropertyEventFilter(),
UpdateMask = new FieldMask(),
};
// Make the request
SubpropertyEventFilter response = await analyticsAdminServiceClient.UpdateSubpropertyEventFilterAsync(request);