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.



14831
14832
14833
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14831

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



14806
14807
14808
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14806

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



14816
14817
14818
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14816

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



14824
14825
14826
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14824

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)


14829
14830
14831
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14829

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14836
14837
14838
14839
14840
14841
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14836

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