Class CreateCalculatedMetricRequest
Request message for CreateCalculatedMetric RPC.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class CreateCalculatedMetricRequest : IMessage<CreateCalculatedMetricRequest>, IEquatable<CreateCalculatedMetricRequest>, IDeepCloneable<CreateCalculatedMetricRequest>, IBufferMessage, IMessage
Constructors
CreateCalculatedMetricRequest()
Declaration
public CreateCalculatedMetricRequest()
CreateCalculatedMetricRequest(CreateCalculatedMetricRequest)
Declaration
public CreateCalculatedMetricRequest(CreateCalculatedMetricRequest other)
Parameters
Type | Name | Description |
---|---|---|
CreateCalculatedMetricRequest | other |
Properties
CalculatedMetric
Required. The CalculatedMetric to create.
Declaration
public CalculatedMetric CalculatedMetric { get; set; }
Property Value
Type | Description |
---|---|
CalculatedMetric |
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}".
Declaration
public string CalculatedMetricId { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Format: properties/{property_id} Example: properties/1234
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentAsPropertyName
PropertyName-typed view over the Parent resource name property.
Declaration
public PropertyName ParentAsPropertyName { get; set; }
Property Value
Type | Description |
---|---|
PropertyName |