Class AisafetyResource.ClassifyContentRequest
Analyze a piece of content with the provided set of policies.
Inheritance
AisafetyResource.ClassifyContentRequest
Implements
Inherited Members
Namespace: Google.Apis.ChecksService.v1alpha
Assembly: Google.Apis.ChecksService.v1alpha.dll
Syntax
public class AisafetyResource.ClassifyContentRequest : ChecksServiceBaseServiceRequest<GoogleChecksAisafetyV1alphaClassifyContentResponse>, IClientServiceRequest<GoogleChecksAisafetyV1alphaClassifyContentResponse>, IClientServiceRequest
Constructors
ClassifyContentRequest(IClientService, GoogleChecksAisafetyV1alphaClassifyContentRequest)
Constructs a new ClassifyContent request.
Declaration
public ClassifyContentRequest(IClientService service, GoogleChecksAisafetyV1alphaClassifyContentRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleChecksAisafetyV1alphaClassifyContentRequest | body |
Properties
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
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 ClassifyContent parameter list.
Declaration
protected override void InitParameters()
Overrides
ChecksServiceBaseServiceRequest<GoogleChecksAisafetyV1alphaClassifyContentResponse>.InitParameters()