Class ProjectsResource.LocationsResource.ClustersResource.GetContainerThreatDetectionSettingsRequest
Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
Inheritance
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.GetContainerThreatDetectionSettingsRequest : SecurityCommandCenterBaseServiceRequest<ContainerThreatDetectionSettings>, IClientServiceRequest<ContainerThreatDetectionSettings>, IClientServiceRequest
Constructors
GetContainerThreatDetectionSettingsRequest(IClientService, string)
Constructs a new GetContainerThreatDetectionSettings request.
Declaration
public GetContainerThreatDetectionSettingsRequest(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 ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
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
Methods
InitParameters()
Initializes GetContainerThreatDetectionSettings parameter list.
Declaration
protected override void InitParameters()