1.3.0 (latest) 1.2.0 1.1.0 1.0.0

    public sealed class GetSecurityCenterServiceRequest : IMessage<GetSecurityCenterServiceRequest>, IEquatable<GetSecurityCenterServiceRequest>, IDeepCloneable<GetSecurityCenterServiceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Center Management v1 API class GetSecurityCenterServiceRequest.

Request message for
\[SecurityCenterManagement.GetSecurityCenterService\]\[google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityCenterService\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetSecurityCenterServiceRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetSecurityCenterServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.GetSecurityCenterServiceRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetSecurityCenterServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.GetSecurityCenterServiceRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetSecurityCenterServiceRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.GetSecurityCenterServiceRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.SecurityCenterManagement.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.md.txt)

## Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

## Constructors

### GetSecurityCenterServiceRequest()

    public GetSecurityCenterServiceRequest()

### GetSecurityCenterServiceRequest(GetSecurityCenterServiceRequest)

    public GetSecurityCenterServiceRequest(GetSecurityCenterServiceRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetSecurityCenterServiceRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. The Security Command Center service to retrieve, in one of the
following formats:

- organizations/{organization}/locations/{location}/securityCenterServices/{service}
- folders/{folder}/locations/{location}/securityCenterServices/{service}
- projects/{project}/locations/{location}/securityCenterServices/{service}

The following values are valid for `{service}`:

- `container-threat-detection`
- `event-threat-detection`
- `security-health-analytics`
- `vm-threat-detection`
- `web-security-scanner`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SecurityCenterServiceName

    public SecurityCenterServiceName SecurityCenterServiceName { get; set; }

[SecurityCenterServiceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.SecurityCenterServiceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenterManagement.V1/latest/Google.Cloud.SecurityCenterManagement.V1.GetSecurityCenterServiceRequest.md.txt#Google_Cloud_SecurityCenterManagement_V1_GetSecurityCenterServiceRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SecurityCenterServiceName` |   |

### ShowEligibleModulesOnly

    public bool ShowEligibleModulesOnly { get; set; }

Set to `true` to show only modules that are in scope. By default, all
modules are shown.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |