Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
A resource message representing a Google Analytics account.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#deleted ⇒ Boolean
(also: #deleted?)
Output only.
-
#display_name ⇒ String
Required.
-
#gmp_organization ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#region_code ⇒ String
Country of business.
-
#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.
653 654 655 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when this account was originally created.
Corresponds to the JSON property createTime
616 617 618 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 616 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
622 623 624 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 622 def deleted @deleted end |
#display_name ⇒ String
Required. Human-readable display name for this account.
Corresponds to the JSON property displayName
628 629 630 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 628 def display_name @display_name end |
#gmp_organization ⇒ String
Output only. The URI for a Google Marketing Platform organization resource.
Only set when this account is connected to a GMP organization. Format:
marketingplatformadmin.googleapis.com/organizations/org_id
Corresponds to the JSON property gmpOrganization
635 636 637 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 635 def gmp_organization @gmp_organization end |
#name ⇒ String
Output only. Resource name of this account. Format: accounts/account
Example:
"accounts/100"
Corresponds to the JSON property name
641 642 643 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 641 def name @name end |
#region_code ⇒ String
Country of business. Must be a Unicode CLDR region code.
Corresponds to the JSON property regionCode
646 647 648 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 646 def region_code @region_code end |
#update_time ⇒ String
Output only. Time when account payload fields were last updated.
Corresponds to the JSON property updateTime
651 652 653 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 651 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
658 659 660 661 662 663 664 665 666 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 658 def update!(**args) @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) @gmp_organization = args[:gmp_organization] if args.key?(:gmp_organization) @name = args[:name] if args.key?(:name) @region_code = args[:region_code] if args.key?(:region_code) @update_time = args[:update_time] if args.key?(:update_time) end |