Class: Google::Apis::DfareportingV2_6::ConversionsBatchInsertResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/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.



2460
2461
2462
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2460

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)


2445
2446
2447
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2445

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)


2452
2453
2454
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2452

def kind
  @kind
end

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

The status of each conversion's insertion status. The status is returned in the same order that conversions are inserted. Corresponds to the JSON property status



2458
2459
2460
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2458

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2465
2466
2467
2468
2469
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2465

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