class Google::Apis::AnalyticsV3::WebPropertySummary

JSON template for an Analytics WebPropertySummary. WebPropertySummary returns basic information (i.e., summary) for a web property.

Attributes

id[RW]

Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property `id` @return [String]

internal_web_property_id[RW]

Internal ID for this web property. Corresponds to the JSON property `internalWebPropertyId` @return [String]

kind[RW]

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

level[RW]

Level for this web property. Possible values are STANDARD or PREMIUM. Corresponds to the JSON property `level` @return [String]

name[RW]

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

profiles[RW]

List of profiles under this web property. Corresponds to the JSON property `profiles` @return [Array<Google::Apis::AnalyticsV3::ProfileSummary>]

starred[RW]

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

starred?[RW]

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

website_url[RW]

Website url for this web property. Corresponds to the JSON property `websiteUrl` @return [String]

Public Class Methods

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