Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
- 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
-
#site_credential ⇒ String
Optional.
-
#uris ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_credential ⇒ String
Optional. Credential id to use for crawling.
Corresponds to the JSON property siteCredential
28750 28751 28752 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 28750 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
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 |