GoogleCloudSecuritycenterV1ResourceApplicationAttributes.fromJson constructor
GoogleCloudSecuritycenterV1ResourceApplicationAttributes.fromJson(
- Map json_
Implementation
GoogleCloudSecuritycenterV1ResourceApplicationAttributes.fromJson(
core.Map json_,
) : this(
businessOwners: (json_['businessOwners'] as core.List?)
?.map(
(value) =>
GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
criticality: json_.containsKey('criticality')
? GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality.fromJson(
json_['criticality'] as core.Map<core.String, core.dynamic>,
)
: null,
developerOwners: (json_['developerOwners'] as core.List?)
?.map(
(value) =>
GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
environment: json_.containsKey('environment')
? GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment.fromJson(
json_['environment'] as core.Map<core.String, core.dynamic>,
)
: null,
operatorOwners: (json_['operatorOwners'] as core.List?)
?.map(
(value) =>
GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);