Class: Google::Apis::DfareportingV2_7::ConversionsBatchInsertResponse

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

Overview

Insert Conversions Response.

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

Returns a new instance of ConversionsBatchInsertResponse



2505
2506
2507
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2505

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

Instance Attribute Details

#has_failuresBoolean Also known as: has_failures?

Indicates that some or all conversions failed to insert. Corresponds to the JSON property hasFailures

Returns:

  • (Boolean)


2490
2491
2492
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2490

def has_failures
  @has_failures
end

#kindString

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

Returns:

  • (String)


2497
2498
2499
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2497

def kind
  @kind
end

#statusArray<Google::Apis::DfareportingV2_7::ConversionStatus>

The insert status of each conversion. Statuses are returned in the same order that conversions are inserted. Corresponds to the JSON property status



2503
2504
2505
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2503

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2510
2511
2512
2513
2514
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2510

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