Class: Google::Apis::AdsenseV1_4::UrlChannel
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdsenseV1_4::UrlChannel
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/adsense_v1_4/classes.rb,
generated/google/apis/adsense_v1_4/representations.rb,
generated/google/apis/adsense_v1_4/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Unique identifier of this URL channel.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Kind of resource this is, in this case adsense#urlChannel.
 - 
  
    
      #url_pattern  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
URL Pattern of this URL channel.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UrlChannel 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UrlChannel.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UrlChannel
Returns a new instance of UrlChannel
      1241 1242 1243  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 1241 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#id ⇒ String
Unique identifier of this URL channel. This should be considered an opaque
identifier; it is not safe to rely on it being in any particular format.
Corresponds to the JSON property id
      1228 1229 1230  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 1228 def id @id end  | 
  
#kind ⇒ String
Kind of resource this is, in this case adsense#urlChannel.
Corresponds to the JSON property kind
      1233 1234 1235  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 1233 def kind @kind end  | 
  
#url_pattern ⇒ String
URL Pattern of this URL channel. Does not include "http://" or "https://".
Example: www.example.com/home
Corresponds to the JSON property urlPattern
      1239 1240 1241  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 1239 def url_pattern @url_pattern end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1246 1247 1248 1249 1250  | 
    
      # File 'generated/google/apis/adsense_v1_4/classes.rb', line 1246 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @url_pattern = args[:url_pattern] if args.key?(:url_pattern) end  |