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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Center Management V1 Client - Class GetSecurityCenterServiceRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-securitycentermanagement/latest/V1.GetSecurityCenterServiceRequest)\n- [1.2.0](/php/docs/reference/cloud-securitycentermanagement/1.2.0/V1.GetSecurityCenterServiceRequest)\n- [1.1.3](/php/docs/reference/cloud-securitycentermanagement/1.1.3/V1.GetSecurityCenterServiceRequest)\n- [1.0.0](/php/docs/reference/cloud-securitycentermanagement/1.0.0/V1.GetSecurityCenterServiceRequest)\n- [0.3.2](/php/docs/reference/cloud-securitycentermanagement/0.3.2/V1.GetSecurityCenterServiceRequest)\n- [0.2.7](/php/docs/reference/cloud-securitycentermanagement/0.2.7/V1.GetSecurityCenterServiceRequest)\n- [0.1.0](/php/docs/reference/cloud-securitycentermanagement/0.1.0/V1.GetSecurityCenterServiceRequest) \nReference documentation and code samples for the Google Cloud Security Center Management V1 Client class GetSecurityCenterServiceRequest.\n\nRequest message for\n[SecurityCenterManagement.GetSecurityCenterService](/php/docs/reference/cloud-securitycentermanagement/latest/V1.Client.SecurityCenterManagementClient#_Google_Cloud_SecurityCenterManagement_V1_Client_SecurityCenterManagementClient__getSecurityCenterService__).\n\nGenerated from protobuf message `google.cloud.securitycentermanagement.v1.GetSecurityCenterServiceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenterManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The Security Command Center service to retrieve, in one of the\nfollowing formats:\n\n- organizations/{organization}/locations/{location}/securityCenterServices/{service}\n- folders/{folder}/locations/{location}/securityCenterServices/{service}\n- projects/{project}/locations/{location}/securityCenterServices/{service} The following values are valid for `{service}`:\n- `container-threat-detection`\n- `event-threat-detection`\n- `security-health-analytics`\n- `vm-threat-detection`\n- `web-security-scanner`\n\n### setName\n\nRequired. The Security Command Center service to retrieve, in one of the\nfollowing formats:\n\n- organizations/{organization}/locations/{location}/securityCenterServices/{service}\n- folders/{folder}/locations/{location}/securityCenterServices/{service}\n- projects/{project}/locations/{location}/securityCenterServices/{service} The following values are valid for `{service}`:\n- `container-threat-detection`\n- `event-threat-detection`\n- `security-health-analytics`\n- `vm-threat-detection`\n- `web-security-scanner`\n\n### getShowEligibleModulesOnly\n\nSet to `true` to show only modules that are in scope. By default, all\nmodules are shown.\n\n### setShowEligibleModulesOnly\n\nSet to `true` to show only modules that are in scope. By default, all\nmodules are shown.\n\n### static::build"]]