Class: Google::Apis::AnalyticsV3::WebPropertySummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WebPropertySummary

Returns a new instance of WebPropertySummary.



5253
5254
5255
# File 'generated/google/apis/analytics_v3/classes.rb', line 5253

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

Web property ID of the form UA-XXXXX-YY. Corresponds to the JSON property id

Returns:

  • (String)


5215
5216
5217
# File 'generated/google/apis/analytics_v3/classes.rb', line 5215

def id
  @id
end

#internal_web_property_idString

Internal ID for this web property. Corresponds to the JSON property internalWebPropertyId

Returns:

  • (String)


5220
5221
5222
# File 'generated/google/apis/analytics_v3/classes.rb', line 5220

def internal_web_property_id
  @internal_web_property_id
end

#kindString

Resource type for Analytics WebPropertySummary. Corresponds to the JSON property kind

Returns:

  • (String)


5225
5226
5227
# File 'generated/google/apis/analytics_v3/classes.rb', line 5225

def kind
  @kind
end

#levelString

Level for this web property. Possible values are STANDARD or PREMIUM. Corresponds to the JSON property level

Returns:

  • (String)


5230
5231
5232
# File 'generated/google/apis/analytics_v3/classes.rb', line 5230

def level
  @level
end

#nameString

Web property name. Corresponds to the JSON property name

Returns:

  • (String)


5235
5236
5237
# File 'generated/google/apis/analytics_v3/classes.rb', line 5235

def name
  @name
end

#profilesArray<Google::Apis::AnalyticsV3::ProfileSummary>

List of profiles under this web property. Corresponds to the JSON property profiles



5240
5241
5242
# File 'generated/google/apis/analytics_v3/classes.rb', line 5240

def profiles
  @profiles
end

#starredBoolean Also known as: starred?

Indicates whether this web property is starred or not. Corresponds to the JSON property starred

Returns:

  • (Boolean)


5245
5246
5247
# File 'generated/google/apis/analytics_v3/classes.rb', line 5245

def starred
  @starred
end

#website_urlString

Website url for this web property. Corresponds to the JSON property websiteUrl

Returns:

  • (String)


5251
5252
5253
# File 'generated/google/apis/analytics_v3/classes.rb', line 5251

def website_url
  @website_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
# File 'generated/google/apis/analytics_v3/classes.rb', line 5258

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