Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::Property (v0.11.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::Property.

A resource message representing a Google Analytics GA4 property.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account

def account() -> ::String
Returns
  • (::String) — Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"

#account=

def account=(value) -> ::String
Parameter
  • value (::String) — Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
Returns
  • (::String) — Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#currency_code

def currency_code() -> ::String
Returns
  • (::String) — The currency type used in reports involving monetary values.

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

#currency_code=

def currency_code=(value) -> ::String
Parameter
  • value (::String) — The currency type used in reports involving monetary values.

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

Returns
  • (::String) — The currency type used in reports involving monetary values.

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

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::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.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. Human-readable display name for this property.

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

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. Human-readable display name for this property.

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

Returns
  • (::String) — Required. Human-readable display name for this property.

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

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::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.

#industry_category

def industry_category() -> ::Google::Analytics::Admin::V1alpha::IndustryCategory
Returns

#industry_category=

def industry_category=(value) -> ::Google::Analytics::Admin::V1alpha::IndustryCategory
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000"

#parent

def parent() -> ::String
Returns
  • (::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"

#parent=

def parent=(value) -> ::String
Parameter
  • value (::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"

Returns
  • (::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"

#service_level

def service_level() -> ::Google::Analytics::Admin::V1alpha::ServiceLevel
Returns

#time_zone

def time_zone() -> ::String
Returns
  • (::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"

#time_zone=

def time_zone=(value) -> ::String
Parameter
  • value (::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"

Returns
  • (::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"

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns