Google Cloud Security Command Center V1 Client - Class GetSourceRequest (2.5.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class GetSourceRequest.
Request message for getting a source.
Generated from protobuf messagegoogle.cloud.securitycenter.v1.GetSourceRequest
Namespace
Google \ Cloud \ SecurityCenter \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Relative resource name of the source. Its format isorganizations/[organization_id]/source/[source_id].
getName
Required. Relative resource name of the source. Its format isorganizations/[organization_id]/source/[source_id].
Returns
Type
Description
string
setName
Required. Relative resource name of the source. Its format isorganizations/[organization_id]/source/[source_id].
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Relative resource name of the source. Its format isorganizations/[organization_id]/source/[source_id]. Please seeSecurityCenterClient::sourceName()for help formatting this field.
[[["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 2026-03-18 UTC."],[],[]]