Google Cloud Security Center Management V1 Client - Class GetSecurityCenterServiceRequest (1.1.2)

Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class GetSecurityCenterServiceRequest.

Request message for SecurityCenterManagement.GetSecurityCenterService.

Generated from protobuf message google.cloud.securitycentermanagement.v1.GetSecurityCenterServiceRequest

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name 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 bool

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

getName

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
Type Description
string

setName

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
Parameter
Name Description
var string
Returns
Type Description
$this

getShowEligibleModulesOnly

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

Returns
Type Description
bool

setShowEligibleModulesOnly

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name 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 Please see SecurityCenterManagementClient::securityCenterServiceName() for help formatting this field.
Returns
Type Description
GetSecurityCenterServiceRequest