Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RecrawlUrisRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RecrawlUrisRequest
- 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
-
#site_credential ⇒ String
Optional.
-
#uris ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1RecrawlUrisRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1RecrawlUrisRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_credential ⇒ String
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
6947 6948 6949 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6947 def site_credential @site_credential end |
#uris ⇒ Array<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
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 |