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 Folder
getFolders(int index)
Contains a Folder message for each folder in the assets ancestry.int
getFoldersCount()
Contains a Folder message for each folder in the assets ancestry.List<Folder>
getFoldersList()
Contains a Folder message for each folder in the assets ancestry.FolderOrBuilder
getFoldersOrBuilder(int index)
Contains a Folder message for each folder in the assets ancestry.List<? extends FolderOrBuilder>
getFoldersOrBuilderList()
Contains a Folder message for each folder in the assets ancestry.String
getResourceDisplayName()
The user defined display name for this resource.com.google.protobuf.ByteString
getResourceDisplayNameBytes()
The user defined display name for this resource.String
getResourceName()
The full resource name of the Google Cloud resource this asset represents.com.google.protobuf.ByteString
getResourceNameBytes()
The full resource name of the Google Cloud resource this asset represents.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
getResourceParentDisplayName()
The user defined display name for the parent of this resource.com.google.protobuf.ByteString
getResourceParentDisplayNameBytes()
The user defined display name for the parent of this 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
getResourceProjectDisplayName()
The user defined display name for the project of this resource.com.google.protobuf.ByteString
getResourceProjectDisplayNameBytes()
The user defined display name for the project of this resource.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()
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;
- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
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;
- 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.
-
getResourceDisplayName
String getResourceDisplayName()
The user defined display name for this resource.
string resource_display_name = 6;
- Returns:
- The resourceDisplayName.
-
getResourceDisplayNameBytes
com.google.protobuf.ByteString getResourceDisplayNameBytes()
The user defined display name for this resource.
string resource_display_name = 6;
- Returns:
- The bytes for resourceDisplayName.
-
getResourceParentDisplayName
String getResourceParentDisplayName()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Returns:
- The resourceParentDisplayName.
-
getResourceParentDisplayNameBytes
com.google.protobuf.ByteString getResourceParentDisplayNameBytes()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Returns:
- The bytes for resourceParentDisplayName.
-
getResourceProjectDisplayName
String getResourceProjectDisplayName()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Returns:
- The resourceProjectDisplayName.
-
getResourceProjectDisplayNameBytes
com.google.protobuf.ByteString getResourceProjectDisplayNameBytes()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Returns:
- The bytes for resourceProjectDisplayName.
-
getFoldersList
List<Folder> getFoldersList()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-
getFolders
Folder getFolders(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-
getFoldersCount
int getFoldersCount()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-
getFoldersOrBuilderList
List<? extends FolderOrBuilder> getFoldersOrBuilderList()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-
getFoldersOrBuilder
FolderOrBuilder getFoldersOrBuilder(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1p1beta1.Folder folders = 10;
-
-