Class: Google::Apis::DfareportingV4::ConversionsBatchUpdateResponse

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

Overview

Update Conversions Response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionsBatchUpdateResponse

Returns a new instance of ConversionsBatchUpdateResponse.



3041
3042
3043
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3041

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)


3026
3027
3028
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3026

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)


3033
3034
3035
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3033

def kind
  @kind
end

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

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



3039
3040
3041
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3039

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3046
3047
3048
3049
3050
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 3046

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