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

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

Response message for SiteSearchEngineService.RecrawlUris method.

Defined Under Namespace

Classes: FailureInfo

Instance Attribute Summary collapse

Instance Attribute Details

#failed_uris::Array<::String>

Returns URIs that were not crawled before the LRO terminated.

Returns:

  • (::Array<::String>)

    URIs that were not crawled before the LRO terminated.



502
503
504
505
506
507
508
509
510
511
512
513
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
543
# File 'proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb', line 502

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

  # Details about why a particular URI failed to be crawled. Each FailureInfo
  # contains one FailureReason per CorpusType.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI that failed to be crawled.
  # @!attribute [rw] failure_reasons
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo::FailureReason>]
  #     List of failure reasons by corpus type (e.g. desktop, mobile).
  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
end

#failure_samples::Array<::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo>

Returns Details for a sample of up to 10 failed_uris.

Returns:



502
503
504
505
506
507
508
509
510
511
512
513
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
543
# File 'proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb', line 502

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

  # Details about why a particular URI failed to be crawled. Each FailureInfo
  # contains one FailureReason per CorpusType.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI that failed to be crawled.
  # @!attribute [rw] failure_reasons
  #   @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisResponse::FailureInfo::FailureReason>]
  #     List of failure reasons by corpus type (e.g. desktop, mobile).
  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
end