Class CommentsResource.MarkAsSpamRequest
Expresses the caller's opinion that one or more comments should be flagged as spam.
Inheritance
CommentsResource.MarkAsSpamRequest
  Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class CommentsResource.MarkAsSpamRequest : YouTubeBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequestConstructors
MarkAsSpamRequest(IClientService, Repeatable<string>)
Constructs a new MarkAsSpam request.
Declaration
public MarkAsSpamRequest(IClientService service, Repeatable<string> id)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | |
| Repeatable<string> | id | 
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Id
Flags the comments with the given IDs as spam in the caller's opinion.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual Repeatable<string> Id { get; }Property Value
| Type | Description | 
|---|---|
| Repeatable<string> | 
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
InitParameters()
Initializes MarkAsSpam parameter list.
Declaration
protected override void InitParameters()