- 2.62.0 (latest)
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public interface AssetOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCanonicalName()
public abstract 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 | |
---|---|
Type | Description |
String |
The canonicalName. |
getCanonicalNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for canonicalName. |
getCreateTime()
public abstract Timestamp getCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getIamPolicy()
public abstract 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;
Returns | |
---|---|
Type | Description |
Asset.IamPolicy |
The iamPolicy. |
getIamPolicyOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
Asset.IamPolicyOrBuilder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResourceProperties() (deprecated)
public abstract Map<String,Value> getResourceProperties()
Use #getResourcePropertiesMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key |
String |
defaultValue |
Value |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
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.v1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
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.v1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
SecurityMarksOrBuilder |
getUpdateTime()
public abstract Timestamp getUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasIamPolicy()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the iamPolicy 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.v1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
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.v1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the securityMarks field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |