Google Cloud Security Command Center V1p1beta1 Client - Class RunAssetDiscoveryRequest (1.13.1)

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

Request message for running asset discovery for an organization.

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

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]".

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

Returns
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this