Class ProjectsResource.LocationsResource.LicenseConfigsResource.CreateRequest
Creates a LicenseConfig
Inheritance
ProjectsResource.LocationsResource.LicenseConfigsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.LicenseConfigsResource.CreateRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1LicenseConfig>, IClientServiceRequest<GoogleCloudDiscoveryengineV1LicenseConfig>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDiscoveryengineV1LicenseConfig, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDiscoveryengineV1LicenseConfig body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1LicenseConfig | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LicenseConfigId
Optional. The ID to use for the LicenseConfig, which will become the final component of the
LicenseConfig's resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
Declaration
[RequestParameter("licenseConfigId", RequestParameterType.Query)]
public virtual string LicenseConfigId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Parent
Required. The parent resource name, such as projects/{project}/locations/{location}.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()