Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest

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 CrawlRateManagementService.ObtainCrawlRate method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest

Returns a new instance of GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest.



27370
27371
27372
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27370

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

Instance Attribute Details

#crawl_rate_scopeString

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: example.com. A host name example: www.example.com. Please do not include / in the domain or host name. Corresponds to the JSON property crawlRateScope

Returns:

  • (String)


27368
27369
27370
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27368

def crawl_rate_scope
  @crawl_rate_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27375
27376
27377
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27375

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