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

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

Request message for getting a Security Command Center service.

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. Formats: * organizations/{organization}/locations/{location}/securityCenterServices/{service} * folders/{folder}/locations/{location}/securityCenterServices/{service} * projects/{project}/locations/{location}/securityCenterServices/{service} The possible values for id {service} are: * container-threat-detection * event-threat-detection * security-health-analytics * vm-threat-detection * web-security-scanner

↳ show_eligible_modules_only bool

Flag that, when set, will be used to filter the ModuleSettings that are in scope. The default setting is that all modules will be shown.

getName

Required. The Security Command Center service to retrieve.

Formats:

  • organizations/{organization}/locations/{location}/securityCenterServices/{service}
  • folders/{folder}/locations/{location}/securityCenterServices/{service}
  • projects/{project}/locations/{location}/securityCenterServices/{service} The possible values for id {service} are:
  • 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.

Formats:

  • organizations/{organization}/locations/{location}/securityCenterServices/{service}
  • folders/{folder}/locations/{location}/securityCenterServices/{service}
  • projects/{project}/locations/{location}/securityCenterServices/{service} The possible values for id {service} are:
  • 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

Flag that, when set, will be used to filter the ModuleSettings that are in scope. The default setting is that all modules will be shown.

Returns
Type Description
bool

setShowEligibleModulesOnly

Flag that, when set, will be used to filter the ModuleSettings that are in scope. The default setting is that all modules will be 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.

Formats:

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

The possible values for id {service} are:

  • container-threat-detection
  • event-threat-detection
  • security-health-analytics
  • vm-threat-detection
  • web-security-scanner Please see Google\Cloud\SecurityCenterManagement\V1\SecurityCenterManagementClient::securityCenterServiceName() for help formatting this field.
Returns
Type Description
Google\Cloud\SecurityCenterManagement\V1\GetSecurityCenterServiceRequest