Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
- 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
-
#corpus_type ⇒ String
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
-
#error_message ⇒ String
Reason why the URI was not crawled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
Returns a new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason.
5071 5072 5073 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#corpus_type ⇒ String
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
Corresponds to the JSON property corpusType
5064 5065 5066 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5064 def corpus_type @corpus_type end |
#error_message ⇒ String
Reason why the URI was not crawled.
Corresponds to the JSON property errorMessage
5069 5070 5071 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5069 def @error_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5076 5077 5078 5079 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5076 def update!(**args) @corpus_type = args[:corpus_type] if args.key?(:corpus_type) @error_message = args[:error_message] if args.key?(:error_message) end |