Interface Asset.SecurityCenterPropertiesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset.SecurityCenterProperties
,Asset.SecurityCenterProperties.Builder
- Enclosing class:
- Asset
public static interface Asset.SecurityCenterPropertiesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.String
getResourceOwners(int index)
Owners of the Google Cloud resource.com.google.protobuf.ByteString
getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.int
getResourceOwnersCount()
Owners of the Google Cloud resource.List<String>
getResourceOwnersList()
Owners of the Google Cloud resource.String
getResourceParent()
The full resource name of the immediate parent of the resource.com.google.protobuf.ByteString
getResourceParentBytes()
The full resource name of the immediate parent of the resource.String
getResourceProject()
The full resource name of the project the resource belongs to.com.google.protobuf.ByteString
getResourceProjectBytes()
The full resource name of the project the resource belongs to.String
getResourceType()
The type of the Google Cloud resource.com.google.protobuf.ByteString
getResourceTypeBytes()
The type of the Google Cloud resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
String getResourceName()
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for resourceName.
-
getResourceType
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:
- The resourceType.
-
getResourceTypeBytes
com.google.protobuf.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:
- The bytes for resourceType.
-
getResourceParent
String getResourceParent()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
- Returns:
- The resourceParent.
-
getResourceParentBytes
com.google.protobuf.ByteString getResourceParentBytes()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
- Returns:
- The bytes for resourceParent.
-
getResourceProject
String getResourceProject()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
- Returns:
- The resourceProject.
-
getResourceProjectBytes
com.google.protobuf.ByteString getResourceProjectBytes()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
- Returns:
- The bytes for resourceProject.
-
getResourceOwnersList
List<String> getResourceOwnersList()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Returns:
- A list containing the resourceOwners.
-
getResourceOwnersCount
int getResourceOwnersCount()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Returns:
- The count of resourceOwners.
-
getResourceOwners
String getResourceOwners(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The resourceOwners at the given index.
-
getResourceOwnersBytes
com.google.protobuf.ByteString getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the resourceOwners at the given index.
-
-