class Google::Apis::YoutubePartnerV1::CampaignList

Attributes

items[RW]

A list of campaigns. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubePartnerV1::Campaign>]

kind[RW]

The type of the API response. For this operation, the value is youtubePartner# campaignList. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 662
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_partner_v1/classes.rb, line 667
def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end