Interface ProtectedResourcesSummaryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProtectedResourcesSummary,ProtectedResourcesSummary.Builder
public interface ProtectedResourcesSummaryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsCloudProducts(String key)The number of resources protected by the key grouped by Cloud product.booleancontainsLocations(String key)The number of resources protected by the key grouped by region.booleancontainsResourceTypes(String key)The number of resources protected by the key grouped by resource type.Map<String,Long>getCloudProducts()Deprecated.intgetCloudProductsCount()The number of resources protected by the key grouped by Cloud product.Map<String,Long>getCloudProductsMap()The number of resources protected by the key grouped by Cloud product.longgetCloudProductsOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by Cloud product.longgetCloudProductsOrThrow(String key)The number of resources protected by the key grouped by Cloud product.Map<String,Long>getLocations()Deprecated.intgetLocationsCount()The number of resources protected by the key grouped by region.Map<String,Long>getLocationsMap()The number of resources protected by the key grouped by region.longgetLocationsOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by region.longgetLocationsOrThrow(String key)The number of resources protected by the key grouped by region.StringgetName()The full name of the ProtectedResourcesSummary resource.com.google.protobuf.ByteStringgetNameBytes()The full name of the ProtectedResourcesSummary resource.intgetProjectCount()The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.longgetResourceCount()The total number of protected resources in the same Cloud organization as the key.Map<String,Long>getResourceTypes()Deprecated.intgetResourceTypesCount()The number of resources protected by the key grouped by resource type.Map<String,Long>getResourceTypesMap()The number of resources protected by the key grouped by resource type.longgetResourceTypesOrDefault(String key, long defaultValue)The number of resources protected by the key grouped by resource type.longgetResourceTypesOrThrow(String key)The number of resources protected by the key grouped by resource type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;- Returns:
- The bytes for name.
-
getResourceCount
long getResourceCount()
The total number of protected resources in the same Cloud organization as the key.
int64 resource_count = 1;- Returns:
- The resourceCount.
-
getProjectCount
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;- Returns:
- The projectCount.
-
getResourceTypesCount
int getResourceTypesCount()
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
-
containsResourceTypes
boolean containsResourceTypes(String key)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
-
getResourceTypes
@Deprecated Map<String,Long> getResourceTypes()
Deprecated.UsegetResourceTypesMap()instead.
-
getResourceTypesMap
Map<String,Long> getResourceTypesMap()
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
-
getResourceTypesOrDefault
long getResourceTypesOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
-
getResourceTypesOrThrow
long getResourceTypesOrThrow(String key)
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3;
-
getCloudProductsCount
int getCloudProductsCount()
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
-
containsCloudProducts
boolean containsCloudProducts(String key)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
-
getCloudProducts
@Deprecated Map<String,Long> getCloudProducts()
Deprecated.UsegetCloudProductsMap()instead.
-
getCloudProductsMap
Map<String,Long> getCloudProductsMap()
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
-
getCloudProductsOrDefault
long getCloudProductsOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
-
getCloudProductsOrThrow
long getCloudProductsOrThrow(String key)
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6;
-
getLocationsCount
int getLocationsCount()
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
-
containsLocations
boolean containsLocations(String key)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
-
getLocations
@Deprecated Map<String,Long> getLocations()
Deprecated.UsegetLocationsMap()instead.
-
getLocationsMap
Map<String,Long> getLocationsMap()
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
-
getLocationsOrDefault
long getLocationsOrDefault(String key, long defaultValue)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
-
getLocationsOrThrow
long getLocationsOrThrow(String key)
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4;
-
-