Interface Asset.SecurityCenterPropertiesOrBuilder (2.56.0)

public static interface Asset.SecurityCenterPropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceName()

public abstract 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
Type Description
String

The resourceName.

getResourceNameBytes()

public abstract 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
Type Description
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
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 abstract 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 abstract int getResourceOwnersCount()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
Type Description
int

The count of resourceOwners.

getResourceOwnersList()

public abstract List<String> getResourceOwnersList()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for resourceParent.

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
Type Description
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
Type Description
ByteString

The bytes for resourceProject.

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
Type Description
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
Type Description
ByteString

The bytes for resourceType.