Class: Google::Apis::AnalyticsV3::WebPropertySummary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::WebPropertySummary
 
- 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
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Web property ID of the form UA-XXXXX-YY. 
- 
  
    
      #internal_web_property_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Internal ID for this web property. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type for Analytics WebPropertySummary. 
- 
  
    
      #level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Level for this web property. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Web property name. 
- 
  
    
      #profiles  ⇒ Array<Google::Apis::AnalyticsV3::ProfileSummary> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of profiles under this web property. 
- 
  
    
      #starred  ⇒ Boolean 
    
    
      (also: #starred?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether this web property is starred or not. 
- 
  
    
      #website_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Website url for this web property. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WebPropertySummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WebPropertySummary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WebPropertySummary
Returns a new instance of WebPropertySummary
| 5456 5457 5458 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5456 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
Web property ID of the form UA-XXXXX-YY.
Corresponds to the JSON property id
| 5418 5419 5420 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5418 def id @id end | 
#internal_web_property_id ⇒ String
Internal ID for this web property.
Corresponds to the JSON property internalWebPropertyId
| 5423 5424 5425 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5423 def internal_web_property_id @internal_web_property_id end | 
#kind ⇒ String
Resource type for Analytics WebPropertySummary.
Corresponds to the JSON property kind
| 5428 5429 5430 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5428 def kind @kind end | 
#level ⇒ String
Level for this web property. Possible values are STANDARD or PREMIUM.
Corresponds to the JSON property level
| 5433 5434 5435 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5433 def level @level end | 
#name ⇒ String
Web property name.
Corresponds to the JSON property name
| 5438 5439 5440 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5438 def name @name end | 
#profiles ⇒ Array<Google::Apis::AnalyticsV3::ProfileSummary>
List of profiles under this web property.
Corresponds to the JSON property profiles
| 5443 5444 5445 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5443 def profiles @profiles end | 
#starred ⇒ Boolean Also known as: starred?
Indicates whether this web property is starred or not.
Corresponds to the JSON property starred
| 5448 5449 5450 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5448 def starred @starred end | 
#website_url ⇒ String
Website url for this web property.
Corresponds to the JSON property websiteUrl
| 5454 5455 5456 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5454 def website_url @website_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5461 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 |