DeploymentResourcePool.fromJson constructor
DeploymentResourcePool.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DeploymentResourcePool.fromJson(Map<String, dynamic> json) {
return DeploymentResourcePool(
name: json['name'] ?? '',
dedicatedResources: decode(
json['dedicatedResources'],
DedicatedResources.fromJson,
),
encryptionSpec: decode(json['encryptionSpec'], EncryptionSpec.fromJson),
serviceAccount: json['serviceAccount'] ?? '',
disableContainerLogging: json['disableContainerLogging'] ?? false,
createTime: decodeCustom(json['createTime'], protobuf.Timestamp.fromJson),
satisfiesPzs: json['satisfiesPzs'] ?? false,
satisfiesPzi: json['satisfiesPzi'] ?? false,
);
}