Interface AssetOrBuilder (2.25.0)

public interface AssetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsResourceProperties(String key)

public abstract boolean containsResourceProperties(String key)

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

map<string, .google.protobuf.Value> resource_properties = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

The time at which the asset was created in Security Command Center.

.google.protobuf.Timestamp create_time = 9;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the asset was created in Security Command Center.

.google.protobuf.Timestamp create_time = 9;

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract String getName()

The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getResourceProperties()

public abstract Map<String,Value> getResourceProperties()
Returns
TypeDescription
Map<String,Value>

getResourcePropertiesCount()

public abstract int getResourcePropertiesCount()

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

map<string, .google.protobuf.Value> resource_properties = 7;

Returns
TypeDescription
int

getResourcePropertiesMap()

public abstract Map<String,Value> getResourcePropertiesMap()

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

map<string, .google.protobuf.Value> resource_properties = 7;

Returns
TypeDescription
Map<String,Value>

getResourcePropertiesOrDefault(String key, Value defaultValue)

public abstract Value getResourcePropertiesOrDefault(String key, Value defaultValue)

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

map<string, .google.protobuf.Value> resource_properties = 7;

Parameters
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
Value

getResourcePropertiesOrThrow(String key)

public abstract Value getResourcePropertiesOrThrow(String key)

Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

map<string, .google.protobuf.Value> resource_properties = 7;

Parameter
NameDescription
keyString
Returns
TypeDescription
Value

getSecurityCenterProperties()

public abstract Asset.SecurityCenterProperties getSecurityCenterProperties()

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;

Returns
TypeDescription
Asset.SecurityCenterProperties

The securityCenterProperties.

getSecurityCenterPropertiesOrBuilder()

public abstract Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder()

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;

Returns
TypeDescription
Asset.SecurityCenterPropertiesOrBuilder

getSecurityMarks()

public abstract SecurityMarks getSecurityMarks()

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;

Returns
TypeDescription
SecurityMarks

The securityMarks.

getSecurityMarksOrBuilder()

public abstract SecurityMarksOrBuilder getSecurityMarksOrBuilder()

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;

Returns
TypeDescription
SecurityMarksOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

The time at which the asset was last updated, added, or deleted in Security Command Center.

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The time at which the asset was last updated, added, or deleted in Security Command Center.

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

The time at which the asset was created in Security Command Center.

.google.protobuf.Timestamp create_time = 9;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasSecurityCenterProperties()

public abstract boolean hasSecurityCenterProperties()

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;

Returns
TypeDescription
boolean

Whether the securityCenterProperties field is set.

hasSecurityMarks()

public abstract boolean hasSecurityMarks()

User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;

Returns
TypeDescription
boolean

Whether the securityMarks field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The time at which the asset was last updated, added, or deleted in Security Command Center.

.google.protobuf.Timestamp update_time = 10;

Returns
TypeDescription
boolean

Whether the updateTime field is set.