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

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

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

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