Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesOfflineConversionAlert

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

Overview

Alert for offline conversion client summary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesOfflineConversionAlert

Returns a new instance of GoogleAdsSearchads360V23ResourcesOfflineConversionAlert.



31712
31713
31714
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31712

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

Instance Attribute Details

#errorGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesOfflineConversionError

Possible errors for offline conversion client summary. Corresponds to the JSON property error



31704
31705
31706
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31704

def error
  @error
end

#error_percentageFloat

Output only. Percentage of the error, the range of this field should be [0, 1. 0]. Corresponds to the JSON property errorPercentage

Returns:

  • (Float)


31710
31711
31712
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31710

def error_percentage
  @error_percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31717
31718
31719
31720
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31717

def update!(**args)
  @error = args[:error] if args.key?(:error)
  @error_percentage = args[:error_percentage] if args.key?(:error_percentage)
end