UpdatePersistentResourceRequest.fromJson constructor
UpdatePersistentResourceRequest.fromJson(
- Object? j
Implementation
factory UpdatePersistentResourceRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return UpdatePersistentResourceRequest(
persistentResource: switch (json['persistentResource']) {
null => null,
Object $1 => PersistentResource.fromJson($1),
},
updateMask: switch (json['updateMask']) {
null => null,
Object $1 => protobuf.FieldMask.fromJson($1),
},
);
}