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

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\SecurityCenter\V1\RunAssetDiscoveryRequest