Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo

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

Overview

Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo

Returns a new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo.



4845
4846
4847
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4845

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

Instance Attribute Details

#failure_reasonsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason>

List of failure reasons by corpus type (e.g. desktop, mobile). Corresponds to the JSON property failureReasons



4838
4839
4840
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4838

def failure_reasons
  @failure_reasons
end

#uriString

URI that failed to be crawled. Corresponds to the JSON property uri

Returns:

  • (String)


4843
4844
4845
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4843

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4850
4851
4852
4853
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4850

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