public static final class Asset.Builder extends GeneratedMessageV3.Builder<Asset.Builder> 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
Modifier and Type | Method and Description |
---|---|
Asset.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Asset |
build() |
Asset |
buildPartial() |
Asset.Builder |
clear() |
Asset.Builder |
clearCanonicalName()
The canonical name of the resource.
|
Asset.Builder |
clearCreateTime()
The time at which the asset was created in Security Command Center.
|
Asset.Builder |
clearField(Descriptors.FieldDescriptor field) |
Asset.Builder |
clearIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.Builder |
clearName()
The relative resource name of this asset.
|
Asset.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Asset.Builder |
clearResourceProperties() |
Asset.Builder |
clearSecurityCenterProperties()
Security Command Center managed properties.
|
Asset.Builder |
clearSecurityMarks()
User specified security marks.
|
Asset.Builder |
clearUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
|
Asset.Builder |
clone() |
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.
|
Timestamp.Builder |
getCreateTimeBuilder()
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 |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Asset.IamPolicy |
getIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.IamPolicy.Builder |
getIamPolicyBuilder()
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.
|
Map<String,Value> |
getMutableResourceProperties()
Deprecated.
|
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.SecurityCenterProperties.Builder |
getSecurityCenterPropertiesBuilder()
Security Command Center managed properties.
|
Asset.SecurityCenterPropertiesOrBuilder |
getSecurityCenterPropertiesOrBuilder()
Security Command Center managed properties.
|
SecurityMarks |
getSecurityMarks()
User specified security marks.
|
SecurityMarks.Builder |
getSecurityMarksBuilder()
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.
|
Timestamp.Builder |
getUpdateTimeBuilder()
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Asset.Builder |
mergeCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
|
Asset.Builder |
mergeFrom(Asset other) |
Asset.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Asset.Builder |
mergeFrom(Message other) |
Asset.Builder |
mergeIamPolicy(Asset.IamPolicy value)
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.Builder |
mergeSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties.
|
Asset.Builder |
mergeSecurityMarks(SecurityMarks value)
User specified security marks.
|
Asset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Asset.Builder |
mergeUpdateTime(Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
|
Asset.Builder |
putAllResourceProperties(Map<String,Value> values)
Resource managed properties.
|
Asset.Builder |
putResourceProperties(String key,
Value value)
Resource managed properties.
|
Asset.Builder |
removeResourceProperties(String key)
Resource managed properties.
|
Asset.Builder |
setCanonicalName(String value)
The canonical name of the resource.
|
Asset.Builder |
setCanonicalNameBytes(ByteString value)
The canonical name of the resource.
|
Asset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The time at which the asset was created in Security Command Center.
|
Asset.Builder |
setCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
|
Asset.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Asset.Builder |
setIamPolicy(Asset.IamPolicy.Builder builderForValue)
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.Builder |
setIamPolicy(Asset.IamPolicy value)
Cloud IAM Policy information associated with the Google Cloud resource
described by the Security Command Center asset.
|
Asset.Builder |
setName(String value)
The relative resource name of this asset.
|
Asset.Builder |
setNameBytes(ByteString value)
The relative resource name of this asset.
|
Asset.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Asset.Builder |
setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)
Security Command Center managed properties.
|
Asset.Builder |
setSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties.
|
Asset.Builder |
setSecurityMarks(SecurityMarks.Builder builderForValue)
User specified security marks.
|
Asset.Builder |
setSecurityMarks(SecurityMarks value)
User specified security marks.
|
Asset.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Asset.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
The time at which the asset was last updated or added in Cloud SCC.
|
Asset.Builder |
setUpdateTime(Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<Asset.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<Asset.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Asset.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Asset build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Asset buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Asset.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.Builder>
public Asset.Builder mergeFrom(Asset other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.Builder>
IOException
public 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;
getName
in interface AssetOrBuilder
public 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;
getNameBytes
in interface AssetOrBuilder
public Asset.Builder setName(String value)
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;
value
- The name to set.public Asset.Builder clearName()
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;
public Asset.Builder setNameBytes(ByteString value)
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;
value
- The bytes for name to set.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;
hasSecurityCenterProperties
in interface AssetOrBuilder
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;
getSecurityCenterProperties
in interface AssetOrBuilder
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties value)
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;
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)
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;
public Asset.Builder mergeSecurityCenterProperties(Asset.SecurityCenterProperties value)
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;
public Asset.Builder clearSecurityCenterProperties()
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;
public Asset.SecurityCenterProperties.Builder getSecurityCenterPropertiesBuilder()
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;
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;
getSecurityCenterPropertiesOrBuilder
in interface AssetOrBuilder
public int getResourcePropertiesCount()
AssetOrBuilder
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;
getResourcePropertiesCount
in interface AssetOrBuilder
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;
containsResourceProperties
in interface AssetOrBuilder
@Deprecated public Map<String,Value> getResourceProperties()
getResourcePropertiesMap()
instead.getResourceProperties
in interface AssetOrBuilder
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;
getResourcePropertiesMap
in interface AssetOrBuilder
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;
getResourcePropertiesOrDefault
in interface AssetOrBuilder
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;
getResourcePropertiesOrThrow
in interface AssetOrBuilder
public Asset.Builder clearResourceProperties()
public Asset.Builder removeResourceProperties(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 public Map<String,Value> getMutableResourceProperties()
public Asset.Builder putResourceProperties(String key, Value value)
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;
public Asset.Builder putAllResourceProperties(Map<String,Value> values)
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;
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;
hasSecurityMarks
in interface AssetOrBuilder
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;
getSecurityMarks
in interface AssetOrBuilder
public Asset.Builder setSecurityMarks(SecurityMarks value)
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;
public Asset.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
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;
public Asset.Builder mergeSecurityMarks(SecurityMarks value)
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;
public Asset.Builder clearSecurityMarks()
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;
public SecurityMarks.Builder getSecurityMarksBuilder()
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;
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;
getSecurityMarksOrBuilder
in interface AssetOrBuilder
public boolean hasCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
hasCreateTime
in interface AssetOrBuilder
public Timestamp getCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
getCreateTime
in interface AssetOrBuilder
public Asset.Builder setCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
public Asset.Builder setCreateTime(Timestamp.Builder builderForValue)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
public Asset.Builder mergeCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
public Asset.Builder clearCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
public Timestamp.Builder getCreateTimeBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
getCreateTimeOrBuilder
in interface AssetOrBuilder
public boolean hasUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
hasUpdateTime
in interface AssetOrBuilder
public Timestamp getUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
getUpdateTime
in interface AssetOrBuilder
public Asset.Builder setUpdateTime(Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
public Asset.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
public Asset.Builder mergeUpdateTime(Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
public Asset.Builder clearUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
public Timestamp.Builder getUpdateTimeBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
getUpdateTimeOrBuilder
in interface AssetOrBuilder
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;
hasIamPolicy
in interface AssetOrBuilder
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;
getIamPolicy
in interface AssetOrBuilder
public Asset.Builder setIamPolicy(Asset.IamPolicy value)
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;
public Asset.Builder setIamPolicy(Asset.IamPolicy.Builder builderForValue)
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;
public Asset.Builder mergeIamPolicy(Asset.IamPolicy value)
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;
public Asset.Builder clearIamPolicy()
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;
public Asset.IamPolicy.Builder getIamPolicyBuilder()
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;
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;
getIamPolicyOrBuilder
in interface AssetOrBuilder
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;
getCanonicalName
in interface AssetOrBuilder
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;
getCanonicalNameBytes
in interface AssetOrBuilder
public Asset.Builder setCanonicalName(String value)
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;
value
- The canonicalName to set.public Asset.Builder clearCanonicalName()
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;
public Asset.Builder setCanonicalNameBytes(ByteString value)
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;
value
- The bytes for canonicalName to set.public final Asset.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Asset.Builder>
public final Asset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Asset.Builder>
Copyright © 2022 Google LLC. All rights reserved.