Interface CreateCalculatedMetricRequestOrBuilder (0.51.0)

public interface CreateCalculatedMetricRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCalculatedMetric()

public abstract CalculatedMetric getCalculatedMetric()

Required. The CalculatedMetric to create.

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CalculatedMetric

The calculatedMetric.

getCalculatedMetricId()

public abstract String getCalculatedMetricId()

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}".

string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The calculatedMetricId.

getCalculatedMetricIdBytes()

public abstract ByteString getCalculatedMetricIdBytes()

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}".

string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for calculatedMetricId.

getCalculatedMetricOrBuilder()

public abstract CalculatedMetricOrBuilder getCalculatedMetricOrBuilder()

Required. The CalculatedMetric to create.

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CalculatedMetricOrBuilder

getParent()

public abstract String getParent()

Required. Format: properties/{property_id} Example: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Format: properties/{property_id} Example: properties/1234

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasCalculatedMetric()

public abstract boolean hasCalculatedMetric()

Required. The CalculatedMetric to create.

.google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the calculatedMetric field is set.