Class: Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb

Overview

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

Defined Under Namespace

Classes: FailureReason

Instance Attribute Summary collapse

Instance Attribute Details

#failure_reasons::Array<::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo::FailureReason>



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
# File 'proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb', line 514

class FailureInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details about why crawling failed for a particular CorpusType, e.g.,
  # DESKTOP and MOBILE crawling may fail for different reasons.
  # @!attribute [rw] corpus_type
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo::FailureReason::CorpusType]
  #     DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
  # @!attribute [rw] error_message
  #   @return [::String]
  #     Reason why the URI was not crawled.
  class FailureReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # CorpusType for the failed crawling operation.
    module CorpusType
      # Default value.
      CORPUS_TYPE_UNSPECIFIED = 0

      # Denotes a crawling attempt for the desktop version of a page.
      DESKTOP = 1

      # Denotes a crawling attempt for the mobile version of a page.
      MOBILE = 2
    end
  end
end

#uri::String



514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
# File 'proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb', line 514

class FailureInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details about why crawling failed for a particular CorpusType, e.g.,
  # DESKTOP and MOBILE crawling may fail for different reasons.
  # @!attribute [rw] corpus_type
  #   @return [::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo::FailureReason::CorpusType]
  #     DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
  # @!attribute [rw] error_message
  #   @return [::String]
  #     Reason why the URI was not crawled.
  class FailureReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # CorpusType for the failed crawling operation.
    module CorpusType
      # Default value.
      CORPUS_TYPE_UNSPECIFIED = 0

      # Denotes a crawling attempt for the desktop version of a page.
      DESKTOP = 1

      # Denotes a crawling attempt for the mobile version of a page.
      MOBILE = 2
    end
  end
end