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



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

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



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

def pings
  @pings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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