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.



31814
31815
31816
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31814

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



31806
31807
31808
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31806

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)


31812
31813
31814
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31812

def error_percentage
  @error_percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31819
31820
31821
31822
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31819

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