public interface ProtectedResourcesSummaryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsCloudProducts(String key)
public abstract boolean containsCloudProducts(String key)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
Name | Description |
key | String |
Type | Description |
boolean |
containsLocations(String key)
public abstract boolean containsLocations(String key)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
Name | Description |
key | String |
Type | Description |
boolean |
containsResourceTypes(String key)
public abstract boolean containsResourceTypes(String key)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
Name | Description |
key | String |
Type | Description |
boolean |
getCloudProducts()
public abstract Map<String,Long> getCloudProducts()
Use #getCloudProductsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getCloudProductsCount()
public abstract int getCloudProductsCount()
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
Type | Description |
int |
getCloudProductsMap()
public abstract Map<String,Long> getCloudProductsMap()
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
Type | Description |
Map<String,java.lang.Long> |
getCloudProductsOrDefault(String key, long defaultValue)
public abstract long getCloudProductsOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getCloudProductsOrThrow(String key)
public abstract long getCloudProductsOrThrow(String key)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
Name | Description |
key | String |
Type | Description |
long |
getLocations()
public abstract Map<String,Long> getLocations()
Use #getLocationsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getLocationsCount()
public abstract int getLocationsCount()
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
Type | Description |
int |
getLocationsMap()
public abstract Map<String,Long> getLocationsMap()
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
Type | Description |
Map<String,java.lang.Long> |
getLocationsOrDefault(String key, long defaultValue)
public abstract long getLocationsOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getLocationsOrThrow(String key)
public abstract long getLocationsOrThrow(String key)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
Name | Description |
key | String |
Type | Description |
long |
getName()
public abstract String getName()
The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
string name = 5;
Type | Description |
ByteString | The bytes for name. |
getProjectCount()
public abstract int getProjectCount()
The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
int32 project_count = 2;
Type | Description |
int | The projectCount. |
getResourceCount()
public abstract long getResourceCount()
The total number of protected resources in the same Cloud organization as the key.
int64 resource_count = 1;
Type | Description |
long | The resourceCount. |
getResourceTypes()
public abstract Map<String,Long> getResourceTypes()
Use #getResourceTypesMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getResourceTypesCount()
public abstract int getResourceTypesCount()
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
Type | Description |
int |
getResourceTypesMap()
public abstract Map<String,Long> getResourceTypesMap()
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
Type | Description |
Map<String,java.lang.Long> |
getResourceTypesOrDefault(String key, long defaultValue)
public abstract long getResourceTypesOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getResourceTypesOrThrow(String key)
public abstract long getResourceTypesOrThrow(String key)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
Name | Description |
key | String |
Type | Description |
long |