Class: Google::Apis::AdexchangesellerV1_1::CustomChannel
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangesellerV1_1::CustomChannel
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v1_1/classes.rb,
 generated/google/apis/adexchangeseller_v1_1/representations.rb,
 generated/google/apis/adexchangeseller_v1_1/representations.rb
Defined Under Namespace
Classes: TargetingInfo
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Code of this custom channel, not necessarily unique across ad clients. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique identifier of this custom channel. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Kind of resource this is, in this case adexchangeseller#customChannel. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this custom channel. 
- 
  
    
      #targeting_info  ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannel::TargetingInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The targeting information of this custom channel, if activated. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomChannel 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomChannel. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomChannel
Returns a new instance of CustomChannel
| 329 330 331 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 329 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#code ⇒ String
Code of this custom channel, not necessarily unique across ad clients.
Corresponds to the JSON property code
| 306 307 308 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 306 def code @code end | 
#id ⇒ String
Unique identifier of this custom 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
| 312 313 314 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 312 def id @id end | 
#kind ⇒ String
Kind of resource this is, in this case adexchangeseller#customChannel.
Corresponds to the JSON property kind
| 317 318 319 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 317 def kind @kind end | 
#name ⇒ String
Name of this custom channel.
Corresponds to the JSON property name
| 322 323 324 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 322 def name @name end | 
#targeting_info ⇒ Google::Apis::AdexchangesellerV1_1::CustomChannel::TargetingInfo
The targeting information of this custom channel, if activated.
Corresponds to the JSON property targetingInfo
| 327 328 329 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 327 def targeting_info @targeting_info end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 334 335 336 337 338 339 340 | # File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 334 def update!(**args) @code = args[:code] if args.key?(:code) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @targeting_info = args[:targeting_info] if args.key?(:targeting_info) end |