Google Cloud Security Command Center V1 Client - Class RunAssetDiscoveryRequest (1.20.2)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class RunAssetDiscoveryRequest.

Request message for running asset discovery for an organization.

Generated from protobuf message google.cloud.securitycenter.v1.RunAssetDiscoveryRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".

getParent

Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".

Returns
TypeDescription
string

setParent

Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]". Please see Google\Cloud\SecurityCenter\V1\SecurityCenterClient::organizationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\RunAssetDiscoveryRequest