Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataStoresResource.ControlsResource.CreateRequest

Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>
ProjectsResource.LocationsResource.DataStoresResource.ControlsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>.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.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.ControlsResource.CreateRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaControl>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudDiscoveryengineV1alphaControl, string)

Constructs a new Create request.

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

Properties

ControlId

Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.

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

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id} or projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}.

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<GoogleCloudDiscoveryengineV1alphaControl>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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