Class: Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary
- Inherits:
-
Object
- Object
- Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb
Overview
Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization as the key.
Defined Under Namespace
Classes: CloudProductsEntry, LocationsEntry, ResourceTypesEntry
Instance Attribute Summary collapse
-
#cloud_products ⇒ ::Google::Protobuf::Map{::String => ::Integer}
The number of resources protected by the key grouped by Cloud product.
-
#locations ⇒ ::Google::Protobuf::Map{::String => ::Integer}
The number of resources protected by the key grouped by region.
-
#name ⇒ ::String
The full name of the ProtectedResourcesSummary resource.
-
#project_count ⇒ ::Integer
The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
-
#resource_count ⇒ ::Integer
The total number of protected resources in the same Cloud organization as the key.
-
#resource_types ⇒ ::Google::Protobuf::Map{::String => ::Integer}
The number of resources protected by the key grouped by resource type.
Instance Attribute Details
#cloud_products ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns The number of resources protected by the key grouped by Cloud product.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#locations ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns The number of resources protected by the key grouped by region.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#project_count ⇒ ::Integer
Returns The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resource_count ⇒ ::Integer
Returns The total number of protected resources in the same Cloud organization as the key.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resource_types ⇒ ::Google::Protobuf::Map{::String => ::Integer}
Returns The number of resources protected by the key grouped by resource type.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 60 class ProtectedResourcesSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class ResourceTypesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class CloudProductsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Integer] class LocationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |