Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
A resource message representing a Google Analytics account.
Instance Attribute Summary collapse
-
#country_code ⇒ String
Country of business.
-
#create_time ⇒ String
Output only.
-
#deleted ⇒ Boolean
(also: #deleted?)
Output only.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccount
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccount
Returns a new instance of GoogleAnalyticsAdminV1alphaAccount.
64 65 66 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_code ⇒ String
Country of business. Must be a non-deprecated code for a UN M.49 region. https:
//unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
html
Corresponds to the JSON property countryCode
34 35 36 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 34 def country_code @country_code end |
#create_time ⇒ String
Output only. Time when this account was originally created.
Corresponds to the JSON property createTime
39 40 41 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 39 def create_time @create_time end |
#deleted ⇒ Boolean Also known as: deleted?
Output only. Indicates whether this Account is soft-deleted or not. Deleted
accounts are excluded from List results unless specifically requested.
Corresponds to the JSON property deleted
45 46 47 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 45 def deleted @deleted end |
#display_name ⇒ String
Required. Human-readable display name for this account.
Corresponds to the JSON property displayName
51 52 53 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 51 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of this account. Format: accounts/account
Example:
"accounts/100"
Corresponds to the JSON property name
57 58 59 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 57 def name @name end |
#update_time ⇒ String
Output only. Time when account payload fields were last updated.
Corresponds to the JSON property updateTime
62 63 64 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 62 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 72 73 74 75 76 |
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 69 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @create_time = args[:create_time] if args.key?(:create_time) @deleted = args[:deleted] if args.key?(:deleted) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |