Class: Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceDestinationNotWorking

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

Overview

Details for on HTTP or DNS errors related to the ad destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdPolicyTopicEvidenceDestinationNotWorking

Returns a new instance of AdPolicyTopicEvidenceDestinationNotWorking.



825
826
827
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 825

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

Instance Attribute Details

#deviceString

The device where visiting the URL resulted in the error. Corresponds to the JSON property device

Returns:

  • (String)


803
804
805
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 803

def device
  @device
end

#dns_error_typeString

The type of DNS error. Corresponds to the JSON property dnsErrorType

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 808

def dns_error_type
  @dns_error_type
end

#expanded_uriString

The full URL that didn't work. Corresponds to the JSON property expandedUri

Returns:

  • (String)


813
814
815
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 813

def expanded_uri
  @expanded_uri
end

#http_error_codeFixnum

The HTTP error code. Corresponds to the JSON property httpErrorCode

Returns:

  • (Fixnum)


818
819
820
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 818

def http_error_code
  @http_error_code
end

#last_checked_timeString

The last time the error was seen when navigating to URL. Corresponds to the JSON property lastCheckedTime

Returns:

  • (String)


823
824
825
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 823

def last_checked_time
  @last_checked_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



830
831
832
833
834
835
836
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 830

def update!(**args)
  @device = args[:device] if args.key?(:device)
  @dns_error_type = args[:dns_error_type] if args.key?(:dns_error_type)
  @expanded_uri = args[:expanded_uri] if args.key?(:expanded_uri)
  @http_error_code = args[:http_error_code] if args.key?(:http_error_code)
  @last_checked_time = args[:last_checked_time] if args.key?(:last_checked_time)
end