public interface AssetOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsResourceProperties(String key)
Resource managed properties.
|
String |
getCanonicalName()
The canonical name of the resource.
|
ByteString |
getCanonicalNameBytes()
The canonical name of the resource.
|
Timestamp |
getCreateTime()
The time at which the asset was created in Security Command Center.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The time at which the asset was created in Security Command Center.
|
Asset.IamPolicy |
getIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.IamPolicyOrBuilder |
getIamPolicyOrBuilder()
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
String |
getName()
The relative resource name of this asset.
|
ByteString |
getNameBytes()
The relative resource name of this asset.
|
Map<String,Value> |
getResourceProperties()
Deprecated.
|
int |
getResourcePropertiesCount()
Resource managed properties.
|
Map<String,Value> |
getResourcePropertiesMap()
Resource managed properties.
|
Value |
getResourcePropertiesOrDefault(String key,
Value defaultValue)
Resource managed properties.
|
Value |
getResourcePropertiesOrThrow(String key)
Resource managed properties.
|
Asset.SecurityCenterProperties |
getSecurityCenterProperties()
Security Command Center managed properties.
|
Asset.SecurityCenterPropertiesOrBuilder |
getSecurityCenterPropertiesOrBuilder()
Security Command Center managed properties.
|
SecurityMarks |
getSecurityMarks()
User specified security marks.
|
SecurityMarksOrBuilder |
getSecurityMarksOrBuilder()
User specified security marks.
|
Timestamp |
getUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The time at which the asset was last updated or added in Cloud SCC.
|
boolean |
hasCreateTime()
The time at which the asset was created in Security Command Center.
|
boolean |
hasIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
boolean |
hasSecurityCenterProperties()
Security Command Center managed properties.
|
boolean |
hasSecurityMarks()
User specified security marks.
|
boolean |
hasUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
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;
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;
@Deprecated Map<String,Value> getResourceProperties()
getResourcePropertiesMap()
instead.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;
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;
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;
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.v1.SecurityMarks security_marks = 8;
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.v1.SecurityMarks security_marks = 8;
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.v1.SecurityMarks security_marks = 8;
boolean hasCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Timestamp getCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
boolean hasUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
Timestamp getUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
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.v1.Asset.IamPolicy iam_policy = 11;
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.v1.Asset.IamPolicy iam_policy = 11;
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.v1.Asset.IamPolicy iam_policy = 11;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.