class Google::Apis::AnalyticsV3::ProfileSummary

JSON template for an Analytics ProfileSummary. ProfileSummary returns basic information (i.e., summary) for a profile.

Attributes

id[RW]

View (profile) ID. Corresponds to the JSON property `id` @return [String]

kind[RW]

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

name[RW]

View (profile) name. Corresponds to the JSON property `name` @return [String]

starred[RW]

Indicates whether this view (profile) is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

starred?[RW]

Indicates whether this view (profile) is starred or not. Corresponds to the JSON property `starred` @return [Boolean]

type[RW]

View (Profile) type. Supported types: WEB or APP. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 4282
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 4287
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)
  @type = args[:type] if args.key?(:type)
end