Google Cloud Security Command Center V1 Client - Class GetSourceRequest (1.13.1)

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 message google.cloud.securitycenter.v1.GetSourceRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".

getName

Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this