Struct gapi_grpc::google::analytics::admin::v1alpha::CustomDimension[][src]

pub struct CustomDimension {
    pub name: String,
    pub parameter_name: String,
    pub display_name: String,
    pub description: String,
    pub scope: i32,
    pub disallow_ads_personalization: bool,
}

A definition for a CustomDimension.

Fields

name: String

Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}

parameter_name: String

Required. Immutable. Tagging parameter name for this custom dimension.

If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name.

May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.

display_name: String

Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.

description: String

Optional. Description for this custom dimension. Max length of 150 characters.

scope: i32

Required. Immutable. The scope of this dimension.

disallow_ads_personalization: bool

Optional. If set to true, sets this dimension as NPA and excludes it from ads personalization.

This is currently only supported by user-scoped custom dimensions.

Implementations

impl CustomDimension[src]

pub fn scope(&self) -> DimensionScope[src]

Returns the enum value of scope, or the default if the field is set to an invalid enum value.

pub fn set_scope(&mut self, value: DimensionScope)[src]

Sets scope to the provided enum value.

Trait Implementations

impl Clone for CustomDimension[src]

impl Debug for CustomDimension[src]

impl Default for CustomDimension[src]

impl Message for CustomDimension[src]

impl PartialEq<CustomDimension> for CustomDimension[src]

impl StructuralPartialEq for CustomDimension[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomDimension

impl Send for CustomDimension

impl Sync for CustomDimension

impl Unpin for CustomDimension

impl UnwindSafe for CustomDimension

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]