# Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::GetSecurityCenterServiceRequest (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::GetSecurityCenterServiceRequest.

Request message for
[SecurityCenterManagement.GetSecurityCenterService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Cloud-SecurityCenterManagement-V1-SecurityCenterManagement-Client#Google__Cloud__SecurityCenterManagement__V1__SecurityCenterManagement__Client_get_security_center_service_instance_ "Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Client#get_security_center_service (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- 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`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) ---

  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`
**Returns**

- (::String) --- 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`

### #show_eligible_modules_only

    def show_eligible_modules_only() -> ::Boolean

**Returns**

- (::Boolean) --- Set to `true` to show only modules that are in scope. By default, all modules are shown.

### #show_eligible_modules_only=

    def show_eligible_modules_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Set to `true` to show only modules that are in scope. By default, all modules are shown.
**Returns**

- (::Boolean) --- Set to `true` to show only modules that are in scope. By default, all modules are shown.