Class: Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest

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

Overview

Request to fetch stored line items.

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) ⇒ DownloadLineItemsRequest

Returns a new instance of DownloadLineItemsRequest.


51
52
53
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 51

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

Instance Attribute Details

#file_specString

File specification (column names, types, order) in which the line items will be returned. Default to EWF. Corresponds to the JSON property fileSpec

Returns:

  • (String)

33
34
35
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 33

def file_spec
  @file_spec
end

#filter_idsArray<String>

Ids of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned. Corresponds to the JSON property filterIds

Returns:

  • (Array<String>)

39
40
41
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 39

def filter_ids
  @filter_ids
end

#filter_typeString

Filter type used to filter line items to fetch. Corresponds to the JSON property filterType

Returns:

  • (String)

44
45
46
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 44

def filter_type
  @filter_type
end

#formatString

Format in which the line items will be returned. Default to CSV. Corresponds to the JSON property format

Returns:

  • (String)

49
50
51
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 49

def format
  @format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


56
57
58
59
60
61
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 56

def update!(**args)
  @file_spec = args[:file_spec] if args.key?(:file_spec)
  @filter_ids = args[:filter_ids] if args.key?(:filter_ids)
  @filter_type = args[:filter_type] if args.key?(:filter_type)
  @format = args[:format] if args.key?(:format)
end