Class ProjectsResource.ScanConfigsResource.PatchRequest
Updates a ScanConfig. This method support partial update of a ScanConfig.
Inheritance
ProjectsResource.ScanConfigsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.WebSecurityScanner.v1beta
Assembly: Google.Apis.WebSecurityScanner.v1beta.dll
Syntax
public class ProjectsResource.ScanConfigsResource.PatchRequest : WebSecurityScannerBaseServiceRequest<ScanConfig>, IClientServiceRequest<ScanConfig>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ScanConfig, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ScanConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ScanConfig | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebSecurityScanner.v1beta.Data.ScanConfig>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebSecurityScanner.v1beta.Data.ScanConfig>.MethodName
Name
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebSecurityScanner.v1beta.Data.ScanConfig>.RestPath
UpdateMask
Required. The update mask applies to the resource. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WebSecurityScanner.v1beta.Data.ScanConfig>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()