Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason

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 crawling failed for a particular CorpusType, e.g., DESKTOP and MOBILE crawling may fail for different reasons.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason

Returns a new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason.



4871
4872
4873
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4871

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

Instance Attribute Details

#corpus_typeString

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED. Corresponds to the JSON property corpusType

Returns:

  • (String)


4864
4865
4866
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4864

def corpus_type
  @corpus_type
end

#error_messageString

Reason why the URI was not crawled. Corresponds to the JSON property errorMessage

Returns:

  • (String)


4869
4870
4871
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4869

def error_message
  @error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4876
4877
4878
4879
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4876

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