Class: Google::Apis::AnalyticsV3::AccountSummary
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AnalyticsV3::AccountSummary
 
 
- 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 AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Account ID.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource type for Analytics AccountSummary.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Account name.
 - 
  
    
      #starred  ⇒ Boolean 
    
    
      (also: #starred?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates whether this account is starred or not.
 - 
  
    
      #web_properties  ⇒ Array<Google::Apis::AnalyticsV3::WebPropertySummary> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of web properties under this account.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AccountSummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AccountSummary.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AccountSummary
Returns a new instance of AccountSummary
      276 277 278  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 276 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#id ⇒ String
Account ID.
Corresponds to the JSON property id
      253 254 255  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 253 def id @id end  | 
  
#kind ⇒ String
Resource type for Analytics AccountSummary.
Corresponds to the JSON property kind
      258 259 260  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 258 def kind @kind end  | 
  
#name ⇒ String
Account name.
Corresponds to the JSON property name
      263 264 265  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 263 def name @name end  | 
  
#starred ⇒ Boolean Also known as: starred?
Indicates whether this account is starred or not.
Corresponds to the JSON property starred
      268 269 270  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 268 def starred @starred end  | 
  
#web_properties ⇒ Array<Google::Apis::AnalyticsV3::WebPropertySummary>
List of web properties under this account.
Corresponds to the JSON property webProperties
      274 275 276  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 274 def web_properties @web_properties end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      281 282 283 284 285 286 287  | 
    
      # File 'generated/google/apis/analytics_v3/classes.rb', line 281 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) @web_properties = args[:web_properties] if args.key?(:web_properties) end  |