Class: Google::Apis::AnalyticsV3::ProfileRef
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::ProfileRef
 
- 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 a linked view (profile).
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Account ID to which this view (profile) belongs. 
- 
  
    
      #href  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Link for this view (profile). 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    View (Profile) ID. 
- 
  
    
      #internal_web_property_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Internal ID for the web property to which this view (profile) belongs. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Analytics view (profile) reference. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this view (profile). 
- 
  
    
      #web_property_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProfileRef 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ProfileRef. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProfileRef
Returns a new instance of ProfileRef
| 4261 4262 4263 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4261 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
Account ID to which this view (profile) belongs.
Corresponds to the JSON property accountId
| 4229 4230 4231 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4229 def account_id @account_id end | 
#href ⇒ String
Link for this view (profile).
Corresponds to the JSON property href
| 4234 4235 4236 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4234 def href @href end | 
#id ⇒ String
View (Profile) ID.
Corresponds to the JSON property id
| 4239 4240 4241 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4239 def id @id end | 
#internal_web_property_id ⇒ String
Internal ID for the web property to which this view (profile) belongs.
Corresponds to the JSON property internalWebPropertyId
| 4244 4245 4246 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4244 def internal_web_property_id @internal_web_property_id end | 
#kind ⇒ String
Analytics view (profile) reference.
Corresponds to the JSON property kind
| 4249 4250 4251 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4249 def kind @kind end | 
#name ⇒ String
Name of this view (profile).
Corresponds to the JSON property name
| 4254 4255 4256 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4254 def name @name end | 
#web_property_id ⇒ String
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
Corresponds to the JSON property webPropertyId
| 4259 4260 4261 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4259 def web_property_id @web_property_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4266 4267 4268 4269 4270 4271 4272 4273 4274 | # File 'generated/google/apis/analytics_v3/classes.rb', line 4266 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @href = args[:href] if args.key?(:href) @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) @name = args[:name] if args.key?(:name) @web_property_id = args[:web_property_id] if args.key?(:web_property_id) end |