Reference documentation and code samples for the Google Analytics Admin V1beta Client class Property.
A resource message representing a Google Analytics property.
Generated from protobuf message google.analytics.admin.v1beta.Property
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000"
↳ property_type
int
Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
↳ create_time
↳ update_time
↳ 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}, properties/{property} Example: "accounts/100", "properties/101"
↳ 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
int
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"
↳ service_level
int
Output only. The Google Analytics service level that applies to this property.
↳ delete_time
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.
↳ expire_time
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.
↳ account
string
Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
getName
Output only. Resource name of this property.
Format: properties/{property_id} Example: "properties/1000"
string
setName
Output only. Resource name of this property.
Format: properties/{property_id} Example: "properties/1000"
var
string
$this
getPropertyType
Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
int
setPropertyType
Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
var
int
$this
getCreateTime
Output only. Time when the entity was originally created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time when the entity was originally created.
$this
getUpdateTime
Output only. Time when entity payload fields were last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time when entity payload fields were last updated.
$this
getParent
Immutable. Resource name of this property's logical parent.
Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101"
string
setParent
Immutable. Resource name of this property's logical parent.
Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101"
var
string
$this
getDisplayName
Required. Human-readable display name for this property.
The max allowed display name length is 100 UTF-16 code units.
string
setDisplayName
Required. Human-readable display name for this property.
The max allowed display name length is 100 UTF-16 code units.
var
string
$this
getIndustryCategory
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
int
setIndustryCategory
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
var
int
$this
getTimeZone
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"
string
setTimeZone
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"
var
string
$this
getCurrencyCode
The currency type used in reports involving monetary values.
Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
string
setCurrencyCode
The currency type used in reports involving monetary values.
Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
var
string
$this
getServiceLevel
Output only. The Google Analytics service level that applies to this property.
int
setServiceLevel
Output only. The Google Analytics service level that applies to this property.
var
int
$this
getDeleteTime
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.
hasDeleteTime
clearDeleteTime
setDeleteTime
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.
$this
getExpireTime
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.
hasExpireTime
clearExpireTime
setExpireTime
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.
$this
getAccount
Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
string
setAccount
Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
var
string
$this