Class ProjectsResource.LocationsResource.ClustersResource
The "clusters" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta2
Assembly: Google.Apis.SecurityCommandCenter.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource
Constructors
ClustersResource(IClientService)
Constructs a new resource.
Declaration
public ClustersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ContainerThreatDetectionSettings
Gets the ContainerThreatDetectionSettings resource.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.ContainerThreatDetectionSettingsResource ContainerThreatDetectionSettings { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.ContainerThreatDetectionSettingsResource |
Methods
GetContainerThreatDetectionSettings(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.GetContainerThreatDetectionSettingsRequest GetContainerThreatDetectionSettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | 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 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.GetContainerThreatDetectionSettingsRequest |
UpdateContainerThreatDetectionSettings(ContainerThreatDetectionSettings, string)
Update the ContainerThreatDetectionSettings resource.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UpdateContainerThreatDetectionSettingsRequest UpdateContainerThreatDetectionSettings(ContainerThreatDetectionSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
ContainerThreatDetectionSettings | body | The body of the request. |
string | name | Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UpdateContainerThreatDetectionSettingsRequest |