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.



6398
6399
6400
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6398

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)


6389
6390
6391
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6389

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>)


6396
6397
6398
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6396

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6403
6404
6405
6406
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6403

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