Class: Google::Apis::AnalyticsV3::EntityUserLink::Entity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::EntityUserLink::Entity
 
- 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
Entity for this link. It can be an account, a web property, or a view (profile) .
Instance Attribute Summary collapse
- 
  
    
      #account_ref  ⇒ Google::Apis::AnalyticsV3::AccountRef 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for a linked account. 
- 
  
    
      #profile_ref  ⇒ Google::Apis::AnalyticsV3::ProfileRef 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for a linked view (profile). 
- 
  
    
      #web_property_ref  ⇒ Google::Apis::AnalyticsV3::WebPropertyRef 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON template for a web property reference. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Entity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Entity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Entity
Returns a new instance of Entity
| 1540 1541 1542 | # File 'generated/google/apis/analytics_v3/classes.rb', line 1540 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_ref ⇒ Google::Apis::AnalyticsV3::AccountRef
JSON template for a linked account.
Corresponds to the JSON property accountRef
| 1528 1529 1530 | # File 'generated/google/apis/analytics_v3/classes.rb', line 1528 def account_ref @account_ref end | 
#profile_ref ⇒ Google::Apis::AnalyticsV3::ProfileRef
JSON template for a linked view (profile).
Corresponds to the JSON property profileRef
| 1533 1534 1535 | # File 'generated/google/apis/analytics_v3/classes.rb', line 1533 def profile_ref @profile_ref end | 
#web_property_ref ⇒ Google::Apis::AnalyticsV3::WebPropertyRef
JSON template for a web property reference.
Corresponds to the JSON property webPropertyRef
| 1538 1539 1540 | # File 'generated/google/apis/analytics_v3/classes.rb', line 1538 def web_property_ref @web_property_ref end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1545 1546 1547 1548 1549 | # File 'generated/google/apis/analytics_v3/classes.rb', line 1545 def update!(**args) @account_ref = args[:account_ref] if args.key?(:account_ref) @profile_ref = args[:profile_ref] if args.key?(:profile_ref) @web_property_ref = args[:web_property_ref] if args.key?(:web_property_ref) end |