Class OrganizationsResource.VirtualMachineThreatDetectionSettingsResource.CalculateRequest
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
Inheritance
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class OrganizationsResource.VirtualMachineThreatDetectionSettingsResource.CalculateRequest : SecurityCommandCenterBaseServiceRequest<VirtualMachineThreatDetectionSettings>, IClientServiceRequest<VirtualMachineThreatDetectionSettings>, IClientServiceRequest
Constructors
CalculateRequest(IClientService, string)
Constructs a new Calculate request.
Declaration
public CalculateRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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
Required. The name of the VirtualMachineThreatDetectionSettings to calculate. 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
ShowEligibleModulesOnly
Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.
Declaration
[RequestParameter("showEligibleModulesOnly", RequestParameterType.Query)]
public virtual bool? ShowEligibleModulesOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes Calculate parameter list.
Declaration
protected override void InitParameters()