Class ProjectsResource.UpdateVirtualMachineThreatDetectionSettingsRequest
Update the VirtualMachineThreatDetectionSettings resource.
Inheritance
ProjectsResource.UpdateVirtualMachineThreatDetectionSettingsRequest
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class ProjectsResource.UpdateVirtualMachineThreatDetectionSettingsRequest : SecurityCommandCenterBaseServiceRequest<VirtualMachineThreatDetectionSettings>, IClientServiceRequest<VirtualMachineThreatDetectionSettings>, IClientServiceRequest
Constructors
UpdateVirtualMachineThreatDetectionSettingsRequest(IClientService, VirtualMachineThreatDetectionSettings, string)
Constructs a new UpdateVirtualMachineThreatDetectionSettings request.
Declaration
public UpdateVirtualMachineThreatDetectionSettingsRequest(IClientService service, VirtualMachineThreatDetectionSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
VirtualMachineThreatDetectionSettings | body | |
string | name |
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
Name
Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
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
UpdateMask
The list of fields to be updated.
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
InitParameters()
Initializes UpdateVirtualMachineThreatDetectionSettings parameter list.
Declaration
protected override void InitParameters()