GoogleCloudKmsInventoryV1ProtectedResourcesSummary.fromJson constructor
GoogleCloudKmsInventoryV1ProtectedResourcesSummary.fromJson(
- Map json_
Implementation
GoogleCloudKmsInventoryV1ProtectedResourcesSummary.fromJson(core.Map json_)
: this(
cloudProducts: json_.containsKey('cloudProducts')
? (json_['cloudProducts'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
locations: json_.containsKey('locations')
? (json_['locations'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
projectCount: json_.containsKey('projectCount')
? json_['projectCount'] as core.int
: null,
resourceCount: json_.containsKey('resourceCount')
? json_['resourceCount'] as core.String
: null,
resourceTypes: json_.containsKey('resourceTypes')
? (json_['resourceTypes'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);