Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse

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

Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse.



12813
12814
12815
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12813

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

Instance Attribute Details

#dedicated_crawl_rate_time_seriesGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries

The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set. Corresponds to the JSON property dedicatedCrawlRateTimeSeries



12788
12789
12790
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12788

def dedicated_crawl_rate_time_series
  @dedicated_crawl_rate_time_series
end

#errorGoogle::Apis::DiscoveryengineV1::GoogleRpcStatus

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property error



12798
12799
12800
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12798

def error
  @error
end

#organic_crawl_rate_time_seriesGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries

The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website. Corresponds to the JSON property organicCrawlRateTimeSeries



12806
12807
12808
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12806

def organic_crawl_rate_time_series
  @organic_crawl_rate_time_series
end

#stateString

Output only. The state of the response. Corresponds to the JSON property state

Returns:

  • (String)


12811
12812
12813
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12811

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12818
12819
12820
12821
12822
12823
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12818

def update!(**args)
  @dedicated_crawl_rate_time_series = args[:dedicated_crawl_rate_time_series] if args.key?(:dedicated_crawl_rate_time_series)
  @error = args[:error] if args.key?(:error)
  @organic_crawl_rate_time_series = args[:organic_crawl_rate_time_series] if args.key?(:organic_crawl_rate_time_series)
  @state = args[:state] if args.key?(:state)
end