Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class GetSourceRequest.
Request message for getting a source.
Generated from protobuf message google.cloud.securitycenter.v2.GetSourceRequest
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__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 is |
getName
Required. Relative resource name of the source. Its format is
organizations/[organization_id]/source/[source_id]
.
Returns | |
---|---|
Type | Description |
string |
setName
Required. Relative resource name of the source. Its format is
organizations/[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 is
|
Returns | |
---|---|
Type | Description |
Google\Cloud\SecurityCenter\V2\GetSourceRequest |