UpdateDeploymentResourcePoolRequest.fromJson constructor

UpdateDeploymentResourcePoolRequest.fromJson(
  1. Object? j
)

Implementation

factory UpdateDeploymentResourcePoolRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return UpdateDeploymentResourcePoolRequest(
    deploymentResourcePool: switch (json['deploymentResourcePool']) {
      null => null,
      Object $1 => DeploymentResourcePool.fromJson($1),
    },
    updateMask: switch (json['updateMask']) {
      null => null,
      Object $1 => protobuf.FieldMask.fromJson($1),
    },
  );
}