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

pub struct Property {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub parent: String,
    pub display_name: String,
    pub industry_category: i32,
    pub time_zone: String,
    pub currency_code: String,
    pub delete_time: Option<Timestamp>,
    pub expire_time: Option<Timestamp>,
}

A resource message representing a Google Analytics GA4 property.

Fields

name: String

Output only. Resource name of this property. Format: properties/{property_id} Example: “properties/1000”

create_time: Option<Timestamp>

Output only. Time when the entity was originally created.

update_time: Option<Timestamp>

Output only. Time when entity payload fields were last updated.

parent: String

Immutable. Resource name of this property’s logical parent.

Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account} Example: “accounts/100”

display_name: String

Required. Human-readable display name for this property.

The max allowed display name length is 100 UTF-16 code units.

industry_category: i32

Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK

time_zone: String

Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes.

NOTE: Changing the time zone only affects data going forward, and is not applied retroactively.

Format: https://www.iana.org/time-zones Example: “America/Los_Angeles”

currency_code: String

The currency type used in reports involving monetary values.

Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: “USD”, “EUR”, “JPY”

delete_time: Option<Timestamp>

Output only. If set, the time at which this property was trashed. If not set, then this property is not currently in the trash can.

expire_time: Option<Timestamp>

Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted.

Implementations

impl Property[src]

pub fn industry_category(&self) -> IndustryCategory[src]

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

pub fn set_industry_category(&mut self, value: IndustryCategory)[src]

Sets industry_category to the provided enum value.

Trait Implementations

impl Clone for Property[src]

impl Debug for Property[src]

impl Default for Property[src]

impl Message for Property[src]

impl PartialEq<Property> for Property[src]

impl StructuralPartialEq for Property[src]

Auto Trait Implementations

impl RefUnwindSafe for Property

impl Send for Property

impl Sync for Property

impl Unpin for Property

impl UnwindSafe for Property

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]