Interface CreateCustomMetricRequestOrBuilder (0.56.0)

public interface CreateCustomMetricRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomMetric()

public abstract CustomMetric getCustomMetric()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomMetric

The customMetric.

getCustomMetricOrBuilder()

public abstract CustomMetricOrBuilder getCustomMetricOrBuilder()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomMetricOrBuilder

getParent()

public abstract String getParent()

Required. Example format: properties/1234

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Example format: properties/1234

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

Returns
Type Description
ByteString

The bytes for parent.

hasCustomMetric()

public abstract boolean hasCustomMetric()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customMetric field is set.