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.


1313
1314
1315
# File 'generated/google/apis/youtube_v3/classes.rb', line 1313

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


1311
1312
1313
# File 'generated/google/apis/youtube_v3/classes.rb', line 1311

def pings
  @pings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1318
1319
1320
# File 'generated/google/apis/youtube_v3/classes.rb', line 1318

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