class Google::Apis::AnalyticsV3::Account

JSON template for Analytics account entry.

Attributes

created[RW]

Time the account was created. Corresponds to the JSON property `created` @return [DateTime]

id[RW]

Account ID. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for Analytics account. Corresponds to the JSON property `kind` @return [String]

name[RW]

Account name. Corresponds to the JSON property `name` @return [String]

permissions[RW]

Permissions the user has for this account. Corresponds to the JSON property `permissions` @return [Google::Apis::AnalyticsV3::Account::Permissions]

starred[RW]

Indicates whether this account is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

starred?[RW]

Indicates whether this account is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

updated[RW]

Time the account was last modified. Corresponds to the JSON property `updated` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 76
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 81
def update!(**args)
  @child_link = args[:child_link] if args.key?(:child_link)
  @created = args[:created] if args.key?(:created)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @permissions = args[:permissions] if args.key?(:permissions)
  @self_link = args[:self_link] if args.key?(:self_link)
  @starred = args[:starred] if args.key?(:starred)
  @updated = args[:updated] if args.key?(:updated)
end