Interface Asset.SecurityCenterPropertiesOrBuilder

public static interface Asset.SecurityCenterPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFolders(int index)

public abstract 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.v1.Folder folders = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Folder

getFoldersCount()

public abstract 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.v1.Folder folders = 10;

Returns
TypeDescription
int

getFoldersList()

public abstract 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.v1.Folder folders = 10;

Returns
TypeDescription
List<Folder>

getFoldersOrBuilder(int index)

public abstract 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.v1.Folder folders = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
FolderOrBuilder

getFoldersOrBuilderList()

public abstract 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.v1.Folder folders = 10;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.FolderOrBuilder>

getResourceDisplayName()

public abstract String getResourceDisplayName()

The user defined display name for this resource.

string resource_display_name = 6;

Returns
TypeDescription
String

The resourceDisplayName.

getResourceDisplayNameBytes()

public abstract ByteString getResourceDisplayNameBytes()

The user defined display name for this resource.

string resource_display_name = 6;

Returns
TypeDescription
ByteString

The bytes for resourceDisplayName.

getResourceName()

public abstract 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
TypeDescription
String

The resourceName.

getResourceNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for resourceName.

getResourceOwners(int index)

public abstract String getResourceOwners(int index)

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourceOwners at the given index.

getResourceOwnersBytes(int index)

public abstract ByteString getResourceOwnersBytes(int index)

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourceOwners at the given index.

getResourceOwnersCount()

public abstract int getResourceOwnersCount()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
TypeDescription
int

The count of resourceOwners.

getResourceOwnersList()

public abstract List<String> getResourceOwnersList()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
TypeDescription
List<String>

A list containing the resourceOwners.

getResourceParent()

public abstract 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
TypeDescription
String

The resourceParent.

getResourceParentBytes()

public abstract 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
TypeDescription
ByteString

The bytes for resourceParent.

getResourceParentDisplayName()

public abstract String getResourceParentDisplayName()

The user defined display name for the parent of this resource.

string resource_parent_display_name = 7;

Returns
TypeDescription
String

The resourceParentDisplayName.

getResourceParentDisplayNameBytes()

public abstract ByteString getResourceParentDisplayNameBytes()

The user defined display name for the parent of this resource.

string resource_parent_display_name = 7;

Returns
TypeDescription
ByteString

The bytes for resourceParentDisplayName.

getResourceProject()

public abstract 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
TypeDescription
String

The resourceProject.

getResourceProjectBytes()

public abstract 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
TypeDescription
ByteString

The bytes for resourceProject.

getResourceProjectDisplayName()

public abstract String getResourceProjectDisplayName()

The user defined display name for the project of this resource.

string resource_project_display_name = 8;

Returns
TypeDescription
String

The resourceProjectDisplayName.

getResourceProjectDisplayNameBytes()

public abstract ByteString getResourceProjectDisplayNameBytes()

The user defined display name for the project of this resource.

string resource_project_display_name = 8;

Returns
TypeDescription
ByteString

The bytes for resourceProjectDisplayName.

getResourceType()

public abstract 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
TypeDescription
String

The resourceType.

getResourceTypeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for resourceType.