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

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

User specified settings that are attached to the Security Command Center organization.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".

↳ enable_asset_discovery bool

A flag that indicates if Asset Discovery should be enabled. If the flag is set to true, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.

↳ asset_discovery_config Google\Cloud\SecurityCenter\V1p1beta1\OrganizationSettings\AssetDiscoveryConfig

The configuration used for Asset Discovery runs.

getName

The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnableAssetDiscovery

A flag that indicates if Asset Discovery should be enabled. If the flag is set to true, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.

Generated from protobuf field bool enable_asset_discovery = 2;

Returns
TypeDescription
bool

setEnableAssetDiscovery

A flag that indicates if Asset Discovery should be enabled. If the flag is set to true, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur.

Generated from protobuf field bool enable_asset_discovery = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAssetDiscoveryConfig

The configuration used for Asset Discovery runs.

Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1p1beta1\OrganizationSettings\AssetDiscoveryConfig|null

hasAssetDiscoveryConfig

clearAssetDiscoveryConfig

setAssetDiscoveryConfig

The configuration used for Asset Discovery runs.

Generated from protobuf field .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1p1beta1\OrganizationSettings\AssetDiscoveryConfig
Returns
TypeDescription
$this