Class ProjectsResource.LocationsResource.AssessmentRulesResource.CreateRequest
Creates an assessment rule.
Inheritance
ProjectsResource.LocationsResource.AssessmentRulesResource.CreateRequest
Implements
Inherited Members
ContactcenterinsightsBaseServiceRequest<GoogleCloudContactcenterinsightsV1AssessmentRule>.OauthToken
Namespace: Google.Apis.Contactcenterinsights.v1
Assembly: Google.Apis.Contactcenterinsights.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AssessmentRulesResource.CreateRequest : ContactcenterinsightsBaseServiceRequest<GoogleCloudContactcenterinsightsV1AssessmentRule>, IClientServiceRequest<GoogleCloudContactcenterinsightsV1AssessmentRule>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudContactcenterinsightsV1AssessmentRule, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudContactcenterinsightsV1AssessmentRule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudContactcenterinsightsV1AssessmentRule | body | |
string | parent |
Properties
AssessmentRuleId
Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the
AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This
value should be 4-64 characters and must match the regular expression
^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
.
Declaration
[RequestParameter("assessmentRuleId", RequestParameterType.Query)]
public virtual string AssessmentRuleId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent resource of the assessment rule. Required. The location to create a
assessment rule for. Format: projects//locations/
or projects//locations/
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()