Class: Google::Apis::DfareportingV5::TargetingTemplatesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

Targeting Template List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingTemplatesListResponse

Returns a new instance of TargetingTemplatesListResponse.



12988
12989
12990
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12988

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#targetingTemplatesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


12976
12977
12978
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12976

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


12981
12982
12983
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12981

def next_page_token
  @next_page_token
end

#targeting_templatesArray<Google::Apis::DfareportingV5::TargetingTemplate>

Targeting template collection. Corresponds to the JSON property targetingTemplates



12986
12987
12988
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12986

def targeting_templates
  @targeting_templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12993
12994
12995
12996
12997
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12993

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