class Google::Apis::AnalyticsV3::AccountSummary

JSON template for an Analytics AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.

Attributes

id[RW]

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

kind[RW]

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

name[RW]

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

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]

web_properties[RW]

List of web properties under this account. Corresponds to the JSON property `webProperties` @return [Array<Google::Apis::AnalyticsV3::WebPropertySummary>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 276
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 281
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @starred = args[:starred] if args.key?(:starred)
  @web_properties = args[:web_properties] if args.key?(:web_properties)
end