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



1230
1231
1232
# File 'generated/google/apis/youtube_v3/classes.rb', line 1230

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



1228
1229
1230
# File 'generated/google/apis/youtube_v3/classes.rb', line 1228

def pings
  @pings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1235
1236
1237
# File 'generated/google/apis/youtube_v3/classes.rb', line 1235

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