Class: Google::Apis::AnalyticsV3::ProfileSummary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::ProfileSummary
 
- 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 ProfileSummary. ProfileSummary returns basic information (i.e., summary) for a profile.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    View (profile) ID. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type for Analytics ProfileSummary. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    View (profile) name. 
- 
  
    
      #starred  ⇒ Boolean 
    
    
      (also: #starred?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether this view (profile) is starred or not. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    View (Profile) type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProfileSummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProfileSummary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProfileSummary
Returns a new instance of ProfileSummary
| 4308 4309 4310 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4308 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
View (profile) ID.
Corresponds to the JSON property id
| 4285 4286 4287 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4285 def id @id end | 
#kind ⇒ String
Resource type for Analytics ProfileSummary.
Corresponds to the JSON property kind
| 4290 4291 4292 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4290 def kind @kind end | 
#name ⇒ String
View (profile) name.
Corresponds to the JSON property name
| 4295 4296 4297 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4295 def name @name end | 
#starred ⇒ Boolean Also known as: starred?
Indicates whether this view (profile) is starred or not.
Corresponds to the JSON property starred
| 4300 4301 4302 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4300 def starred @starred end | 
#type ⇒ String
View (Profile) type. Supported types: WEB or APP.
Corresponds to the JSON property type
| 4306 4307 4308 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4306 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4313 4314 4315 4316 4317 4318 4319 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4313 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 |