Interface ProtectedResourcesSummaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProtectedResourcesSummary,ProtectedResourcesSummary.Builder
@Generated
public interface ProtectedResourcesSummaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.booleanThe number of resources protected by the key grouped by resource type.Deprecated.intThe number of resources protected by the key grouped by Cloud product.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.longThe number of resources protected by the key grouped by Cloud product.Deprecated.intThe number of resources protected by the key grouped by region.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.longThe number of resources protected by the key grouped by region.getName()The full name of the ProtectedResourcesSummary resource.com.google.protobuf.ByteStringThe full name of the ProtectedResourcesSummary resource.intThe number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.longThe total number of protected resources in the same Cloud organization as the key.Deprecated.intThe number of resources protected by the key grouped by resource type.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.longThe number of resources protected by the key grouped by resource type.getWarnings(int index) Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.intWarning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.getWarningsOrBuilder(int index) Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.List<? extends WarningOrBuilder>Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3; -
getResourceTypes
Deprecated.UsegetResourceTypesMap()instead. -
getResourceTypesMap
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3; -
getResourceTypesOrDefault
The number of resources protected by the key grouped by resource type.
map<string, int64> resource_types = 3; -
getResourceTypesOrThrow
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
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6; -
getCloudProducts
Deprecated.UsegetCloudProductsMap()instead. -
getCloudProductsMap
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6; -
getCloudProductsOrDefault
The number of resources protected by the key grouped by Cloud product.
map<string, int64> cloud_products = 6; -
getCloudProductsOrThrow
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
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4; -
getLocations
Deprecated.UsegetLocationsMap()instead. -
getLocationsMap
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4; -
getLocationsOrDefault
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4; -
getLocationsOrThrow
The number of resources protected by the key grouped by region.
map<string, int64> locations = 4; -
getWarningsList
Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7; -
getWarnings
Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7; -
getWarningsCount
int getWarningsCount()Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7; -
getWarningsOrBuilderList
List<? extends WarningOrBuilder> getWarningsOrBuilderList()Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7; -
getWarningsOrBuilder
Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
-