Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
- 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 CrawlRateManagementService.ObtainCrawlRate method.
Instance Attribute Summary collapse
-
#crawl_rate_scope ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest.
12526 12527 12528 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crawl_rate_scope ⇒ String
Required. The scope of the crawl rate that the user wants to monitor.
Currently, only domain and host name are supported. A domain name example:
abc.com
. A host name example: www.abc.com
. Please do not include /
in the
domain or host name.
Corresponds to the JSON property crawlRateScope
12524 12525 12526 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12524 def crawl_rate_scope @crawl_rate_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12531 12532 12533 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12531 def update!(**args) @crawl_rate_scope = args[:crawl_rate_scope] if args.key?(:crawl_rate_scope) end |