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.



29890
29891
29892
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29890

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)


29881
29882
29883
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29881

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


29888
29889
29890
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29888

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29895
29896
29897
29898
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29895

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