Send feedback
Class Asset.SecurityCenterProperties (2.3.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.2 keyboard_arrow_down
public static final class Asset . SecurityCenterProperties extends GeneratedMessageV3 implements Asset . SecurityCenterPropertiesOrBuilder
Security Command Center managed properties. These properties are managed by
Security Command Center and cannot be modified by the user.
Protobuf type google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties
Fields
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
RESOURCE_OWNERS_FIELD_NUMBER
public static final int RESOURCE_OWNERS_FIELD_NUMBER
Field Value
RESOURCE_PARENT_FIELD_NUMBER
public static final int RESOURCE_PARENT_FIELD_NUMBER
Field Value
RESOURCE_PROJECT_FIELD_NUMBER
public static final int RESOURCE_PROJECT_FIELD_NUMBER
Field Value
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstance()
public static Asset . SecurityCenterProperties getDefaultInstance ()
Returns
getDefaultInstanceForType()
public Asset . SecurityCenterProperties getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getParserForType()
public Parser<Asset . SecurityCenterProperties> getParserForType ()
Returns
Overrides
getResourceName()
public String getResourceName ()
Returns
Type Description String The resourceName.
getResourceNameBytes()
public ByteString getResourceNameBytes ()
Returns
Type Description ByteString The bytes for resourceName.
getResourceOwners(int index)
public String getResourceOwners ( int index )
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Parameter
Name Description index int
The index of the element to return.
Returns
Type Description String The resourceOwners at the given index.
getResourceOwnersBytes(int index)
public ByteString getResourceOwnersBytes ( int index )
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Parameter
Name Description index int
The index of the value to return.
Returns
Type Description ByteString The bytes of the resourceOwners at the given index.
getResourceOwnersCount()
public int getResourceOwnersCount ()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Returns
Type Description int The count of resourceOwners.
getResourceOwnersList()
public ProtocolStringList getResourceOwnersList ()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Returns
getResourceParent()
public String getResourceParent ()
Returns
Type Description String The resourceParent.
getResourceParentBytes()
public ByteString getResourceParentBytes ()
Returns
Type Description ByteString The bytes for resourceParent.
getResourceProject()
public String getResourceProject ()
Returns
Type Description String The resourceProject.
getResourceProjectBytes()
public ByteString getResourceProjectBytes ()
Returns
Type Description ByteString The bytes for resourceProject.
getResourceType()
public String getResourceType ()
The type of the Google Cloud resource. Examples include: APPLICATION,
PROJECT, and ORGANIZATION. This is a case insensitive field defined by
Security Command Center and/or the producer of the resource and is
immutable after create time.
string resource_type = 2;
Returns
Type Description String The resourceType.
getResourceTypeBytes()
public ByteString getResourceTypeBytes ()
The type of the Google Cloud resource. Examples include: APPLICATION,
PROJECT, and ORGANIZATION. This is a case insensitive field defined by
Security Command Center and/or the producer of the resource and is
immutable after create time.
string resource_type = 2;
Returns
Type Description ByteString The bytes for resourceType.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilder()
public static Asset . SecurityCenterProperties . Builder newBuilder ()
Returns
newBuilder(Asset.SecurityCenterProperties prototype)
public static Asset . SecurityCenterProperties . Builder newBuilder ( Asset . SecurityCenterProperties prototype )
Parameter
Returns
newBuilderForType()
public Asset . SecurityCenterProperties . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Asset . SecurityCenterProperties . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public static Asset . SecurityCenterProperties parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Asset . SecurityCenterProperties parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Asset . SecurityCenterProperties parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Asset . SecurityCenterProperties parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Asset . SecurityCenterProperties parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Asset . SecurityCenterProperties parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Asset . SecurityCenterProperties parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Asset . SecurityCenterProperties parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Asset . SecurityCenterProperties parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Asset . SecurityCenterProperties parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Asset . SecurityCenterProperties parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Asset . SecurityCenterProperties parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Asset . SecurityCenterProperties> parser ()
Returns
toBuilder()
public Asset . SecurityCenterProperties . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]