public final class Asset extends GeneratedMessageV3 implements AssetOrBuilder
   
   Security Command Center representation of a Google Cloud
 resource.
 The Asset is a Security Command Center resource that captures information
 about a single Google Cloud resource. All modifications to an Asset are only
 within the context of Security Command Center and don't affect the referenced
 Google Cloud resource.
 Protobuf type google.cloud.securitycenter.v1p1beta1.Asset
Static Fields
  
  CANONICAL_NAME_FIELD_NUMBER
  
    public static final int CANONICAL_NAME_FIELD_NUMBER
   
  Field Value
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  Field Value
  
  IAM_POLICY_FIELD_NUMBER
  
    public static final int IAM_POLICY_FIELD_NUMBER
   
  Field Value
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  Field Value
  
  RESOURCE_PROPERTIES_FIELD_NUMBER
  
    public static final int RESOURCE_PROPERTIES_FIELD_NUMBER
   
  Field Value
  
  SECURITY_CENTER_PROPERTIES_FIELD_NUMBER
  
    public static final int SECURITY_CENTER_PROPERTIES_FIELD_NUMBER
   
  Field Value
  
  SECURITY_MARKS_FIELD_NUMBER
  
    public static final int SECURITY_MARKS_FIELD_NUMBER
   
  Field Value
  
  UPDATE_TIME_FIELD_NUMBER
  
    public static final int UPDATE_TIME_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static Asset getDefaultInstance()
   
  Returns
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  newBuilder()
  
    public static Asset.Builder newBuilder()
   
  Returns
  
  
  newBuilder(Asset prototype)
  
    public static Asset.Builder newBuilder(Asset prototype)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | prototype | Asset
 | 
    
  
  Returns
  
  
  
  
    public static Asset parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Asset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data)
  
    public static Asset parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data)
  
    public static Asset parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Asset parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Asset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Asset parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Asset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data)
  
    public static Asset parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Asset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parser()
  
    public static Parser<Asset> parser()
   
  Returns
  
  Methods
  
  
  containsResourceProperties(String key)
  
    public 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;
equals(Object obj)
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  getCanonicalName()
  
    public 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;
    
      
        | Type | Description | 
      
        | String | The canonicalName. | 
    
  
  
  getCanonicalNameBytes()
  
    public 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;
    
      
        | Type | Description | 
      
        | ByteString | The bytes for canonicalName. | 
    
  
  
  getCreateTime()
  
    public Timestamp getCreateTime()
   
   The time at which the asset was created in Security Command Center.
 .google.protobuf.Timestamp create_time = 9;
getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   The time at which the asset was created in Security Command Center.
 .google.protobuf.Timestamp create_time = 9;
getDefaultInstanceForType()
  
    public Asset getDefaultInstanceForType()
   
  Returns
  
  
  getIamPolicy()
  
    public 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;
getIamPolicyOrBuilder()
  
    public 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;
getName()
  
  
  Returns
  
    
      
        | Type | Description | 
      
        | String | The name. | 
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
  
  Returns
  
  
  getParserForType()
  
    public Parser<Asset> getParserForType()
   
  Returns
  
  Overrides
  
  
  getResourceProperties()
  
    public Map<String,Value> getResourceProperties()
   
  
  Returns
  
  
  getResourcePropertiesCount()
  
    public 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;
getResourcePropertiesMap()
  
    public 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;
getResourcePropertiesOrDefault(String key, Value defaultValue)
  
    public 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;
getResourcePropertiesOrThrow(String key)
  
    public 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;
getSecurityCenterProperties()
  
    public 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;
 
getSecurityCenterPropertiesOrBuilder()
  
    public 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;
 
getSecurityMarks()
  
    public 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;
getSecurityMarksOrBuilder()
  
    public 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;
getSerializedSize()
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  getUpdateTime()
  
    public Timestamp getUpdateTime()
   
   The time at which the asset was last updated or added in Cloud SCC.
 .google.protobuf.Timestamp update_time = 10;
getUpdateTimeOrBuilder()
  
    public TimestampOrBuilder getUpdateTimeOrBuilder()
   
   The time at which the asset was last updated or added in Cloud SCC.
 .google.protobuf.Timestamp update_time = 10;
hasCreateTime()
  
    public boolean hasCreateTime()
   
   The time at which the asset was created in Security Command Center.
 .google.protobuf.Timestamp create_time = 9;
    
      
        | Type | Description | 
      
        | boolean | Whether the createTime field is set. | 
    
  
  
  hasIamPolicy()
  
    public 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;
    
      
        | Type | Description | 
      
        | boolean | Whether the iamPolicy field is set. | 
    
  
  
  hasSecurityCenterProperties()
  
    public 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;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the securityCenterProperties field is set. | 
    
  
  
  hasSecurityMarks()
  
    public 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;
    
      
        | Type | Description | 
      
        | boolean | Whether the securityMarks field is set. | 
    
  
  
  hasUpdateTime()
  
    public boolean hasUpdateTime()
   
   The time at which the asset was last updated or added in Cloud SCC.
 .google.protobuf.Timestamp update_time = 10;
    
      
        | Type | Description | 
      
        | boolean | Whether the updateTime field is set. | 
    
  
  
  hashCode()
  
  Returns
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  internalGetMapField(int number)
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | number | int
 | 
    
  
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  newBuilderForType()
  
    public Asset.Builder newBuilderForType()
   
  Returns
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Asset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  toBuilder()
  
    public Asset.Builder toBuilder()
   
  Returns
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions