Interface OrganizationSettingsOrBuilder (2.45.0)

public interface OrganizationSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetDiscoveryConfig()

public abstract OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()

The configuration used for Asset Discovery runs.

.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;

Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig

The assetDiscoveryConfig.

getAssetDiscoveryConfigOrBuilder()

public abstract OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()

The configuration used for Asset Discovery runs.

.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;

Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfigOrBuilder

getEnableAssetDiscovery()

public abstract boolean 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.

bool enable_asset_discovery = 2;

Returns
TypeDescription
boolean

The enableAssetDiscovery.

getName()

public abstract String 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".

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasAssetDiscoveryConfig()

public abstract boolean hasAssetDiscoveryConfig()

The configuration used for Asset Discovery runs.

.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;

Returns
TypeDescription
boolean

Whether the assetDiscoveryConfig field is set.