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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ ChannelConversionPings

Returns a new instance of ChannelConversionPings.



1278
1279
1280
# File 'lib/google/apis/youtube_v3/classes.rb', line 1278

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



1276
1277
1278
# File 'lib/google/apis/youtube_v3/classes.rb', line 1276

def pings
  @pings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1283
1284
1285
# File 'lib/google/apis/youtube_v3/classes.rb', line 1283

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