Interface CreateCustomMetricRequestOrBuilder (0.70.0)

publicinterfaceCreateCustomMetricRequestOrBuilderextendsMessageOrBuilder

Methods

getCustomMetric()

publicabstractCustomMetricgetCustomMetric()

Required. The CustomMetric to create.

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

Returns
TypeDescription
CustomMetric

The customMetric.

getCustomMetricOrBuilder()

publicabstractCustomMetricOrBuildergetCustomMetricOrBuilder()

Required. The CustomMetric to create.

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

Returns
TypeDescription
CustomMetricOrBuilder

getParent()

publicabstractStringgetParent()

Required. Example format: properties/1234

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

Returns
TypeDescription
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

Required. Example format: properties/1234

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasCustomMetric()

publicabstractbooleanhasCustomMetric()

Required. The CustomMetric to create.

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

Returns
TypeDescription
boolean

Whether the customMetric field is set.