Class: Google::Apis::DfareportingV3_3::ConversionsBatchInsertResponse

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

Overview

Insert Conversions Response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionsBatchInsertResponse

Returns a new instance of ConversionsBatchInsertResponse.



2547
2548
2549
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2547

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)


2532
2533
2534
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2532

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)


2539
2540
2541
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2539

def kind
  @kind
end

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

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



2545
2546
2547
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2545

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2552
2553
2554
2555
2556
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2552

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