Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest

Inherits:
Object
  • Object
show all
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
more...

Overview

Request message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. The user can remove the dedicated crawl rate for a crawl_rate_scope they own, and Google will fall back to organic crawl, and the crawl rate will be determined by Google.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest.

[View source]

13938
13939
13940
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13938

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

Instance Attribute Details

#crawl_rate_scopeString

Required. The scope of the crawl rate change. 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

Returns:

  • (String)

13936
13937
13938
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13936

def crawl_rate_scope
  @crawl_rate_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

13943
13944
13945
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 13943

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