Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RecrawlUrisRequest

Inherits:
Object
  • Object
show all
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

Request message for SiteSearchEngineService.RecrawlUris method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1RecrawlUrisRequest

Returns a new instance of GoogleCloudDiscoveryengineV1RecrawlUrisRequest.



6956
6957
6958
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6956

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

Instance Attribute Details

#site_credentialString

Optional. Full resource name of the SiteCredential, such as projects/*/ locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*. Only set to crawl private URIs. Corresponds to the JSON property siteCredential

Returns:

  • (String)


6947
6948
6949
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6947

def site_credential
  @site_credential
end

#urisArray<String>

Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in site_search_engine. Corresponds to the JSON property uris

Returns:

  • (Array<String>)


6954
6955
6956
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6954

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6961
6962
6963
6964
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6961

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