Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Request message for SiteSearchEngineService.RecrawlUris method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest.



13808
13809
13810
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13808

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)


13799
13800
13801
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13799

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


13806
13807
13808
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13806

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13813
13814
13815
13816
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13813

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