Class: Google::Apis::DfareportingV3_4::ConversionsBatchUpdateResponse

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

Overview

Update 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) ⇒ ConversionsBatchUpdateResponse

Returns a new instance of ConversionsBatchUpdateResponse.


2743
2744
2745
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2743

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

Instance Attribute Details

#has_failuresBoolean Also known as: has_failures?

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

Returns:

  • (Boolean)

2728
2729
2730
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2728

def has_failures
  @has_failures
end

#kindString

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

Returns:

  • (String)

2735
2736
2737
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2735

def kind
  @kind
end

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

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


2741
2742
2743
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2741

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2748
2749
2750
2751
2752
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2748

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