Class: Google::Apis::YoutubeV3::ChannelConversionPings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb

Overview

The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ChannelConversionPings

Returns a new instance of ChannelConversionPings



1241
1242
1243
# File 'generated/google/apis/youtube_v3/classes.rb', line 1241

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pingsArray<Google::Apis::YoutubeV3::ChannelConversionPing>

Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping. Corresponds to the JSON property pings



1239
1240
1241
# File 'generated/google/apis/youtube_v3/classes.rb', line 1239

def pings
  @pings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1246
1247
1248
# File 'generated/google/apis/youtube_v3/classes.rb', line 1246

def update!(**args)
  @pings = args[:pings] if args.key?(:pings)
end