Class: Google::Apis::AnalyticsV3::WebPropertyRef
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::WebPropertyRef
 
- 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 web property reference.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Account ID to which this web property belongs. 
- 
  
    
      #href  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Link for this web property. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Web property ID of the form UA-XXXXX-YY. 
- 
  
    
      #internal_web_property_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Internal ID for this web property. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Analytics web property reference. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this web property. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WebPropertyRef 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WebPropertyRef. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WebPropertyRef
Returns a new instance of WebPropertyRef
| 5395 5396 5397 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5395 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
Account ID to which this web property belongs.
Corresponds to the JSON property accountId
| 5368 5369 5370 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5368 def account_id @account_id end | 
#href ⇒ String
Link for this web property.
Corresponds to the JSON property href
| 5373 5374 5375 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5373 def href @href end | 
#id ⇒ String
Web property ID of the form UA-XXXXX-YY.
Corresponds to the JSON property id
| 5378 5379 5380 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5378 def id @id end | 
#internal_web_property_id ⇒ String
Internal ID for this web property.
Corresponds to the JSON property internalWebPropertyId
| 5383 5384 5385 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5383 def internal_web_property_id @internal_web_property_id end | 
#kind ⇒ String
Analytics web property reference.
Corresponds to the JSON property kind
| 5388 5389 5390 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5388 def kind @kind end | 
#name ⇒ String
Name of this web property.
Corresponds to the JSON property name
| 5393 5394 5395 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5393 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5400 5401 5402 5403 5404 5405 5406 5407 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5400 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) end |