Class ProjectsResource.LocationsResource.SetDedicatedCrawlRateRequest
Sets the dedicated crawl rate for a crawl_rate_scope. If the dedicated crawl rate was not set, this will enable vertex AI's crawl bot to use the new dedicated crawl rate for crawling. If the dedicated crawl rate was set, vertex AI's crawl bot will try to update the rate to the new value. If the new value is too high, the crawl bot may crawl at a lower rate to avoid overloading the user's website.
Inheritance
ProjectsResource.LocationsResource.SetDedicatedCrawlRateRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.SetDedicatedCrawlRateRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
SetDedicatedCrawlRateRequest(IClientService, GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest, string)
Constructs a new SetDedicatedCrawlRate request.
Declaration
public SetDedicatedCrawlRateRequest(IClientService service, GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest body, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest | body | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
Required. The location resource where crawl rate management will be performed. Format:
projects/{project}/locations/{location}
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetDedicatedCrawlRate parameter list.
Declaration
protected override void InitParameters()