Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.CreateRequest

Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.ServingConfigsResource.CreateRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>, IClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudDiscoveryengineV1betaServingConfig, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDiscoveryengineV1betaServingConfig body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1betaServingConfig body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.MethodName

Parent

Required. Full resource name of parent. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.RestPath

ServingConfigId

Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.

Declaration
[RequestParameter("servingConfigId", RequestParameterType.Query)]
public virtual string ServingConfigId { get; set; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1betaServingConfig>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX