KMS Inventory V1 API - Class Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary (v0.8.3)

Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary.

Aggregate information about the resources protected by a Cloud KMS key in the same Cloud organization as the key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_products

def cloud_products() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by Cloud product.

#cloud_products=

def cloud_products=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by Cloud product.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by Cloud product.

#locations

def locations() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by region.

#locations=

def locations=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by region.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by region.

#name

def name() -> ::String
Returns
  • (::String) — The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
Returns
  • (::String) — The full name of the ProtectedResourcesSummary resource. Example: projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary

#project_count

def project_count() -> ::Integer
Returns
  • (::Integer) — The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.

#project_count=

def project_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
Returns
  • (::Integer) — The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.

#resource_count

def resource_count() -> ::Integer
Returns
  • (::Integer) — The total number of protected resources in the same Cloud organization as the key.

#resource_count=

def resource_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The total number of protected resources in the same Cloud organization as the key.
Returns
  • (::Integer) — The total number of protected resources in the same Cloud organization as the key.

#resource_types

def resource_types() -> ::Google::Protobuf::Map{::String => ::Integer}
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by resource type.

#resource_types=

def resource_types=(value) -> ::Google::Protobuf::Map{::String => ::Integer}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by resource type.
Returns
  • (::Google::Protobuf::Map{::String => ::Integer}) — The number of resources protected by the key grouped by resource type.