Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse

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

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.



12572
12573
12574
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12572

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

Instance Attribute Details

#dedicated_crawl_rate_time_seriesGoogle::Apis::DiscoveryengineV1alpha::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



12547
12548
12549
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12547

def dedicated_crawl_rate_time_series
  @dedicated_crawl_rate_time_series
end

#errorGoogle::Apis::DiscoveryengineV1alpha::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



12557
12558
12559
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12557

def error
  @error
end

#organic_crawl_rate_time_seriesGoogle::Apis::DiscoveryengineV1alpha::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



12565
12566
12567
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12565

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)


12570
12571
12572
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12570

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12577
12578
12579
12580
12581
12582
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12577

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