Interface AssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset,Asset.Builder
@Generated
public interface AssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanResource managed properties.The canonical name of the resource.com.google.protobuf.ByteStringThe canonical name of the resource.com.google.protobuf.TimestampThe time at which the asset was created in Security Command Center.com.google.protobuf.TimestampOrBuilderThe time at which the asset was created in Security Command Center.Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.getName()The relative resource name of this asset.com.google.protobuf.ByteStringThe relative resource name of this asset.Deprecated.intResource managed properties.Resource managed properties.com.google.protobuf.ValuegetResourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue) Resource managed properties.com.google.protobuf.ValueResource managed properties.Security Command Center managed properties.Security Command Center managed properties.User specified security marks.User specified security marks.com.google.protobuf.TimestampThe time at which the asset was last updated or added in Cloud SCC.com.google.protobuf.TimestampOrBuilderThe time at which the asset was last updated or added in Cloud SCC.booleanThe time at which the asset was created in Security Command Center.booleanCloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.booleanSecurity Command Center managed properties.booleanUser specified security marks.booleanThe time at which the asset was last updated or added in Cloud SCC.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasSecurityCenterProperties
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.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2;- Returns:
- Whether the securityCenterProperties field is set.
-
getSecurityCenterProperties
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.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2;- Returns:
- The securityCenterProperties.
-
getSecurityCenterPropertiesOrBuilder
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.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2; -
getResourcePropertiesCount
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; -
containsResourceProperties
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; -
getResourceProperties
Deprecated.UsegetResourcePropertiesMap()instead. -
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; -
getResourcePropertiesOrDefault
com.google.protobuf.Value getResourcePropertiesOrDefault(String key, com.google.protobuf.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; -
getResourcePropertiesOrThrow
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; -
hasSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8;- Returns:
- Whether the securityMarks field is set.
-
getSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8;- Returns:
- The securityMarks.
-
getSecurityMarksOrBuilder
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.v1p1beta1.SecurityMarks security_marks = 8; -
hasCreateTime
boolean hasCreateTime()The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9; -
hasUpdateTime
boolean hasUpdateTime()The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10; -
hasIamPolicy
boolean hasIamPolicy()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy iam_policy = 11;- Returns:
- Whether the iamPolicy field is set.
-
getIamPolicy
Asset.IamPolicy getIamPolicy()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy iam_policy = 11;- Returns:
- The iamPolicy.
-
getIamPolicyOrBuilder
Asset.IamPolicyOrBuilder getIamPolicyOrBuilder()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
getCanonicalName
String getCanonicalName()The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Returns:
- The canonicalName.
-
getCanonicalNameBytes
com.google.protobuf.ByteString getCanonicalNameBytes()The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Returns:
- The bytes for canonicalName.
-