Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.
Instance Attribute Summary collapse
-
#failure_reasons ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason>
List of failure reasons by corpus type (e.g. desktop, mobile).
-
#uri ⇒ String
URI that failed to be crawled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
Returns a new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo.
13418 13419 13420 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_reasons ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason>
List of failure reasons by corpus type (e.g. desktop, mobile).
Corresponds to the JSON property failureReasons
13411 13412 13413 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13411 def failure_reasons @failure_reasons end |
#uri ⇒ String
URI that failed to be crawled.
Corresponds to the JSON property uri
13416 13417 13418 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13416 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13423 13424 13425 13426 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 13423 def update!(**args) @failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons) @uri = args[:uri] if args.key?(:uri) end |