Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest

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

Overview

Request message for SiteSearchEngineService.RecrawlUris method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest

Returns a new instance of GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest.



28759
28760
28761
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 28759

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

Instance Attribute Details

#site_credentialString

Optional. Credential id to use for crawling. Corresponds to the JSON property siteCredential

Returns:

  • (String)


28750
28751
28752
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 28750

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


28757
28758
28759
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 28757

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28764
28765
28766
28767
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 28764

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