public final class Asset extends com.google.protobuf.GeneratedMessageV3 implements AssetOrBuilder
Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud Platform (GCP) resource. The Asset is a Cloud SCC resource that captures information about a single GCP resource. All modifications to an Asset are only within the context of Cloud SCC and don't affect the referenced GCP resource.Protobuf type
google.cloud.securitycenter.v1.Asset| Modifier and Type | Class and Description |
|---|---|
static class |
Asset.Builder
Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
Platform (GCP) resource.
|
static class |
Asset.IamPolicy
IAM Policy information associated with the GCP resource described by the
Cloud SCC asset.
|
static interface |
Asset.IamPolicyOrBuilder |
static class |
Asset.SecurityCenterProperties
Cloud SCC managed properties.
|
static interface |
Asset.SecurityCenterPropertiesOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
IAM_POLICY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESOURCE_PROPERTIES_FIELD_NUMBER |
static int |
SECURITY_CENTER_PROPERTIES_FIELD_NUMBER |
static int |
SECURITY_MARKS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsResourceProperties(String key)
Resource managed properties.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
The time at which the asset was created in Cloud SCC.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time at which the asset was created in Cloud SCC.
|
static Asset |
getDefaultInstance() |
Asset |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Asset.IamPolicy |
getIamPolicy()
IAM Policy information associated with the GCP resource described by the
Cloud SCC asset.
|
Asset.IamPolicyOrBuilder |
getIamPolicyOrBuilder()
IAM Policy information associated with the GCP resource described by the
Cloud SCC asset.
|
String |
getName()
The relative resource name of this asset.
|
com.google.protobuf.ByteString |
getNameBytes()
The relative resource name of this asset.
|
com.google.protobuf.Parser<Asset> |
getParserForType() |
Map<String,com.google.protobuf.Value> |
getResourceProperties()
Deprecated.
|
int |
getResourcePropertiesCount()
Resource managed properties.
|
Map<String,com.google.protobuf.Value> |
getResourcePropertiesMap()
Resource managed properties.
|
com.google.protobuf.Value |
getResourcePropertiesOrDefault(String key,
com.google.protobuf.Value defaultValue)
Resource managed properties.
|
com.google.protobuf.Value |
getResourcePropertiesOrThrow(String key)
Resource managed properties.
|
Asset.SecurityCenterProperties |
getSecurityCenterProperties()
Cloud SCC managed properties.
|
Asset.SecurityCenterPropertiesOrBuilder |
getSecurityCenterPropertiesOrBuilder()
Cloud SCC managed properties.
|
SecurityMarks |
getSecurityMarks()
User specified security marks.
|
SecurityMarksOrBuilder |
getSecurityMarksOrBuilder()
User specified security marks.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
The time at which the asset was last updated, added, or deleted in Cloud
SCC.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The time at which the asset was last updated, added, or deleted in Cloud
SCC.
|
boolean |
hasCreateTime()
The time at which the asset was created in Cloud SCC.
|
int |
hashCode() |
boolean |
hasIamPolicy()
IAM Policy information associated with the GCP resource described by the
Cloud SCC asset.
|
boolean |
hasSecurityCenterProperties()
Cloud SCC managed properties.
|
boolean |
hasSecurityMarks()
User specified security marks.
|
boolean |
hasUpdateTime()
The time at which the asset was last updated, added, or deleted in Cloud
SCC.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Asset.Builder |
newBuilder() |
static Asset.Builder |
newBuilder(Asset prototype) |
Asset.Builder |
newBuilderForType() |
protected Asset.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Asset |
parseDelimitedFrom(InputStream input) |
static Asset |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(byte[] data) |
static Asset |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(ByteBuffer data) |
static Asset |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(com.google.protobuf.ByteString data) |
static Asset |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Asset |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(InputStream input) |
static Asset |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Asset> |
parser() |
Asset.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SECURITY_CENTER_PROPERTIES_FIELD_NUMBER
public static final int RESOURCE_PROPERTIES_FIELD_NUMBER
public static final int SECURITY_MARKS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int IAM_POLICY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/assets/456".
string name = 1;getName in interface AssetOrBuilderpublic 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/123/assets/456".
string name = 1;getNameBytes in interface AssetOrBuilderpublic boolean hasSecurityCenterProperties()
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
hasSecurityCenterProperties in interface AssetOrBuilderpublic Asset.SecurityCenterProperties getSecurityCenterProperties()
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
getSecurityCenterProperties in interface AssetOrBuilderpublic Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder()
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
getSecurityCenterPropertiesOrBuilder in interface AssetOrBuilderpublic int getResourcePropertiesCount()
AssetOrBuilderResource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;getResourcePropertiesCount in interface AssetOrBuilderpublic boolean containsResourceProperties(String key)
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;containsResourceProperties in interface AssetOrBuilder@Deprecated public Map<String,com.google.protobuf.Value> getResourceProperties()
getResourcePropertiesMap() instead.getResourceProperties in interface AssetOrBuilderpublic Map<String,com.google.protobuf.Value> getResourcePropertiesMap()
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;getResourcePropertiesMap in interface AssetOrBuilderpublic com.google.protobuf.Value getResourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue)
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;getResourcePropertiesOrDefault in interface AssetOrBuilderpublic com.google.protobuf.Value getResourcePropertiesOrThrow(String key)
Resource managed properties. These properties are managed and defined by the GCP resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;getResourcePropertiesOrThrow in interface AssetOrBuilderpublic 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;hasSecurityMarks in interface AssetOrBuilderpublic 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;getSecurityMarks in interface AssetOrBuilderpublic 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;getSecurityMarksOrBuilder in interface AssetOrBuilderpublic boolean hasCreateTime()
The time at which the asset was created in Cloud SCC.
.google.protobuf.Timestamp create_time = 9;hasCreateTime in interface AssetOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time at which the asset was created in Cloud SCC.
.google.protobuf.Timestamp create_time = 9;getCreateTime in interface AssetOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the asset was created in Cloud SCC.
.google.protobuf.Timestamp create_time = 9;getCreateTimeOrBuilder in interface AssetOrBuilderpublic boolean hasUpdateTime()
The time at which the asset was last updated, added, or deleted in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;hasUpdateTime in interface AssetOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
The time at which the asset was last updated, added, or deleted in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;getUpdateTime in interface AssetOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated, added, or deleted in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;getUpdateTimeOrBuilder in interface AssetOrBuilderpublic boolean hasIamPolicy()
IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;hasIamPolicy in interface AssetOrBuilderpublic Asset.IamPolicy getIamPolicy()
IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;getIamPolicy in interface AssetOrBuilderpublic Asset.IamPolicyOrBuilder getIamPolicyOrBuilder()
IAM Policy information associated with the GCP resource described by the Cloud SCC asset. This information is managed and defined by the GCP resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;getIamPolicyOrBuilder in interface AssetOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Asset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Asset parseFrom(InputStream input) throws IOException
IOExceptionpublic static Asset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Asset parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Asset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Asset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Asset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Asset.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Asset.Builder newBuilder()
public static Asset.Builder newBuilder(Asset prototype)
public Asset.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Asset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Asset getDefaultInstance()
public static com.google.protobuf.Parser<Asset> parser()
public com.google.protobuf.Parser<Asset> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Asset getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.